[37996] trunk/dports/devel/c2hs
gwright at macports.org
gwright at macports.org
Wed Jul 2 08:12:08 PDT 2008
Revision: 37996
http://trac.macosforge.org/projects/macports/changeset/37996
Author: gwright at macports.org
Date: 2008-07-02 08:12:07 -0700 (Wed, 02 Jul 2008)
Log Message:
-----------
Version bump to 0.15.1.
Modified Paths:
--------------
trunk/dports/devel/c2hs/Portfile
Removed Paths:
-------------
trunk/dports/devel/c2hs/files/
Modified: trunk/dports/devel/c2hs/Portfile
===================================================================
--- trunk/dports/devel/c2hs/Portfile 2008-07-02 10:25:52 UTC (rev 37995)
+++ trunk/dports/devel/c2hs/Portfile 2008-07-02 15:12:07 UTC (rev 37996)
@@ -1,9 +1,9 @@
# $Id$
PortSystem 1.0
+
name c2hs
-version 0.14.5
-revision 1
+version 0.15.1
categories devel
maintainers gwright at macports.org
platforms darwin
@@ -15,32 +15,30 @@
The tool processes existing C header files that \
determine data layout and function signatures on the \
C side in conjunction with Haskell modules that specify \
- Haskell-side type signatures and marshaling details.
+ Haskell-side type signatures and marshaling details.
homepage http://www.cse.unsw.edu.au/~chak/haskell/c2hs/
master_sites ${homepage}/
-checksums md5 8e04c1dfffbd4d27776fc406f15d24e5
+checksums md5 69f99fba67419edd471b77efb0bd644f \
+ sha1 f690c87abf63329b6888cb2a3b8f4fb64d113150 \
+ rmd160 e43c39437dd3320cdb714ef2219d7bed2d25afab
depends_build port:ghc
-patchfiles patch-Setup.hs \
- patch-CLexer.hs \
- patch-CParser.hs
-
-pre-configure { cd ${worksrcpath}
- system "ghc -o Setup Setup.hs -package Cabal"
+pre-configure {
+ system "cd ${worksrcpath} && ghc -o Setup Setup.hs -package Cabal"
}
-configure { cd ${worksrcpath}
- system "./Setup configure --ghc --prefix=${prefix}"
+configure {
+ system "cd ${worksrcpath} && ./Setup configure --ghc --prefix=${prefix}"
}
-build { cd ${worksrcpath}
- system "./Setup build -v"
+build {
+ system "cd ${worksrcpath} && ./Setup build -v"
}
-destroot { cd ${worksrcpath}
- system "./Setup copy --copy-prefix=${destroot}${prefix}"
+destroot {
+ system "cd ${worksrcpath} && ./Setup copy --copy-prefix=${destroot}${prefix}"
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080702/d10c8b2f/attachment.html
More information about the macports-changes
mailing list