# -*- 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 PortGroup github 1.0 PortGroup perl5 1.0 PortGroup makefile 1.0 github.setup AlDanial cloc 2.06 v github.tarball_from archive revision 0 perl5.branches 5.34 categories textproc devel license {Artistic-1 GPL-2} supported_archs noarch platforms any maintainers nomaintainer description counts lines of source code long_description cloc counts blank lines, comment lines, and physical \ lines of source code in many programming languages. \ Given two versions of a code base, cloc can compute \ differences in blank, comment, and source lines. checksums rmd160 418eabea7df360f585b8328f81e378d4e370b932 \ sha256 10d78427fda66aaa10ec733adb03d910c49376fe9068aacebb17aa657a7a3a05 \ size 748581 depends_run-append port:perl${perl5.major} \ port:p${perl5.major}-algorithm-diff \ port:p${perl5.major}-parallel-forkmanager \ port:p${perl5.major}-regexp-common \ port:p${perl5.major}-digest-md5 patchfiles patch-Makefile-perl.diff post-patch { reinplace "s|^#!/usr/bin/env perl|#!${perl5.bin}|" ${worksrcpath}/cloc reinplace "s|__PERL__|${perl5.bin}|" ${worksrcpath}/Makefile } worksrcdir ${distname}/Unix makefile.override-append \ PREFIX makefile.prefix_name \ prefix