# -*- 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 # $Id$ PortSystem 1.0 PortGroup github 1.0 PortGroup perl5 1.0 github.setup AlDanial cloc 1.70 v perl5.branches 5.24 categories textproc devel license GPL-2 Artistic-1 platforms darwin supported_archs noarch 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 e0e8e107a4d9e98328e3618a535e1b3d5a592b08 \ sha256 2bcf70281835b12f3ef01b9da6edf69b93b0ea660836ec5b524751718e41da01 depends_run-append port:perl${perl5.major} \ port:p${perl5.major}-algorithm-diff \ port:p${perl5.major}-regexp-common \ port:p${perl5.major}-digest-md5 patchfiles patch-Makefile-perl.diff post-patch { reinplace -W ${worksrcpath} \ "s|^#!/usr/bin/env perl|#!${perl5.bin}|" \ cloc reinplace -W ${worksrcpath} \ "s|__PERL__|${perl5.bin}|" \ Makefile } worksrcdir ${distname}/Unix use_configure no build {} destroot.args-append prefix=${prefix}