[47274] trunk/dports/devel

ryandesign at macports.org ryandesign at macports.org
Tue Feb 24 03:59:30 PST 2009


Revision: 47274
          http://trac.macports.org/changeset/47274
Author:   ryandesign at macports.org
Date:     2009-02-24 03:59:30 -0800 (Tue, 24 Feb 2009)
Log Message:
-----------
pure-gen: new port, version 0.2; closes #18615

Added Paths:
-----------
    trunk/dports/devel/pure-gen/
    trunk/dports/devel/pure-gen/Portfile

Copied: trunk/dports/devel/pure-gen/Portfile (from rev 47150, trunk/dports/devel/pure-csv/Portfile)
===================================================================
--- trunk/dports/devel/pure-gen/Portfile	                        (rev 0)
+++ trunk/dports/devel/pure-gen/Portfile	2009-02-24 11:59:30 UTC (rev 47274)
@@ -0,0 +1,49 @@
+# $Id$
+
+PortSystem                      1.0
+
+name                            pure-gen
+version                         0.2
+categories                      devel
+platforms                       darwin
+maintainers                     ryandesign
+use_parallel_build              yes
+homepage                        http://pure-lang.googlecode.com/
+master_sites                    ${homepage}files/
+
+description                     a Pure C bindings generator
+
+long_description                ${name} is ${description}.
+
+checksums                       md5     b48cbf4b05cc9a5ae5ff72775b7f1f10 \
+                                sha1    8705c294e0a981b9db6a2973768d6323afb8f79f \
+                                rmd160  6ee7817382102a7b64c54081db7e6355b9f3c14a
+
+depends_build-append            path:bin/ghc:ghc \
+                                port:hs-language-c
+
+depends_lib-append              path:lib/libpure.dylib:pure
+
+use_configure                   no
+
+pre-build {
+    build.args-append           CC=${configure.cc} \
+                                CFLAGS="${configure.cflags}" \
+                                CPPFLAGS="${configure.cppflags}" \
+                                LDFLAGS="${configure.ldflags}"
+}
+
+post-destroot {
+    xinstall -d \
+        ${destroot}${prefix}/share/doc/${name} \
+        ${destroot}${prefix}/share/examples
+    xinstall -m 644 -W ${worksrcpath} \
+        COPYING \
+        README \
+        ${destroot}${prefix}/share/doc/${name}
+    copy ${worksrcpath}/examples ${destroot}${prefix}/share/examples/${name}
+}
+
+livecheck.check                 regex
+livecheck.url                   http://code.google.com/p/pure-lang/downloads/list
+livecheck.regex                 ${name}-(\[0-9.\]+)\\.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090224/c889b430/attachment.html>


More information about the macports-changes mailing list