[135219] trunk/dports/textproc/cloc/Portfile
khindenburg at macports.org
khindenburg at macports.org
Sun Apr 19 09:40:48 PDT 2015
Revision: 135219
https://trac.macports.org/changeset/135219
Author: khindenburg at macports.org
Date: 2015-04-19 09:40:48 -0700 (Sun, 19 Apr 2015)
Log Message:
-----------
cloc: update maintainer #45749; fix depenedencies; use correct perl; fix license
Modified Paths:
--------------
trunk/dports/textproc/cloc/Portfile
Modified: trunk/dports/textproc/cloc/Portfile
===================================================================
--- trunk/dports/textproc/cloc/Portfile 2015-04-19 16:35:49 UTC (rev 135218)
+++ trunk/dports/textproc/cloc/Portfile 2015-04-19 16:40:48 UTC (rev 135219)
@@ -5,10 +5,12 @@
name cloc
version 1.62
+revision 1
+set perl_version 5.16
categories textproc devel
-license GPL-2+
+license GPL-2 Artistic-1
platforms darwin
-maintainers nomaintainer
+maintainers vt.edu:jpo openmaintainer
description cloc counts blank lines, comment lines, and physical lines \
of source code in many programming languages.
long_description ${description}
@@ -19,13 +21,20 @@
checksums rmd160 ab487a6e81a4f2663e632e27237d07faf948784c \
sha256 c4111ef5768b1c2844c0c826988df6f92fbb5aa7452a5005d3a031d68631acb3
-depends_run bin:perl:perl5 \
- bin:bash:bash
+depends_run-append port:perl${perl_version} \
+ port:p${perl_version}-algorithm-diff \
+ port:p${perl_version}-regexp-common \
+ port:p${perl_version}-digest-md5
use_configure no
destroot.args-append prefix=${prefix}
+post-destroot {
+ reinplace -W ${destroot}${prefix}/bin "s|#!/usr/bin/env perl|#! ${prefix}/bin/perl${perl_version}|" \
+ cloc
+ }
+
livecheck.type regex
livecheck.url ${homepage}
livecheck.regex {latest version: (\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150419/483087bc/attachment.html>
More information about the macports-changes
mailing list