[51206] trunk/dports/devel/hs-libcabal/Portfile

gwright at macports.org gwright at macports.org
Wed May 20 12:53:22 PDT 2009


Revision: 51206
          http://trac.macports.org/changeset/51206
Author:   gwright at macports.org
Date:     2009-05-20 12:53:20 -0700 (Wed, 20 May 2009)
Log Message:
-----------
Version bump to 1.6.0.3.

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

Modified: trunk/dports/devel/hs-libcabal/Portfile
===================================================================
--- trunk/dports/devel/hs-libcabal/Portfile	2009-05-20 19:34:46 UTC (rev 51205)
+++ trunk/dports/devel/hs-libcabal/Portfile	2009-05-20 19:53:20 UTC (rev 51206)
@@ -2,9 +2,12 @@
 
 PortSystem 1.0
 
+# Override some of the PortGroup haskell defaults because of the odd naming
+# conventions for cabal.
+
+PortGroup	haskell 1.0
 name		hs-libcabal
-set canonicalname	Cabal
-version		1.6.0.1
+haskell.setup	Cabal 1.6.0.3
 categories	devel haskell
 maintainers	gwright
 platforms	darwin
@@ -21,34 +24,11 @@
 		This port provides only the library.  The hs-cabal	\
 		port provides the "cabal" installer program.
 
-homepage	http://www.haskell.org/cabal/
-master_sites	${homepage}/release/cabal-${version}
-distname	${canonicalname}-${version}
+checksums	md5     71cf18d4b49734142c273a9c4ce063ed		\
+		sha1    d6f4ed4a4c1d837f778baf3da7366943f8a81e0c	\
+		rmd160  41e9e82776ec03768bdc43eb0ea299a1d76f7b19
 
-checksums       md5     23080358a9a05d3126255c7f6756be41		\
-                sha1    2a9564d0e8e32f85424f84f33856e2df216b1617	\
-                rmd160  329f28ce021aecb8fec3e71555d33a2da504a4bf
+configure.args-append	--enable-library-profiling
 
-depends_build	port:ghc
+build.args-append	-v
 
-configure       { system "cd ${worksrcpath} && runhaskell Setup configure --ghc --prefix=${prefix} --with-compiler=${prefix}/bin/ghc --enable-library-profiling"
-                }
-
-build		{ system "cd ${worksrcpath} && runhaskell Setup build"
-		}
-
-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/20090520/6fd35164/attachment.html>


More information about the macports-changes mailing list