# $Id$

PortSystem 1.0

name                pcc
version             1.0.0
categories          lang
platforms           darwin
maintainers         mww openmaintainer
license             BSD
description         the portable C compiler
long_description    \
    This compiler is based on the original Portable C Compiler by S. C. \
    Johnson, written in the late 70's. Even though much of the compiler \
    has been rewritten, some of the basics still remain. \
    The intention is to write a C99 compiler while still keeping it small, \
    simple, fast and understandable.

homepage            http://pcc.ludd.ltu.se/
master_sites        http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/
extract.suffix      .tgz
checksums           md5     6e5d851ee57fe58702fe4e80ecd1f852 \
                    sha1    a994d6bf75ae81add70d35478b59fca7c63bd5df \
                    rmd160  a559e93341945d3257a803eedf64af4223e59355

depends_build       port:flex port:m4 port:bison

use_parallel_build  no

configure.args      --mandir=${prefix}/share/man
configure.env       YACC="${prefix}/bin/bison -y"

livecheck.type      moddate
livecheck.url       http://pcc.ludd.ltu.se/ftp/pub/pcc-releases/