[64795] trunk/dports/devel/hs-Crypto/Portfile
gwright at macports.org
gwright at macports.org
Mon Mar 15 12:44:38 PDT 2010
Revision: 64795
http://trac.macports.org/changeset/64795
Author: gwright at macports.org
Date: 2010-03-15 12:44:38 -0700 (Mon, 15 Mar 2010)
Log Message:
-----------
Version bump to 4.2.1.
Modified Paths:
--------------
trunk/dports/devel/hs-Crypto/Portfile
Modified: trunk/dports/devel/hs-Crypto/Portfile
===================================================================
--- trunk/dports/devel/hs-Crypto/Portfile 2010-03-15 19:39:58 UTC (rev 64794)
+++ trunk/dports/devel/hs-Crypto/Portfile 2010-03-15 19:44:38 UTC (rev 64795)
@@ -2,10 +2,8 @@
PortSystem 1.0
-name hs-Crypto
-set canonicalname Crypto
-version 4.1.0
-categories devel haskell
+PortGroup haskell 1.0
+haskell.setup Crypto 4.2.1
maintainers nomaintainer
platforms darwin
@@ -18,38 +16,17 @@
interwork with other cryptographic implementations \
and examples showing how to handle other ASN.1 definitions.
-homepage http://hackage.haskell.org/
-master_sites ${homepage}/packages/archive/${canonicalname}/${version}/
-distname ${canonicalname}-${version}
+checksums md5 ac62cbabb51710c42643a3a3fee83c4c \
+ sha1 be675ef466b035855aef028f7b3a7f9dc5c021e0 \
+ rmd160 ec114f02fae4c28be2b78e117cd6fca50685c9e5
-checksums md5 d19377c8ad518d2aff338a89507809a7 \
- sha1 5ba9c270fe445a8011dd89052d28754a06f9454a \
- rmd160 d7f4ccc8e7071a591ccb18da765bd037cd4b28b8
+universal_variant no
-depends_build port:ghc
+depends_lib port:hs-platform-HUnit \
+ port:hs-QuickCheck
-configure { system "cd ${worksrcpath} && runhaskell Setup configure --ghc --prefix=${prefix} --with-compiler=${prefix}/bin/ghc --enable-library-profiling"
- }
+configure.args-append --enable-library-profiling -v \
+ --with-gcc=${configure.cc}
-build { system "cd ${worksrcpath} && runhaskell Setup build -v"
- }
+build.args-append -v
-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/20100315/66f14c99/attachment.html>
More information about the macports-changes
mailing list