[51209] trunk/dports/devel/hs-HTTP/Portfile
gwright at macports.org
gwright at macports.org
Wed May 20 13:06:46 PDT 2009
Revision: 51209
http://trac.macports.org/changeset/51209
Author: gwright at macports.org
Date: 2009-05-20 13:06:45 -0700 (Wed, 20 May 2009)
Log Message:
-----------
Version bump to 4000.0.6; use PortGroup haskell.
Modified Paths:
--------------
trunk/dports/devel/hs-HTTP/Portfile
Modified: trunk/dports/devel/hs-HTTP/Portfile
===================================================================
--- trunk/dports/devel/hs-HTTP/Portfile 2009-05-20 20:01:38 UTC (rev 51208)
+++ trunk/dports/devel/hs-HTTP/Portfile 2009-05-20 20:06:45 UTC (rev 51209)
@@ -2,10 +2,8 @@
PortSystem 1.0
-name hs-HTTP
-set canonicalname HTTP
-version 3001.1.4
-categories devel haskell
+PortGroup haskell 1.0
+haskell.setup HTTP 4000.0.6
maintainers nomaintainer
platforms darwin
@@ -15,35 +13,11 @@
Warrick Gray's excellent Haskell HTTP and Browser \
modules.
-set hackage http://hackage.haskell.org
-homepage http://www.haskell.org/http
-master_sites ${hackage}/packages/archive/${canonicalname}/${version}
-distname ${canonicalname}-${version}
+checksums md5 cc8d3279f3b20856b7b915045f1e908b \
+ sha1 958f60f6d30e33fa67803ba75a27e07ad262f6b4 \
+ rmd160 fab97b27ea5486a02ec31cf9489c4f2190f35705
-checksums md5 0ed9b7b8e24645e1a0223771863f2a5c \
- sha1 e263405a923ebb0c39878fa973595cc7aba4f660 \
- rmd160 7b7ed6224f02eba13b53b1da409d23f92ac6484c
+configure.args-append --enable-library-profiling
-depends_build port:ghc
+build.args-append -v
-configure { system "cd ${worksrcpath} && runhaskell Setup configure --ghc --prefix=${prefix} --with-compiler=${prefix}/bin/ghc --enable-library-profiling"
- }
-
-build { system "cd ${worksrcpath} && runhaskell Setup build"
- }
-
-destroot { system "cd ${worksrcpath} && runhaskell Setup copy --copy-prefix=${destroot}${prefix}"
- system "cd ${worksrcpath} && runhaskell Setup register --gen-script"
- system "cd ${worksrcpath} && runhaskell Setup unregister --gen-script"
-
- file mkdir ${destroot}${prefix}/libexec/${name}
- file copy ${worksrcpath}/register.sh \
- ${destroot}${prefix}/libexec/${name}
- file copy ${worksrcpath}/unregister.sh \
- ${destroot}${prefix}/libexec/${name}
- }
-
-post-activate { system "${prefix}/libexec/${name}/register.sh" }
-
-#pre-deactivate { system "${prefix}/libexec/${name}/unregister.sh" }
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090520/816160cc/attachment-0001.html>
More information about the macports-changes
mailing list