[144203] trunk/dports/perl/swaks/Portfile
mojca at macports.org
mojca at macports.org
Mon Jan 4 12:10:32 PST 2016
Revision: 144203
https://trac.macports.org/changeset/144203
Author: mojca at macports.org
Date: 2016-01-04 12:10:32 -0800 (Mon, 04 Jan 2016)
Log Message:
-----------
swaks: switch to perl5.22 (#48365), checksums, start perl from MP
Modified Paths:
--------------
trunk/dports/perl/swaks/Portfile
Modified: trunk/dports/perl/swaks/Portfile
===================================================================
--- trunk/dports/perl/swaks/Portfile 2016-01-04 18:45:53 UTC (rev 144202)
+++ trunk/dports/perl/swaks/Portfile 2016-01-04 20:10:32 UTC (rev 144203)
@@ -23,33 +23,34 @@
Completely scriptable configuration, with option specification via environment \
variables, configuration files, and command line.}
-checksums md5 281af4f487ada31cda1408a19e8da5b4 \
- sha1 059510eb2e359fa6dde822bec57bd0964ee11e7e \
- rmd160 31b52e046ac4529056e66c6a8bcf1a2ac44c7a8f
+checksums rmd160 31b52e046ac4529056e66c6a8bcf1a2ac44c7a8f \
+ sha256 0b0967256dca82776f610f1db862bc47644b236f325fa48cbdb2651babd41f7c
-perl5.branches 5.16
+perl5.branches 5.22
supported_archs noarch
use_configure no
build { }
destroot {
+ reinplace "s|/usr/bin/perl|${perl5.bin}|g" ${worksrcpath}/swaks
+
xinstall -d -m 755 ${destroot}${prefix}/share/doc
xinstall -m 755 -W ${worksrcpath} swaks ${destroot}${prefix}/bin/
file copy ${worksrcpath}/doc ${destroot}${prefix}/share/doc/${name}
xinstall -m 644 -W ${worksrcpath} LICENSE README ${destroot}${prefix}/share/doc/${name} }
-depends_lib-append port:p${perl5.default_branch}-net-dns \
- port:p${perl5.default_branch}-mime-base64 \
- port:p${perl5.default_branch}-digest-md5 \
- port:p${perl5.default_branch}-digest-sha \
- port:p${perl5.default_branch}-authen-sasl \
- port:p${perl5.default_branch}-net-ssleay \
- port:p${perl5.default_branch}-io-socket-inet6 \
- port:p${perl5.default_branch}-time-hires \
- port:p${perl5.default_branch}-sys-hostname-long
+depends_run-append port:p${perl5.major}-net-dns \
+ port:p${perl5.major}-mime-base64 \
+ port:p${perl5.major}-digest-md5 \
+ port:p${perl5.major}-digest-sha \
+ port:p${perl5.major}-authen-sasl \
+ port:p${perl5.major}-net-ssleay \
+ port:p${perl5.major}-io-socket-inet6 \
+ port:p${perl5.major}-time-hires \
+ port:p${perl5.major}-sys-hostname-long
# The following are listed as dependencies but are actually missing from mports tree:
-# port:p${perl5.default_branch}-Authen-NTLM \
-# port:p${perl5.default_branch}-IPC-Open2 \
-# port:p${perl5.default_branch}-IO-Socket \
-# port:p${perl5.default_branch}-Time-Local \
+# port:p${perl5.major}-Authen-NTLM \
+# port:p${perl5.major}-IPC-Open2 \
+# port:p${perl5.major}-IO-Socket \
+# port:p${perl5.major}-Time-Local \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160104/3de80c67/attachment.html>
More information about the macports-changes
mailing list