Ticket #27966: Portfile

File Portfile, 1.5 KB (added by mfeiri, 13 years ago)

Update to 20110622 and general overhaul (including fix for this bug)

Line 
1# $Id: Portfile 393 2011-08-11 00:40:00Z mfeiri $
2
3PortSystem          1.0
4
5name                bmake
6version             20110622
7categories          devel
8platforms           darwin
9license             BSD
10maintainers         gmail.com:tdflavius openmaintainer
11homepage            http://www.crufty.net/help/sjg/bmake.html
12master_sites        http://www.crufty.net/ftp/pub/sjg/
13description         Portable NetBSD make
14long_description    bmake is the portable version of NetBSD make.
15
16distfiles           ${distname}${extract.suffix} \
17                    mk-${version}${extract.suffix}
18checksums           ${distname}${extract.suffix} \
19                    md5     d55361061d2a3bd8b1224e96148ddf38 \
20                    sha1    0e8e4dfa284e49646d7180a247ea46b8816bef55 \
21                    rmd160  944c115a657b910dcd4cf8915735138442a2ee72 \
22                    mk-${version}${extract.suffix} \
23                    md5     a985fa6208191d4551bea5c52e17df40 \
24                    sha1    91775cefc12496501fecc04c7cb6cedb6bb5b678 \
25                    rmd160  6cfc8bdcc55532d88483fd94699ca0073a1274bf
26
27use_configure       no
28worksrcdir          ${name}
29build.cmd           ./boot-strap
30build.args          --with-default-sys-path="${prefix}/share/mk"
31build.target       
32
33destroot {
34    file copy ${worksrcpath}/Darwin/bmake ${destroot}${prefix}/bin
35    file copy ${worksrcpath}/bmake.cat1 ${destroot}${prefix}/share/man/cat1/bmake.1
36    file mkdir ${destroot}${prefix}/share/mk
37    system "${workpath}/mk/install-mk ${destroot}${prefix}/share/mk"
38}