# -*- 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                cxref
version             1.6e
categories          devel
platforms           darwin
license             GPL-2+
maintainers         nomaintainer

description         C cross referencing & documenting tool
long_description    Cxref is a program that will produce documentation \
                    (in LaTeX, HTML, RTF or SGML) including \
                    cross-references from C program source code. It has \
                    been designed to work with ANSI C, incorporating \
                    K&R, and most popular GNU extensions. The \
                    documentation for the program is produced from \
                    comments in the code that are appropriately \
                    formatted. The cross referencing comes from the code \
                    itself and requires no extra work.

homepage            http://www.gedanken.org.uk/software/cxref/
master_sites        ${homepage}download
extract.suffix      .tgz

checksums           rmd160  3f2c4d5b2bab5bc8abd681bea099b172a9fcedc7 \
                    sha256  21492210f9e1030e4e697f0d84f31ac57a0844e64c8fb28432001c44663242f2 \
                    size    381883

depends_build       bin:bison:bison bin:flex:flex

patchfiles          implicit.patch

livecheck.type      regex
livecheck.url       [lindex ${master_sites} 0]/rss.xml
livecheck.regex     [subst -nobackslashes {url=".+/${name}-(.+)${extract.suffix}"}]
