# -*- 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.8
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  e954dc247d5f47d6e52f783adf53e29613056699 \
                    sha256  0cccb93447682c7fdb4f0bdbfbe05d52a827331e0a19a5215d2c3cb85ad29258 \
                    size    198444

depends_lib         port:flex
depends_build       port:bison

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

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