# -*- 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                sloccount
version             2.26
revision            0
checksums           rmd160  a5bd1dbe8bd5e5c52ed790990c0d5d8fc49b26ff \
                    sha256  fa7fa2bbf2f627dd2d0fdb958bd8ec4527231254c120a8b4322405d8a4e3d12b \
                    size    190948

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            https://dwheeler.com/sloccount/
master_sites        ${homepage}

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
