[144326] trunk/dports/mail/sympa/Portfile

mojca at macports.org mojca at macports.org
Wed Jan 6 10:25:55 PST 2016


Revision: 144326
          https://trac.macports.org/changeset/144326
Author:   mojca at macports.org
Date:     2016-01-06 10:25:55 -0800 (Wed, 06 Jan 2016)
Log Message:
-----------
sympa: switch to perl5.22 (#48365, untested)

Modified Paths:
--------------
    trunk/dports/mail/sympa/Portfile

Modified: trunk/dports/mail/sympa/Portfile
===================================================================
--- trunk/dports/mail/sympa/Portfile	2016-01-06 18:03:03 UTC (rev 144325)
+++ trunk/dports/mail/sympa/Portfile	2016-01-06 18:25:55 UTC (rev 144326)
@@ -2,11 +2,13 @@
 # $Id$
 
 PortSystem          1.0
+PortGroup           perl5 1.0
 
 name                sympa
 version             6.1.23
-revision            1
+revision            2
 set branch          [join [lrange [split ${version} .] 0 1] .]
+perl5.branches      5.22
 categories          mail
 license             GPL-2
 maintainers         nomaintainer
@@ -30,41 +32,41 @@
                     port:mod_fcgid \
                     path:lib/libssl.dylib:openssl \
                     port:postfix \
-                    port:p5.16-archive-zip \
-                    port:p5.16-authcas \
-                    port:p5.16-cgi \
-                    port:p5.16-cgi-fast \
-                    port:p5.16-crypt-ciphersaber \
-                    port:p5.16-crypt-openssl-x509 \
-                    port:p5.16-data-password \
-                    port:p5.16-dbi \
-                    port:p5.16-digest-md5 \
-                    port:p5.16-fcgi \
-                    port:p5.16-file-copy-recursive \
-                    port:p5.16-html-format \
-                    port:p5.16-html-stripscripts-parser \
-                    port:p5.16-html-tree \
-                    port:p5.16-io-stringy \
-                    port:p5.16-io-socket-ssl \
-                    port:p5.16-libintl-perl \
-                    port:p5.16-libwww-perl \
-                    port:p5.16-mailtools \
-                    port:p5.16-mail-dkim \
-                    port:p5.16-mhonarc \
-                    port:p5.16-mime-base64 \
-                    port:p5.16-mime-charset \
-                    port:p5.16-mime-encwords \
-                    port:p5.16-mime-lite-html \
-                    port:p5.16-mime-tools \
-                    port:p5.16-net-dns \
-                    port:p5.16-net-netmask \
-                    port:p5.16-perl-ldap \
-                    port:p5.16-soap-lite \
-                    port:p5.16-template-toolkit \
-                    port:p5.16-term-progressbar \
-                    port:p5.16-time-hires \
-                    port:p5.16-unicode-linebreak \
-                    port:p5.16-xml-libxml
+                    port:p${perl5.major}-archive-zip \
+                    port:p${perl5.major}-authcas \
+                    port:p${perl5.major}-cgi \
+                    port:p${perl5.major}-cgi-fast \
+                    port:p${perl5.major}-crypt-ciphersaber \
+                    port:p${perl5.major}-crypt-openssl-x509 \
+                    port:p${perl5.major}-data-password \
+                    port:p${perl5.major}-dbi \
+                    port:p${perl5.major}-digest-md5 \
+                    port:p${perl5.major}-fcgi \
+                    port:p${perl5.major}-file-copy-recursive \
+                    port:p${perl5.major}-html-format \
+                    port:p${perl5.major}-html-stripscripts-parser \
+                    port:p${perl5.major}-html-tree \
+                    port:p${perl5.major}-io-stringy \
+                    port:p${perl5.major}-io-socket-ssl \
+                    port:p${perl5.major}-libintl-perl \
+                    port:p${perl5.major}-libwww-perl \
+                    port:p${perl5.major}-mailtools \
+                    port:p${perl5.major}-mail-dkim \
+                    port:p${perl5.major}-mhonarc \
+                    port:p${perl5.major}-mime-base64 \
+                    port:p${perl5.major}-mime-charset \
+                    port:p${perl5.major}-mime-encwords \
+                    port:p${perl5.major}-mime-lite-html \
+                    port:p${perl5.major}-mime-tools \
+                    port:p${perl5.major}-net-dns \
+                    port:p${perl5.major}-net-netmask \
+                    port:p${perl5.major}-perl-ldap \
+                    port:p${perl5.major}-soap-lite \
+                    port:p${perl5.major}-template-toolkit \
+                    port:p${perl5.major}-term-progressbar \
+                    port:p${perl5.major}-time-hires \
+                    port:p${perl5.major}-unicode-linebreak \
+                    port:p${perl5.major}-xml-libxml
 
 pre-patch {
     copy ${filespath}/httpd-sympa.conf ${worksrcpath}
@@ -79,7 +81,7 @@
                     ${worksrcpath}/src/lib/confdef.pm
 }
 
-configure.args      --with-perl=${prefix}/bin/perl5.16 \
+configure.args      --with-perl=${perl5.bin} \
                     --with-user=www \
                     --with-group=www \
                     --enable-fhs \
@@ -119,19 +121,19 @@
 
 variant postgresql description {Install optional dependencies for PostgreSQL database support} {
     depends_lib-append \
-                    port:p5.16-dbd-pg
+                    port:p${perl5.major}-dbd-pg
 }
 
 variant sqlite description {Install optional dependencies for SQLite version 3 database support} {
     depends_lib-append \
-                    port:p5.16-dbd-sqlite
+                    port:p${perl5.major}-dbd-sqlite
 }
 
 # if neither postgresql nor sqlite selected default to mysql
 
 if {![variant_isset postgresql] && ![variant_isset sqlite]} {
     depends_lib-append \
-                    port:p5.16-dbd-mysql
+                    port:p${perl5.major}-dbd-mysql
 }
 
 post-activate {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160106/7af01c89/attachment.html>


More information about the macports-changes mailing list