[21173] trunk/dports/devel/alex
source_changes at macosforge.org
source_changes at macosforge.org
Wed Jan 10 13:08:49 PST 2007
Revision: 21173
http://trac.macosforge.org/projects/macports/changeset/21173
Author: gwright at macports.org
Date: 2007-01-10 13:08:48 -0800 (Wed, 10 Jan 2007)
Log Message:
-----------
Version bump to 2.1.0.
Modified Paths:
--------------
trunk/dports/devel/alex/Portfile
Removed Paths:
-------------
trunk/dports/devel/alex/files/
Modified: trunk/dports/devel/alex/Portfile
===================================================================
--- trunk/dports/devel/alex/Portfile 2007-01-10 21:01:59 UTC (rev 21172)
+++ trunk/dports/devel/alex/Portfile 2007-01-10 21:08:48 UTC (rev 21173)
@@ -2,8 +2,7 @@
PortSystem 1.0
name alex
-version 2.0.1
-revision 3
+version 2.1.0
categories devel
maintainers gwright at macports.org
platforms darwin
@@ -15,25 +14,21 @@
It is similar to the tools lex or flex for C/C++.
homepage http://www.haskell.org/alex/
-master_sites http://www.haskell.org/alex/dist/
+master_sites http://www.haskell.org/alex/dist/${version}
-distfiles ${name}-${version}-src${extract.suffix}
+checksums md5 17e80d39cc3f1aba28dcea0e358c81e9
-checksums md5 edb62560e29c8de23913c65c52adbf19
+depends_build port:ghc
-patchfiles patch-configure
+configure { cd ${worksrcpath}
+ system "runhaskell Setup configure --ghc --prefix=${prefix}"
+ }
-depends_build bin:ghc:ghc
+build { cd ${worksrcpath}
+ system "runhaskell Setup build -v"
+ }
-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
- }
+destroot { cd ${worksrcpath}
+ system "runhaskell Setup copy --copy-prefix=${destroot}${prefix}"
+ }
-configure.args --prefix=${destroot}/${prefix}
-
-post-destroot { reinplace s|${destroot}||g ${destroot}/${prefix}/bin/${name} }
-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070110/4ea97aea/attachment.html
More information about the macports-changes
mailing list