[20165] trunk/dports/devel/haddock/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Thu Oct 26 14:59:36 PDT 2006


Revision: 20165
          http://trac.macosforge.org/projects/macports/changeset/20165
Author:   gwright at macports.org
Date:     2006-10-26 14:59:35 -0700 (Thu, 26 Oct 2006)

Log Message:
-----------
Version bump to 0.8.

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

Modified: trunk/dports/devel/haddock/Portfile
===================================================================
--- trunk/dports/devel/haddock/Portfile	2006-10-26 19:37:44 UTC (rev 20164)
+++ trunk/dports/devel/haddock/Portfile	2006-10-26 21:59:35 UTC (rev 20165)
@@ -2,7 +2,7 @@
 
 PortSystem 1.0
 name		haddock
-version		0.7
+version		0.8
 categories	devel
 maintainers	gwright at opendarwin.org
 platforms	darwin
@@ -27,13 +27,23 @@
 
 distfiles	${name}-${version}-src${extract.suffix}
 
-checksums	md5 759419e78416d5f093190968a4dc18f5
+checksums	md5 0a1bb64e7642f64d2560dc258c570c1d
 
-depends_build	bin:ghc:ghc
+depends_build	port:ghc
 
-configure.args	--prefix=${destroot}${prefix} \
-		--mandir=${destroot}${prefix}/share/man
+pre-configure   { cd ${worksrcpath}
+                  system "ghc -o Setup Setup.lhs -package Cabal"
+                }
 
-post-destroot	{ reinplace s|${destroot}${prefix}|${prefix}|g ${destroot}${prefix}/bin/${name}-${version}
-		}
+configure       { cd ${worksrcpath}
+                  system "./Setup configure --ghc --prefix=${prefix} --enable-library-profiling"
+                }
 
+build           { cd ${worksrcpath}
+                  system "./Setup build -v"
+                }
+
+destroot        { cd ${worksrcpath}
+                  system "./Setup copy --copy-prefix=${destroot}${prefix}"
+                }
+

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20061026/1f19d506/attachment.html


More information about the macports-changes mailing list