# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$

PortSystem          1.0

name                bmake
version             20151220
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.

checksums           rmd160  a0a9a864c6a7c534accbcec0de0f348d6eef4a55 \
                    sha256  c83bf8ed49c4fdcf58c50ef9341dcdf7827c67cb8a35aacd1848e82c91d1bc38

worksrcdir          ${name}

configure.cmd       ./boot-strap
configure.args-append \
                    op=configure \

build.cmd           ./boot-strap
build.target        op=build

destroot.target     op=install
destroot.args-append \
                    --prefix=${prefix}


livecheck.type      regex
livecheck.url       ${master_sites}
livecheck.regex     "${name}-(\[\\d\]+)${extract.suffix}"