[143443] trunk/dports/devel/vcheck/Portfile
mojca at macports.org
mojca at macports.org
Sat Dec 12 10:57:53 PST 2015
Revision: 143443
https://trac.macports.org/changeset/143443
Author: mojca at macports.org
Date: 2015-12-12 08:32:12 -0800 (Sat, 12 Dec 2015)
Log Message:
-----------
vcheck: add perl5 portgroup, there are build errors with 5.22 (#48365)
Modified Paths:
--------------
trunk/dports/devel/vcheck/Portfile
Modified: trunk/dports/devel/vcheck/Portfile
===================================================================
--- trunk/dports/devel/vcheck/Portfile 2015-12-12 16:28:36 UTC (rev 143442)
+++ trunk/dports/devel/vcheck/Portfile 2015-12-12 16:32:12 UTC (rev 143443)
@@ -2,6 +2,7 @@
# $Id$
PortSystem 1.0
+PortGroup perl5 1.0
name vcheck
version 1.2.1
@@ -13,6 +14,8 @@
long_description vcheck is a tool for checking for latest versions of programs at HTTP \
and FTP locations given a list of URLs and (Perl-style) regular \
expressions to match, and to optionally download them automatically.
+
+# broken link
homepage http://www.tu-ilmenau.de/~gomar/stuff/vcheck/
platforms darwin
supported_archs noarch
@@ -22,17 +25,20 @@
checksums rmd160 31f98e9010462d29ccc8de7c397740977ba30f04 \
sha256 c0a8021f5af60daf54d724772c7f21dab990e89a9283eb7dfce0cc1a565d25ea
-depends_lib port:perl5.16
-depends_run port:p5.16-libwww-perl
+# TODO: when using 5.22 there are some encoding-related build errors
+perl5.branches 5.16
+depends_lib port:perl${perl5.major}
+depends_run port:p${perl5.major}-libwww-perl
+
patch {
- reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.16|" ${worksrcpath}/vcheck
+ reinplace "s|/usr/bin/perl|$${perl5.bin}|" ${worksrcpath}/vcheck
}
use_configure no
build {
- system "${prefix}/bin/pod2man-5.16 ${worksrcpath}/vcheck >${worksrcpath}/vcheck.1"
+ system "${prefix}/bin/pod2man-${perl5.major} ${worksrcpath}/vcheck >${worksrcpath}/vcheck.1"
}
post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151212/12b4ec1a/attachment-0001.html>
More information about the macports-changes
mailing list