[144330] trunk/dports/mail/imapsync/Portfile
mojca at macports.org
mojca at macports.org
Wed Jan 6 10:54:47 PST 2016
Revision: 144330
https://trac.macports.org/changeset/144330
Author: mojca at macports.org
Date: 2016-01-06 10:54:47 -0800 (Wed, 06 Jan 2016)
Log Message:
-----------
imapsync: switch to perl5.22 (#48365)
Modified Paths:
--------------
trunk/dports/mail/imapsync/Portfile
Modified: trunk/dports/mail/imapsync/Portfile
===================================================================
--- trunk/dports/mail/imapsync/Portfile 2016-01-06 18:52:33 UTC (rev 144329)
+++ trunk/dports/mail/imapsync/Portfile 2016-01-06 18:54:47 UTC (rev 144330)
@@ -2,9 +2,11 @@
# $Id$
PortSystem 1.0
+PortGroup perl5 1.0
name imapsync
version 1.607
+revision 1
categories mail
platforms darwin
maintainers mww openmaintainer
@@ -21,21 +23,21 @@
checksums rmd160 a22b1577278097cb1a79edf3500eab983ab86601 \
sha256 784331cfa6cc391751dcdc5290eba5d50bf3ddbe9b213f072b413941a3fe4f2a
-set perl_version 5.16
-depends_run port:perl${perl_version} \
- port:p${perl_version}-digest-md5 \
- port:p${perl_version}-mail-imapclient \
- port:p${perl_version}-term-readkey \
- port:p${perl_version}-io-socket-ssl \
- port:p${perl_version}-io-tee \
- port:p${perl_version}-datemanip \
- port:p${perl_version}-digest-hmac \
- port:p${perl_version}-file-copy-recursive
+perl5.branches 5.22
+depends_run port:perl${perl5.major} \
+ port:p${perl5.major}-digest-md5 \
+ port:p${perl5.major}-mail-imapclient \
+ port:p${perl5.major}-term-readkey \
+ port:p${perl5.major}-io-socket-ssl \
+ port:p${perl5.major}-io-tee \
+ port:p${perl5.major}-datemanip \
+ port:p${perl5.major}-digest-hmac \
+ port:p${perl5.major}-file-copy-recursive
supported_archs noarch
post-patch {
- reinplace -locale C "s|^#!.*|#!${prefix}/bin/perl${perl_version}|g" ${worksrcpath}/imapsync
+ reinplace -locale C "s|^#!.*|#!${perl5.bin}|g" ${worksrcpath}/imapsync
}
use_configure no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160106/e3a650b2/attachment-0001.html>
More information about the macports-changes
mailing list