[64766] trunk/dports/devel

gwright at macports.org gwright at macports.org
Mon Mar 15 10:14:49 PDT 2010


Revision: 64766
          http://trac.macports.org/changeset/64766
Author:   gwright at macports.org
Date:     2010-03-15 10:14:48 -0700 (Mon, 15 Mar 2010)
Log Message:
-----------
Rename the haddock port to hs-haddock, for compatibility with
the upcoming haskell-platform meta port. The hs-haddock port will be
the latest development version that builds ghc; the stable version is now
provided by the ghc port itself.

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

Added Paths:
-----------
    trunk/dports/devel/hs-haddock/

Modified: trunk/dports/devel/hs-haddock/Portfile
===================================================================
--- trunk/dports/devel/haddock/Portfile	2010-03-12 22:42:46 UTC (rev 64650)
+++ trunk/dports/devel/hs-haddock/Portfile	2010-03-15 17:14:48 UTC (rev 64766)
@@ -2,8 +2,9 @@
 
 PortSystem 1.0
 
-name		haddock
-version		2.4.2
+name		hs-haddock
+set canonicalname	haddock
+version		2.5.0
 categories	devel
 maintainers	nomaintainer
 platforms	darwin
@@ -23,28 +24,26 @@
 		in a type signature to go straight to the definition,	\
 		and documentation, for that type.
 
-homepage	http://www.haskell.org/haddock/
-master_sites	http://hackage.haskell.org/packages/archive/${name}/${version}
+homepage	http://www.haskell.org/${canonicalname}/
+master_sites	http://hackage.haskell.org/packages/archive/${canonicalname}/${version}
 
-checksums	md5     c1d5238faac72727921130eb792041a2 \
-		sha1    cd1de409029bcabdf79b05b4c00c7702c836c765 \
-		rmd160  18317b3ffd60f2b0925d635ce1ea2ab35825860c
+checksums	md5     ec674a6854667f6e6fcb3d0cc3d784bb \
+		sha1    5468c84152d6d46c8c4803b29e357ab71e49a6f0 \
+		rmd160  27db8a3f86be5dd01c8035662f338e27f61886c7
 
+universal_variant	no
 
-depends_build	port:ghc
-depends_lib	port:hs-ghc-paths
+depends_build	port:ghc		\
+		port:hs-ghc-paths
 
-pre-configure   { system "cd ${worksrcpath} && ${prefix}/bin/ghc -o Setup Setup.lhs -package Cabal"
+configure       { system "cd ${worksrcpath} && runhaskell Setup configure -v --ghc --with-gcc=${configure.cc} --prefix=${prefix} --program-suffix=\"-${version}\""
                 }
 
-configure       { system "cd ${worksrcpath} && ./Setup configure --ghc --prefix=${prefix}"
+build           { system "cd ${worksrcpath} && runhaskell Setup build -v"
                 }
 
-build           { system "cd ${worksrcpath} && ./Setup build -v"
+destroot        { system "cd ${worksrcpath} && runhaskell Setup copy --copy-prefix=${destroot}${prefix}"
                 }
 
-destroot        { system "cd ${worksrcpath} && ./Setup copy --copy-prefix=${destroot}${prefix}"
-                }
-
 livecheck.type  regex
 livecheck.regex {version ([0-9.]+) released}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100315/e22878f7/attachment.html>


More information about the macports-changes mailing list