[45389] trunk/dports/devel
blb at macports.org
blb at macports.org
Wed Jan 14 21:14:01 PST 2009
Revision: 45389
http://trac.macports.org/changeset/45389
Author: blb at macports.org
Date: 2009-01-14 21:14:01 -0800 (Wed, 14 Jan 2009)
Log Message:
-----------
Multiple ports - convert my haskell package ports to use the new haskell
port group from r45388
Modified Paths:
--------------
trunk/dports/devel/hs-digest/Portfile
trunk/dports/devel/hs-utf8-string/Portfile
trunk/dports/devel/hs-zip-archive/Portfile
Modified: trunk/dports/devel/hs-digest/Portfile
===================================================================
--- trunk/dports/devel/hs-digest/Portfile 2009-01-15 05:12:50 UTC (rev 45388)
+++ trunk/dports/devel/hs-digest/Portfile 2009-01-15 05:14:01 UTC (rev 45389)
@@ -1,10 +1,8 @@
# $Id$
PortSystem 1.0
-name hs-digest
-set canonicalname digest
-version 0.0.0.1
-categories devel haskell
+PortGroup haskell 1.0
+haskell.setup digest 0.0.0.1
maintainers blb openmaintainer
description Cryptographic hash implementations
long_description \
@@ -14,40 +12,7 @@
platforms darwin
-homepage http://hackage.haskell.org
-master_sites ${homepage}/packages/archive/${canonicalname}/${version}
-distname ${canonicalname}-${version}
-
checksums md5 e65ada5324ef509b1e59734d0868caf7 \
sha1 08906c2bffe3f2d296176ec276140346dcdcc377 \
rmd160 45ca4a52226c38d6281f0adbea1faaa819b61a30
-depends_build port:ghc
-
-configure.cmd runhaskell
-configure.pre_args
-configure.args Setup configure --prefix=${prefix} --with-compiler=${prefix}/bin/ghc
-
-build.cmd runhaskell
-build.args Setup build
-build.target
-
-destroot.cmd runhaskell
-destroot.destdir
-destroot.target Setup copy --destdir=${destroot}
-post-destroot {
- system "cd ${worksrcpath} && runhaskell Setup register --gen-script"
- system "cd ${worksrcpath} && runhaskell Setup unregister --gen-script"
- xinstall -m 755 -d ${destroot}${prefix}/libexec/${name}
- xinstall -m 755 -W ${worksrcpath} register.sh unregister.sh \
- ${destroot}${prefix}/libexec/${name}
-}
-
-post-activate {
- system "${prefix}/libexec/${name}/register.sh"
-}
-
-#pre-deactivate {
-# system "${prefix}/libexec/${name}/unregister.sh"
-#}
-
Modified: trunk/dports/devel/hs-utf8-string/Portfile
===================================================================
--- trunk/dports/devel/hs-utf8-string/Portfile 2009-01-15 05:12:50 UTC (rev 45388)
+++ trunk/dports/devel/hs-utf8-string/Portfile 2009-01-15 05:14:01 UTC (rev 45389)
@@ -1,10 +1,8 @@
# $Id$
PortSystem 1.0
-name hs-utf8-string
-set canonicalname utf8-string
-version 0.3.3
-categories devel haskell
+PortGroup haskell 1.0
+haskell.setup utf8-string 0.3.3
maintainers blb openmaintainer
description UTF8 layer for IO and Strings
long_description \
@@ -13,40 +11,7 @@
platforms darwin
-homepage http://hackage.haskell.org
-master_sites ${homepage}/packages/archive/${canonicalname}/${version}
-distname ${canonicalname}-${version}
-
checksums md5 f311e85aebccffb272ebf3bd49a28c8f \
sha1 dd99f348a4da7d6c4a3245c538ed3b8ebe0fbe58 \
rmd160 d9dfccdff9a93f0a2cf4453bb1d595ab8da57759
-depends_build port:ghc
-
-configure.cmd runhaskell
-configure.pre_args
-configure.args Setup configure --prefix=${prefix} --with-compiler=${prefix}/bin/ghc
-
-build.cmd runhaskell
-build.args Setup build
-build.target
-
-destroot.cmd runhaskell
-destroot.destdir
-destroot.target Setup copy --destdir=${destroot}
-post-destroot {
- system "cd ${worksrcpath} && runhaskell Setup register --gen-script"
- system "cd ${worksrcpath} && runhaskell Setup unregister --gen-script"
- xinstall -m 755 -d ${destroot}${prefix}/libexec/${name}
- xinstall -m 755 -W ${worksrcpath} register.sh unregister.sh \
- ${destroot}${prefix}/libexec/${name}
-}
-
-post-activate {
- system "${prefix}/libexec/${name}/register.sh"
-}
-
-#pre-deactivate {
-# system "${prefix}/libexec/${name}/unregister.sh"
-#}
-
Modified: trunk/dports/devel/hs-zip-archive/Portfile
===================================================================
--- trunk/dports/devel/hs-zip-archive/Portfile 2009-01-15 05:12:50 UTC (rev 45388)
+++ trunk/dports/devel/hs-zip-archive/Portfile 2009-01-15 05:14:01 UTC (rev 45389)
@@ -1,10 +1,8 @@
# $Id$
PortSystem 1.0
-name hs-zip-archive
-set canonicalname zip-archive
-version 0.1.1.3
-categories devel haskell
+PortGroup haskell 1.0
+haskell.setup zip-archive 0.1.1.3
maintainers blb openmaintainer
description Zip archive access for Haskell
long_description \
@@ -13,42 +11,9 @@
platforms darwin
-homepage http://hackage.haskell.org
-master_sites ${homepage}/packages/archive/${canonicalname}/${version}
-distname ${canonicalname}-${version}
-
checksums md5 edf3924c929b5592b1b9dbf4853b754f \
sha1 cbba0a5d2bc5efdb3ae6601cb6be3a1a49851609 \
rmd160 c4350e34d0a4e62a37880bc23d2bba7c5565b4d8
-depends_build port:ghc
-
depends_lib port:hs-binary port:hs-digest port:hs-zlib
-configure.cmd runhaskell
-configure.pre_args
-configure.args Setup configure --prefix=${prefix} --with-compiler=${prefix}/bin/ghc
-
-build.cmd runhaskell
-build.args Setup build
-build.target
-
-destroot.cmd runhaskell
-destroot.destdir
-destroot.target Setup copy --destdir=${destroot}
-post-destroot {
- system "cd ${worksrcpath} && runhaskell Setup register --gen-script"
- system "cd ${worksrcpath} && runhaskell Setup unregister --gen-script"
- xinstall -m 755 -d ${destroot}${prefix}/libexec/${name}
- xinstall -m 755 -W ${worksrcpath} register.sh 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/20090114/0f8cfd58/attachment.html>
More information about the macports-changes
mailing list