most recent changes, diff for c2hs
Index: devel/c2hs/Portfile
--- devel/c2hs/Portfile (revision 37995)
+++ devel/c2hs/Portfile (revision 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@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}"
}