# -*- 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

PortSystem          1.0
PortGroup           makefile 1.0

name                nuweb
version             1.62
categories          devel tex textproc print
maintainers         nomaintainer
license             BSD

description         a literate programming system compatible with any language
long_description    {*}${description}

homepage            https://nuweb.sourceforge.net
master_sites        sourceforge:project/${name}/

checksums           rmd160  41d4ae2b57dd876af199b557be3f7dca0c46c616 \
                    sha256  255a8f62460f5c14f4c4b356b96e0357a37a6652ae0584064f8e9fae19e953ae \
                    size    210923

patchfiles          patch-Makefile.diff

build.target        nuweb

destroot {
    xinstall -m 0755 ${build.dir}/nuweb ${destroot}${prefix}/bin
}

test.run            yes
test.target         check

livecheck.regex     ${name}-(\[0-9.\]+)${extract.suffix}
