# -*- 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                cproto
version             4.7x
revision            0
categories          devel
maintainers         nomaintainer
license             public-domain

description         Generate C prototypes from source code

long_description    ${name} is a program that generates function prototypes \
                    and variable declarations from C source code. It can \
                    also convert function definitions between the old style \
                    and the ANSI C style.

homepage            https://invisible-island.net/cproto/cproto.html
master_sites        https://invisible-island.net/archives/${name}/ \
                    https://invisible-mirror.net/archives/${name}/

extract.suffix      .tgz

checksums           rmd160  a94a5726b6aa4cf64aad341d9134c0ce43d9d271 \
                    sha256  fb24b7254d8a5118913d3b7a54331975e60553afc70b88e4e7c2998203478cfe \
                    size    196563

depends_lib         port:flex
depends_build       port:bison

configure.args      --mandir=${prefix}/share/man

livecheck.regex     cproto-(\\d+(?:\\.\\d+)*\[a-z\]?)