# $Id$ PortSystem 1.0 name bmake version 20120704 set mkversion 20120626 categories devel platforms darwin license BSD maintainers mfeiri openmaintainer homepage http://www.crufty.net/help/sjg/bmake.html master_sites http://www.crufty.net/ftp/pub/sjg/ description Portable NetBSD make long_description bmake is the portable version of NetBSD make. distfiles ${distname}${extract.suffix} \ mk-${mkversion}${extract.suffix} checksums ${distname}${extract.suffix} \ rmd160 33b7dc8c7a0931ef613a8bc93f88004c5c8c7a63 \ sha256 0a0a32c8fc2a2af5deffde3ae5978119cee7bf2f10d87ebf17a3befd49f79f6a \ mk-${mkversion}${extract.suffix} \ rmd160 64578adbaa3e90278b3992521003e654db5fb9e9 \ sha256 0add60b03de1d971cf6ab121274ddf3f541b9efe49a248ef34c4295d1bf204a4 use_configure no worksrcdir ${name} build.cmd ./boot-strap build.args --with-default-sys-path="${prefix}/share/mk" CC=${configure.cc} build.target destroot { file copy ${worksrcpath}/Darwin/bmake ${destroot}${prefix}/bin file copy ${worksrcpath}/bmake.cat1 ${destroot}${prefix}/share/man/cat1/bmake.1 file mkdir ${destroot}${prefix}/share/mk system "${workpath}/mk/install-mk ${destroot}${prefix}/share/mk" } livecheck.type regex livecheck.url ${master_sites} livecheck.regex "${name}-(\[\\d\]+)${extract.suffix}"