[144321] trunk/dports/security/tinyca2/Portfile

mojca at macports.org mojca at macports.org
Wed Jan 6 07:46:10 PST 2016


Revision: 144321
          https://trac.macports.org/changeset/144321
Author:   mojca at macports.org
Date:     2016-01-06 07:46:10 -0800 (Wed, 06 Jan 2016)
Log Message:
-----------
tinyca2: switch to perl5.22 (#48365)

Modified Paths:
--------------
    trunk/dports/security/tinyca2/Portfile

Modified: trunk/dports/security/tinyca2/Portfile
===================================================================
--- trunk/dports/security/tinyca2/Portfile	2016-01-06 15:43:18 UTC (rev 144320)
+++ trunk/dports/security/tinyca2/Portfile	2016-01-06 15:46:10 UTC (rev 144321)
@@ -1,10 +1,12 @@
 # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
 # $Id$
 PortSystem          1.0
+PortGroup           perl5 1.0
 
 name                tinyca2
 version             0.7.5
-revision            3
+revision            4
+perl5.branches      5.22
 license             GPL
 categories          security net
 maintainers         nomaintainer
@@ -15,12 +17,16 @@
 platforms           darwin
 homepage            http://www.wikipedia.org/wiki/TinyCA
 master_sites        macports_distfiles:${name}
+
 checksums           rmd160  db384b635030164b0c32a4a814c170002105a375 \
                     sha256  4227af38fee310741da29ff0681bba55f547548d98b6a5e61b3f768588de47dd
-depends_lib         path:lib/libssl.dylib:openssl port:zip \
-                    port:gettext port:p5.16-gtk2 \
-                    port:p5.16-locale-gettext
 
+depends_lib         path:lib/libssl.dylib:openssl \
+                    port:zip \
+                    port:gettext \
+                    port:p${perl5.major}-gtk2 \
+                    port:p${perl5.major}-locale-gettext
+
 patchfiles          patch-tinyca2
 
 use_configure       no
@@ -33,7 +39,7 @@
     reinplace s|@OPENSSL@|${prefix}/bin/openssl|g ${worksrcpath}/tinyca2
     reinplace s|@ZIP@|${prefix}/bin/zip|g ${worksrcpath}/tinyca2
     reinplace s|@TAR@|/usr/bin/tar|g ${worksrcpath}/tinyca2
-    reinplace s|/usr/bin/perl|${prefix}/bin/perl5.16|g ${worksrcpath}/tinyca2
+    reinplace s|/usr/bin/perl|${perl5.bin}|g ${worksrcpath}/tinyca2
 }
 
 pre-build {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160106/2d874878/attachment-0001.html>


More information about the macports-changes mailing list