[151921] trunk/dports/mail/signing-party/Portfile

mojca at macports.org mojca at macports.org
Tue Aug 23 15:21:55 PDT 2016


Revision: 151921
          https://trac.macports.org/changeset/151921
Author:   mojca at macports.org
Date:     2016-08-23 15:21:55 -0700 (Tue, 23 Aug 2016)
Log Message:
-----------
signing-party: switch to perl5.24 (#52081)

Modified Paths:
--------------
    trunk/dports/mail/signing-party/Portfile

Modified: trunk/dports/mail/signing-party/Portfile
===================================================================
--- trunk/dports/mail/signing-party/Portfile	2016-08-23 22:13:22 UTC (rev 151920)
+++ trunk/dports/mail/signing-party/Portfile	2016-08-23 22:21:55 UTC (rev 151921)
@@ -2,9 +2,11 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           perl5 1.0
 
 name                signing-party
 version             2.1
+revision            1
 checksums           rmd160  d50a5f1e9c366d0102341e38fd4606a228d13737 \
                     sha256  ca87849a74ea4c271e92422bfe6b1be2bfe2c2de9a723bf11aa088e4ea88965d
 
@@ -32,15 +34,17 @@
 depends_build       port:automake17 \
                     port:autoconf
 
-depends_lib         port:perl5.22 \
-                    port:p5.22-class-methodmaker \
-                    port:p5.22-mailtools \
-                    port:p5.22-term-readkey \
-                    port:p5.22-gnupg-interface \
-                    port:p5.22-text-iconv \
-                    port:p5.22-text-template \
-                    port:p5.22-mime-tools \
-                    port:p5.22-net-idn-encode \
+perl5.branches      5.24
+
+depends_lib         port:perl${perl5.major} \
+                    port:p${perl5.major}-class-methodmaker \
+                    port:p${perl5.major}-mailtools \
+                    port:p${perl5.major}-term-readkey \
+                    port:p${perl5.major}-gnupg-interface \
+                    port:p${perl5.major}-text-iconv \
+                    port:p${perl5.major}-text-template \
+                    port:p${perl5.major}-mime-tools \
+                    port:p${perl5.major}-net-idn-encode \
                     port:qprint
 depends_run         port:gnupg \
                     port:dialog \
@@ -52,7 +56,7 @@
                     CFLAGS="${configure.cflags} [get_canonical_archflags]"
 
 pre-build {
-    reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.22|g" \
+    reinplace "s|/usr/bin/perl|#!${perl5.bin}|g" \
         ${worksrcpath}/caff/caff \
         ${worksrcpath}/caff/pgp-clean \
         ${worksrcpath}/caff/pgp-fixkey \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160823/4a88ffbb/attachment.html>


More information about the macports-changes mailing list