[144312] trunk/dports/sysutils/dirvish

mojca at macports.org mojca at macports.org
Wed Jan 6 06:21:59 PST 2016


Revision: 144312
          https://trac.macports.org/changeset/144312
Author:   mojca at macports.org
Date:     2016-01-06 06:21:58 -0800 (Wed, 06 Jan 2016)
Log Message:
-----------
dirvish: switch to perl5.22 (#48365)

Modified Paths:
--------------
    trunk/dports/sysutils/dirvish/Portfile
    trunk/dports/sysutils/dirvish/files/patch-Makefile.diff

Modified: trunk/dports/sysutils/dirvish/Portfile
===================================================================
--- trunk/dports/sysutils/dirvish/Portfile	2016-01-06 14:09:14 UTC (rev 144311)
+++ trunk/dports/sysutils/dirvish/Portfile	2016-01-06 14:21:58 UTC (rev 144312)
@@ -2,10 +2,11 @@
 # $Id$
 
 PortSystem      1.0
+PortGroup       perl5 1.0
 
 name            dirvish
 version         1.2.1
-revision        3
+revision        4
 categories      sysutils
 maintainers     behanna.org:chris
 license         OSL-2
@@ -49,17 +50,18 @@
                 patch-default.conf.dist.diff \
                 patch-master.conf.dist.diff
 
+perl5.branches  5.22
+
 use_configure   no
 
 build.type      bsd
-build.args      PREFIX=${prefix}
+build.args      PREFIX=${prefix} PERL=${perl5.bin}
+destroot.args   PREFIX=${prefix} PERL=${perl5.bin}
 
-destroot.args   PREFIX=${prefix}
-
-depends_lib     port:perl5.16 \
-                port:p5.16-time-modules \
-                port:p5.16-timedate \
-                port:p5.16-time-period \
+depends_lib     port:perl${perl5.major} \
+                port:p${perl5.major}-time-modules \
+                port:p${perl5.major}-timedate \
+                port:p${perl5.major}-time-period \
                 port:rsync
 
 # The latest version is from 2005.

Modified: trunk/dports/sysutils/dirvish/files/patch-Makefile.diff
===================================================================
--- trunk/dports/sysutils/dirvish/files/patch-Makefile.diff	2016-01-06 14:09:14 UTC (rev 144311)
+++ trunk/dports/sysutils/dirvish/files/patch-Makefile.diff	2016-01-06 14:21:58 UTC (rev 144312)
@@ -33,7 +33,7 @@
 +INSTALL_SCRIPT=${INSTALL} ${INSTALL_UCREDS} -m 555
 +
 +header:
-+	echo "#!${PREFIX}/bin/perl5.16" > header.pl
++	echo "#!${PERL}" > header.pl
 +	echo "" >> header.pl
 +	echo "\$$CONFDIR = \"${CONFDIR}\";" >> header.pl
 +
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160106/497571c5/attachment.html>


More information about the macports-changes mailing list