[53009] trunk/dports/devel

erickt at macports.org erickt at macports.org
Sat Jun 27 23:35:29 PDT 2009


Revision: 53009
          http://trac.macports.org/changeset/53009
Author:   erickt at macports.org
Date:     2009-06-27 23:35:28 -0700 (Sat, 27 Jun 2009)
Log Message:
-----------
Add fbuild to macports.

Added Paths:
-----------
    trunk/dports/devel/fbuild/
    trunk/dports/devel/fbuild/Portfile

Added: trunk/dports/devel/fbuild/Portfile
===================================================================
--- trunk/dports/devel/fbuild/Portfile	                        (rev 0)
+++ trunk/dports/devel/fbuild/Portfile	2009-06-28 06:35:28 UTC (rev 53009)
@@ -0,0 +1,40 @@
+# $Id$
+
+PortSystem          1.0
+
+name                fbuild
+version             0.1
+categories          devel python
+maintainers         erickt
+description         Software build system
+platforms           darwin
+homepage            http://www.felix-lang.org/
+master_sites        sourceforge:felix
+
+checksums           md5     e335c52eaeec1c735413e8a3cf95a93c \
+                    sha1    c1be73703aa64369962c9edc057fa65eb7f9c5df \
+                    rmd160  151f89291cc393d5ce89f7bea08bea5da95de0b1
+
+depends_lib         port:python31
+
+use_configure       no
+
+build.cmd           ${prefix}/bin/python3.1 setup.py
+build.target        build
+
+destroot.cmd        ${prefix}/bin/python3.1 setup.py
+destroot.destdir    --root=${destroot} --install-scripts=${prefix}/bin
+
+post-destroot {
+    xinstall -d ${destroot}${prefix}/share/doc/${name}
+
+    xinstall -m 644 ${worksrcpath}/LICENSE ${destroot}${prefix}/share/doc/${name}
+    xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
+
+    file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}/docs
+
+    xinstall -d ${destroot}${prefix}/share/doc/${name}/examples
+    foreach f [glob -dir ${worksrcpath}/examples -tails *] {
+        file copy ${worksrcpath}/examples/$f ${destroot}${prefix}/share/doc/${name}/examples/$f
+    }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090627/ad221274/attachment.html>


More information about the macports-changes mailing list