PortSystem 1.0

name                sloccount
version             2.26
categories          textproc devel
license             GPL-2+
platforms           darwin
maintainers         nomaintainer
description         program for counting lines of code in a large number of languages
long_description    SLOCCount is a set of tools for counting physical Source \
                    Lines of Code (SLOC) in a large number of languages of a \
                    potentially large set of programs.

homepage            http://www.dwheeler.com/sloccount/
master_sites        ${homepage}
checksums           md5 09abd6e2a016ebaf7552068a1dba1249

depends_run         bin:perl:perl5 \
                    bin:bash:bash

use_configure       no

build.args          PREFIX=${prefix}

destroot.destdir    PREFIX=${destroot}${prefix}

livecheck.type      regex
livecheck.url       ${homepage}
livecheck.regex     {Download version (\d+(?:\.\d+)*) \(the latest version\)\.}

conflicts           c_count
