[64847] trunk/dports/devel/hs-binary/Portfile

gwright at macports.org gwright at macports.org
Tue Mar 16 07:37:03 PDT 2010


Revision: 64847
          http://trac.macports.org/changeset/64847
Author:   gwright at macports.org
Date:     2010-03-16 07:37:03 -0700 (Tue, 16 Mar 2010)
Log Message:
-----------
Version bump to support darcs 2.4.

Modified Paths:
--------------
    trunk/dports/devel/hs-binary/Portfile

Modified: trunk/dports/devel/hs-binary/Portfile
===================================================================
--- trunk/dports/devel/hs-binary/Portfile	2010-03-16 14:33:51 UTC (rev 64846)
+++ trunk/dports/devel/hs-binary/Portfile	2010-03-16 14:37:03 UTC (rev 64847)
@@ -2,51 +2,28 @@
 
 PortSystem 1.0
 
-name		hs-binary
-set canonicalname	binary
-version		0.4.4
-categories	devel haskell
+PortGroup	haskell 1.0
+haskell.setup	binary 0.5.0.2
 maintainers	nomaintainer
 platforms	darwin
 
-description	Binary serialisation for Haskell values using lazy ByteStrings
+description	Binary serialization for haskell values
 long_description	\
-		Efficient, pure binary serialisation using lazy ByteStrings.	\
-		Haskell values may be encoded to and from binary formats,	\
-		written to disk as binary, or sent over the network.		\
-		Serialisation speeds of over 1 G/sec have been observed,	\
-		so this library should be suitable for high performance		\
-		scenarios.
+	Efficient, pure binary serialisation using lazy ByteStrings.	\
+	Haskell values may be encoded to and from binary formats,	\
+	written to disk as binary, or sent over the network.		\
+	Serialisation speeds of over 1 G/sec have been observed, so	\
+	this library should be suitable for high performance scenarios. 
 
-set hackage	http://hackage.haskell.org/packages/archive
-homepage	http://code.haskell.org/${canonicalname}
-master_sites	${hackage}/${canonicalname}/${version}
-distname	${canonicalname}-${version}
+checksums	md5     6bf8f3d1441602c9ab09a75e3bd6e926 \
+		sha1    bb680c03dbae2765e14d91376440b762bb4b65a4 \
+		rmd160  a4bb4be2071e33a2c43fea4c1fa6f103733c0753
 
-checksums	md5     48fc6454e82e0aec7f648be107bfc0b8 \
-		sha1    45a58bb317bd946301ef6ab17d966891f73b72c5 \
-		rmd160  63a3f68587023a29226ce42a1aa37a4af906d8a2
+depends_lib	port:ghc
 
-depends_build	port:ghc
+universal_variant	no
 
-configure       { system "cd ${worksrcpath} && runhaskell Setup configure --ghc --prefix=${prefix} --with-compiler=${prefix}/bin/ghc --enable-library-profiling"
-                }
+configure.args-append	-v --enable-library-profiling	\
+			--with-gcc=${configure.cc}
 
-build           { system "cd ${worksrcpath} && runhaskell Setup build -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" }
-
+build.args-append     -v
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100316/9b1b2bad/attachment.html>


More information about the macports-changes mailing list