Ticket #16504: hs-plugins-1.3.diff
File hs-plugins-1.3.diff, 1.9 KB (added by ryandesign (Ryan Carsten Schmidt), 16 years ago) |
---|
-
Portfile
2 2 3 3 PortSystem 1.0 4 4 name hs-plugins 5 version 20050407 6 revision 1 7 epoch 20050407 5 version 1.3 6 epoch 20080825 8 7 categories devel 9 8 maintainers nomaintainer 10 9 platforms darwin 11 10 12 #bugs Now builds from a snapshot to be compatible with13 # ghc-6.4. The previous 0.9.8 release was incompatible14 # with the new library packing system introduced with15 # 6.4, the Common Architecture for Builing Applications16 # and Libraries (Cabal). Will track releases again once17 # support for ghc-6.4 is introduced.18 19 11 description A plugin library for Haskell 20 12 long_description \ 21 13 hs-plugins was originally designed as a system \ … … 23 15 in existence (particularly mutt and vim) but developed \ 24 16 to be very suitable for plugins in general. 25 17 26 homepage http:// www.cse.unsw.edu.au/~dons/hs-plugins/hs-plugins.html27 master_sites ftp://ftp.cse.unsw.edu.au/pub/users/dons/hs-plugins/snapshots18 homepage http://hackage.haskell.org/cgi-bin/hackage-scripts/package/plugins 19 master_sites http://hackage.haskell.org/packages/archive/plugins/${version}/ 28 20 29 checksums md5 c53af7d0563a8473da41c940e20922f3 21 checksums md5 c95cd2a6d5fea80845dbb30d52e731ef \ 22 sha1 eba8e657c06c5ee70b15191c55a6a1b8e3edab9e \ 23 rmd160 17a614e90f7df5a21abfa2b1fbdf112a3de5ae46 30 24 31 d epends_build bin:ghc:ghc25 distname plugins-${version} 32 26 33 use_autoconf yes 27 post-extract { 28 file attributes ${worksrcpath}/Setup.lhs -permissions +x 29 } 34 30 35 destroot.destdir PREFIX=${destroot}${prefix} 31 configure.cmd "./Setup.lhs configure" 36 32 33 build.cmd ./Setup.lhs 34 build.target build 35 36 depends_build path:${prefix}/bin/ghc:ghc 37 38 destroot.target copy 39 destroot.destdir --copy-prefix=${destroot}${prefix} 40 37 41 post-activate { cd ${worksrcpath} 38 42 39 43 # start by unregistering old versions