[21174] trunk/dports/devel/happy

source_changes at macosforge.org source_changes at macosforge.org
Wed Jan 10 13:16:41 PST 2007


Revision: 21174
          http://trac.macosforge.org/projects/macports/changeset/21174
Author:   gwright at macports.org
Date:     2007-01-10 13:16:41 -0800 (Wed, 10 Jan 2007)

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

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

Removed Paths:
-------------
    trunk/dports/devel/happy/files/

Modified: trunk/dports/devel/happy/Portfile
===================================================================
--- trunk/dports/devel/happy/Portfile	2007-01-10 21:08:48 UTC (rev 21173)
+++ trunk/dports/devel/happy/Portfile	2007-01-10 21:16:41 UTC (rev 21174)
@@ -2,8 +2,7 @@
 
 PortSystem 1.0
 name		happy
-version		1.15
-revision	3
+version		1.16
 categories	devel
 maintainers	gwright at macports.org
 platforms	darwin
@@ -23,31 +22,22 @@
 		can parse a stream of characters directly (but this	\
 		isn't practical in most cases).
 
-homepage	http://www.haskell.org/happy/
-master_sites	http://www.haskell.org/happy/dist/${version}/
+homepage	http://haskell.org/happy/
+master_sites	http://haskell.org/happy/dist/${version}/
 
-distfiles	${name}-${version}-src${extract.suffix}
+checksums	md5 b9fd2f5eba61974dab8e12873cadee6f
 
-checksums	md5 02ceb122b904fa4a4290e6ea1072d59e
-
-patchfiles	patch-configure		\
-		patch-LALR.lhs		\
-		patch-ProduceCode.lhs	\
-		patch-bogus-token.y	\
-		patch-precedence001.ly	\
-		patch-precedence002.y
-
 depends_build	port:ghc
 
-pre-configure	{ set cfg [open "${worksrcpath}/mk/build.mk" w]
-		  puts $cfg "#"
-		  puts $cfg "# Local configuration overrides for DarwinPorts"
-		  puts $cfg "#"
-		  puts $cfg "SRC_HC_OPTS += -I${prefix}/include -L${prefix}/lib"
-		  close $cfg
-		}
+configure       { cd ${worksrcpath}
+                  system "runhaskell Setup configure --ghc --prefix=${prefix}"
+                }
 
-configure.args  --prefix=${destroot}/${prefix}
+build           { cd ${worksrcpath}
+                  system "runhaskell Setup build -v"
+                }
 
-post-destroot	{ reinplace s|${destroot}||g ${destroot}/${prefix}/bin/${name} }
+destroot        { cd ${worksrcpath}
+                  system "runhaskell Setup copy --copy-prefix=${destroot}${prefix}"
+                }
 

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


More information about the macports-changes mailing list