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

name                tradcpp
version             0.5.3
revision            0
categories          devel
platforms           darwin
license             BSD
installs_libs       no
maintainers         nomaintainer
description         a traditional (K&R-style) C preprocessor
long_description \
   ${name} is ${description}. It has the particular property that it \
   doesn't (for the most part) trash whitespace, so it can be used on \
   makefiles.

homepage            http://ftp.netbsd.org/pub/NetBSD/misc/dholland/
master_sites        ${homepage}

checksums           rmd160  e1ec74bc8623587ec26a8c7c8292e96935037144 \
                    sha256  e17b9f42cf74b360d5691bc59fb53f37e41581c45b75fcd64bb965e5e2fe4c5e \
                    size    38683

use_configure       no
build.type          bsd
build.env           "CFLAGS=${configure.cflags} ${configure.cc_archflags}" \
                    CC=${configure.cc} NO_WERROR=1

destroot.env        BINDIR=${prefix}/bin MANDIR=${prefix}/share/man/man
