source: trunk/dports/devel/fbuild/Portfile @ 53088

Last change on this file since 53088 was 53088, checked in by ryandesign@…, 11 years ago

Set svn:keywords to Id per current policy

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 53088 2009-06-29 05:16:32Z ryandesign@macports.org $
2
3PortSystem          1.0
4
5name                fbuild
6version             0.1
7categories          devel python
8maintainers         erickt
9description         Software build system
10long_description    Fbuild is a cross platform multilanguage build system that \
11                    uses a caching build system instead of tree evaluation like \
12                    Make.
13platforms           darwin
14homepage            http://www.felix-lang.org/
15master_sites        sourceforge:felix
16
17checksums           md5     e335c52eaeec1c735413e8a3cf95a93c \
18                    sha1    c1be73703aa64369962c9edc057fa65eb7f9c5df \
19                    rmd160  151f89291cc393d5ce89f7bea08bea5da95de0b1
20
21depends_lib         port:python31
22
23use_configure       no
24
25build.cmd           ${prefix}/bin/python3.1 setup.py
26build.target        build
27
28destroot.cmd        ${prefix}/bin/python3.1 setup.py
29destroot.destdir    --root=${destroot} --install-scripts=${prefix}/bin
30
31post-destroot {
32    xinstall -d ${destroot}${prefix}/share/doc/${name}
33
34    xinstall -m 644 ${worksrcpath}/LICENSE ${destroot}${prefix}/share/doc/${name}
35    xinstall -m 644 ${worksrcpath}/README ${destroot}${prefix}/share/doc/${name}
36
37    file copy ${worksrcpath}/docs ${destroot}${prefix}/share/doc/${name}/docs
38
39    xinstall -d ${destroot}${prefix}/share/doc/${name}/examples
40    foreach f [glob -dir ${worksrcpath}/examples -tails *] {
41        file copy ${worksrcpath}/examples/$f ${destroot}${prefix}/share/doc/${name}/examples/$f
42    }
43}
Note: See TracBrowser for help on using the repository browser.