[39338] trunk/dports/devel/hs-zlib/Portfile
gwright at macports.org
gwright at macports.org
Mon Aug 18 07:03:23 PDT 2008
Revision: 39338
http://trac.macosforge.org/projects/macports/changeset/39338
Author: gwright at macports.org
Date: 2008-08-18 07:03:22 -0700 (Mon, 18 Aug 2008)
Log Message:
-----------
Version bump to 0.4.0.4.
Modified Paths:
--------------
trunk/dports/devel/hs-zlib/Portfile
Modified: trunk/dports/devel/hs-zlib/Portfile
===================================================================
--- trunk/dports/devel/hs-zlib/Portfile 2008-08-18 13:46:29 UTC (rev 39337)
+++ trunk/dports/devel/hs-zlib/Portfile 2008-08-18 14:03:22 UTC (rev 39338)
@@ -1,9 +1,10 @@
# $Id$
PortSystem 1.0
+
name hs-zlib
set shortname zlib
-version 0.2
+version 0.4.0.4
categories devel
maintainers nomaintainer
platforms darwin
@@ -14,38 +15,26 @@
and decompression in gzip and zlib format. The library \
acts directly on ByteString values.
-homepage http://www.haskell.org/~duncan/zlib
-master_sites ${homepage}
-distname ${shortname}
+homepage http://hackage.haskell.org
+master_sites ${homepage}/packages/archive/${shortname}/${version}
+distname ${shortname}-${version}
-set worksrcdir ${shortname}
+checksums md5 414eecee79df7f90f5d51baa335dcca8 \
+ sha1 b031c719091a7a26b7486a8b64bb2b2715365df2 \
+ rmd160 a3e2a50d30c1f98232156438555384c4cbe175a1
-fetch { system "cd ${workpath} && ${prefix}/bin/darcs get --partial ${homepage}"
- }
-
-extract { }
-
-checksum { }
-
-
-depends_build port:ghc \
- port:darcs
-
+depends_build port:ghc
depends_lib port:zlib
-configure { reinplace "s|base.*fps|base|" ${worksrcpath}/zlib.cabal
- system "cd ${worksrcpath} && runghc Setup configure --ghc --prefix=${prefix}"
+configure { system "cd ${worksrcpath} && runhaskell Setup configure --ghc --prefix=${prefix}"
}
-build { system "cd ${worksrcpath} && runghc Setup build"
+build { system "cd ${worksrcpath} && runhaskell Setup build"
}
-destroot { system "cd ${worksrcpath} && runghc Setup copy --copy-prefix=${destroot}${prefix}"
+destroot { system "cd ${worksrcpath} && runhaskell Setup copy --copy-prefix=${destroot}${prefix}"
}
-post-activate { catch {system "cd ${worksrcpath} && runghc Setup unregister"}
- system "cd ${worksrcpath} && runghc Setup register"
+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/23bb21b6/attachment.html
More information about the macports-changes
mailing list