[39339] trunk/dports/devel
gwright at macports.org
gwright at macports.org
Mon Aug 18 07:04:35 PDT 2008
Revision: 39339
http://trac.macosforge.org/projects/macports/changeset/39339
Author: gwright at macports.org
Date: 2008-08-18 07:04:34 -0700 (Mon, 18 Aug 2008)
Log Message:
-----------
New port, hs-HTTP build version 3001.0.4 of the haskell
client side HTTP library. Used by hs-cabal.
Added Paths:
-----------
trunk/dports/devel/hs-HTTP/
trunk/dports/devel/hs-HTTP/Portfile
Added: trunk/dports/devel/hs-HTTP/Portfile
===================================================================
--- trunk/dports/devel/hs-HTTP/Portfile (rev 0)
+++ trunk/dports/devel/hs-HTTP/Portfile 2008-08-18 14:04:34 UTC (rev 39339)
@@ -0,0 +1,40 @@
+# $Id: Portfile 32770 2008-01-13 10:44:28Z ryandesign at macports.org $
+
+PortSystem 1.0
+
+name hs-HTTP
+set shortname HTTP
+version 3001.0.4
+categories devel
+maintainers nomaintainer
+platforms darwin
+
+description Haskell client side HTTP library
+long_description \
+ Haskell's HTTP package contains updated versions of \
+ 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/${shortname}/${version}
+distname ${shortname}-${version}
+
+checksums md5 2cab180e319a4d7db25832cfa57cfbc5 \
+ sha1 b08a2440b31e89fb75191593d98fe4c12c6cc0b0 \
+ rmd160 322bd3d7e77d78737812652a1dcd44d687f85306
+
+depends_build port:ghc
+
+configure { system "cd ${worksrcpath} && runhaskell Setup configure --ghc --prefix=${prefix}"
+ }
+
+build { system "cd ${worksrcpath} && runhaskell Setup build"
+ }
+
+destroot { system "cd ${worksrcpath} && runhaskell Setup copy --copy-prefix=${destroot}${prefix}"
+ }
+
+post-activate { catch {system "cd ${worksrcpath} && runhaskell Setup unregister"}
+ system "cd ${worksrcpath} && runhaskell Setup register"
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080818/3fedef5e/attachment.html
More information about the macports-changes
mailing list