Ticket #22707: Portfile

File Portfile, 1.3 KB (added by cardi@…, 14 years ago)
Line 
1# $Id$
2
3PortSystem        1.0
4
5name              build
6version           0.3.4
7categories        devel
8maintainers       ieee.org:cardi openmaintainer
9description       Massively-parallel software build system
10long_description  ${description} implemented on top of GNU make.
11homepage          http://kolpackov.net/projects/build/
12platforms         darwin
13master_sites      ftp://kolpackov.net/pub/projects/build/0.3/
14
15checksums         md5 c23ce5bef88fff82a0e8afa995c6c00e \
16                  sha1 55758f91fda8b8def42d76f19b7ed3209849be55 \
17                  rmd160 6480d9530a92941b2704a20f60f953e079495a03
18
19license           GPLv2
20
21use_bzip2         yes
22use_configure     no
23
24destroot.args     install_prefix=${prefix}
25
26build {}
27
28post-destroot {
29    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
30    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/documentation
31
32    xinstall -m 644 -W ${worksrcpath} LICENSE README NEWS INSTALL \
33      ${destroot}${prefix}/share/doc/${name}
34
35    eval xinstall -m 644 [glob ${worksrcpath}/documentation/*] \
36      ${destroot}${prefix}/share/doc/${name}/documentation
37
38    move ${worksrcpath}/examples \
39      ${destroot}${prefix}/share/doc/${name}/
40
41    move ${worksrcpath}/tests \
42      ${destroot}${prefix}/share/doc/${name}/
43}
44
45# vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4