[64933] trunk/dports/devel/hs-dlist/Portfile

gwright at macports.org gwright at macports.org
Wed Mar 17 16:21:06 PDT 2010


Revision: 64933
          http://trac.macports.org/changeset/64933
Author:   gwright at macports.org
Date:     2010-03-17 16:21:06 -0700 (Wed, 17 Mar 2010)
Log Message:
-----------
Clean up and set universal_variant no.

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

Modified: trunk/dports/devel/hs-dlist/Portfile
===================================================================
--- trunk/dports/devel/hs-dlist/Portfile	2010-03-17 23:18:48 UTC (rev 64932)
+++ trunk/dports/devel/hs-dlist/Portfile	2010-03-17 23:21:06 UTC (rev 64933)
@@ -2,48 +2,26 @@
 
 PortSystem 1.0
 
-name		hs-dlist
-set canonicalname	dlist
-version		0.4.1
-categories	devel haskell
+PortGroup	haskell 1.0
+haskell.setup	dlist 0.5
 maintainers	nomaintainer
 platforms	darwin
 
-description	Differences lists: a list-like type supporting O(1) append
+description	Difference lists
 long_description	\
-		Differences lists: a list-like type supporting O(1)	\
-		append. This is particularly useful for efficient	\
-		logging and pretty printing, (e.g. with the Writer	\
-		monad), where list append quickly becomes too expensive.
+	Differences lists: a list-like type supporting O(1) append.	\
+	This is particularly useful for efficient logging and pretty	\
+	printing, (e.g. with the Writer monad), where list append	\
+	quickly becomes too expensive. 
 
-homepage	http://code.haskell.org/~dons/code/${canonicalname}
-master_sites	http://hackage.haskell.org/packages/archive/${canonicalname}/${version}
-distname	${canonicalname}-${version}
+checksums	md5     54f6c18ff689b7ef54e3229dc4a94107		\
+		sha1    846252c657e838daf9b401b35d94a3c2619e18e9	\
+		rmd160  9e27893d3bf1f0057567a9a60f8aa3d7e08e26b4
 
-checksums	md5     c1d0bcebbb62a60f56a42cfdc1b32758		\
-		sha1    5002191d9e122cf4d861bf046cc7494ebc8751e7	\
-		rmd160  0d6b0844d2e602bd432f407d21335c3f52f3c237
+universal_variant	no
 
-depends_build	port:ghc
+configure.args-append	-v --enable-library-profiling \
+			--with-gcc=${configure.cc}
 
-configure       { system "cd ${worksrcpath} && runhaskell Setup configure --ghc --prefix=${prefix} --with-compiler=${prefix}/bin/ghc --enable-library-profiling"
-                }
+build.args-append	-v
 
-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" }
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100317/fff060eb/attachment.html>


More information about the macports-changes mailing list