[40762] trunk/dports/devel/hs-parsedate/Portfile
gwright at macports.org
gwright at macports.org
Tue Oct 14 00:29:35 PDT 2008
Revision: 40762
http://trac.macports.org/changeset/40762
Author: gwright at macports.org
Date: 2008-10-14 00:29:34 -0700 (Tue, 14 Oct 2008)
Log Message:
-----------
Version bump to 3000.0.0.
Modified Paths:
--------------
trunk/dports/devel/hs-parsedate/Portfile
Modified: trunk/dports/devel/hs-parsedate/Portfile
===================================================================
--- trunk/dports/devel/hs-parsedate/Portfile 2008-10-14 07:25:06 UTC (rev 40761)
+++ trunk/dports/devel/hs-parsedate/Portfile 2008-10-14 07:29:34 UTC (rev 40762)
@@ -2,9 +2,9 @@
PortSystem 1.0
name hs-parsedate
-version 2006.11.10
-distname parsedate-${version}
-categories devel
+set canonicalname parsedate
+version 3000.0.0
+categories devel haskell
maintainers nomaintainer
description The parsedate library for Haskell
long_description \
@@ -12,30 +12,31 @@
times given a date format string.
homepage http://www.cs.chalmers.se/~bringert/darcs/parsedate/doc/
-master_sites http://hackage.haskell.org/packages/archive/parsedate/${version}
-checksums md5 371c62793961add3e3aa46e0a40b5675
+master_sites http://hackage.haskell.org/packages/archive/${canonicalname}/${version}
+distname ${canonicalname}-${version}
+checksums md5 cddd2fce4584460a91dadc3e77048bf6 \
+ sha1 61e1abc896de90d7cae15f26487e6731bc525778 \
+ rmd160 6aa581e2e7cd7cfc2ae04858b5b977408d02fa31
+
depends_build port:ghc
-configure {
- system "cd ${worksrcpath} && runghc Setup.hs configure --prefix=${prefix}"
-}
+configure { system "cd ${worksrcpath} && runhaskell Setup configure --ghc --prefix=${prefix} --with-compiler=${prefix}/bin/ghc --enable-library-profiling"
+ }
-build {
- system "cd ${worksrcpath} && runghc Setup.hs build"
-}
+build { system "cd ${worksrcpath} && runhaskell Setup build -v"
+ }
-destroot {
- system "cd ${worksrcpath} && runghc Setup.hs copy --copy-prefix=${destroot}${prefix}"
- system "cd ${worksrcpath} && runghc Setup.hs register --gen-script"
- system "cd ${worksrcpath} && runghc Setup.hs unregister --gen-script"
+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}
-}
+ 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" }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20081014/ecb7752c/attachment.html
More information about the macports-changes
mailing list