# -*- 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.7y
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  ab56ba8c8b00f6ed94cd25102d065233a0a87cbf \
                    sha256  0bd1d8be8ff0a4ca43f947f95750d34f64eda93c9e2ca79100fd60140b7c6331 \
                    size    197318

depends_lib         port:flex
depends_build       port:bison

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

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