# -*- 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                    unifdef
version                 2.12
revision                0

description             selectively remove C preprocessor conditionals
long_description        {*}${description}

categories              devel
license                 BSD
maintainers             nomaintainer

homepage                https://dotat.at/prog/unifdef/
master_sites            ${homepage}

checksums               rmd160  7fb5bc894f540dd5ff5a966377b7b8e4a3610e95 \
                        sha256  fba564a24db7b97ebe9329713ac970627b902e5e9e8b14e19e024eb6e278d10b \
                        size    87091

# developer_cmds installs very old unifdef / unifdefall
conflicts               developer_cmds

destroot.args-append    prefix=${prefix}

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