[140543] trunk/dports/x11/auto-multiple-choice/Portfile

ionic at macports.org ionic at macports.org
Mon Sep 21 22:47:14 PDT 2015


Revision: 140543
          https://trac.macports.org/changeset/140543
Author:   ionic at macports.org
Date:     2015-09-21 22:47:14 -0700 (Mon, 21 Sep 2015)
Log Message:
-----------
auto-multiple-choice: apply patch provided by maintainer for easy switching between perl versions. Revbump due to potentially changed build procedure. Part of: #48390.

Modified Paths:
--------------
    trunk/dports/x11/auto-multiple-choice/Portfile

Modified: trunk/dports/x11/auto-multiple-choice/Portfile
===================================================================
--- trunk/dports/x11/auto-multiple-choice/Portfile	2015-09-22 04:37:47 UTC (rev 140542)
+++ trunk/dports/x11/auto-multiple-choice/Portfile	2015-09-22 05:47:14 UTC (rev 140543)
@@ -2,10 +2,12 @@
 # $Id$
 
 PortSystem              1.0
+PortGroup               perl5 1.0
 
+perl5.branches          5.16
 name                    auto-multiple-choice
 version                 1.2.1
-revision                2
+revision                3
 categories              x11 tex education
 platforms               darwin
 license                 GPL-2+
@@ -29,36 +31,46 @@
 checksums               sha256 534b1a9cd855532bd6c065a29e09dec2ba07c8ee155317e416260a9d5942420a \
                         rmd160 760b64682e583147b9a774233b10de68513353e3
 
-depends_lib             port:opencv
-depends_run             port:p5.16-gtk2 \
-                        port:p5.16-xml-simple \
-                        port:p5.16-xml-writer \
-                        port:p5.16-archive-zip \
-                        port:p5.16-locale-gettext \
-                        port:p5.16-digest-md5 \
-                        port:p5.16-module-load-conditional \
-                        port:p5.16-perlmagick \
-                        port:p5.16-openoffice-oodoc \
-                        port:p5.16-file-mimeinfo \
-                        port:p5.16-dbd-sqlite \
-                        port:p5.16-text-csv \
-                        port:p5.16-file-basedir \
-                        port:p5.16-email-mime \
-                        port:p5.16-email-sender \
+depends_lib-append      port:opencv
+
+depends_run             port:p${perl5.major}-gtk2 \
+                        port:p${perl5.major}-xml-simple \
+                        port:p${perl5.major}-xml-writer \
+                        port:p${perl5.major}-archive-zip \
+                        port:p${perl5.major}-locale-gettext \
+                        port:p${perl5.major}-digest-md5 \
+                        port:p${perl5.major}-module-load-conditional \
+                        port:p${perl5.major}-perlmagick \
+                        port:p${perl5.major}-openoffice-oodoc \
+                        port:p${perl5.major}-file-mimeinfo \
+                        port:p${perl5.major}-dbd-sqlite \
+                        port:p${perl5.major}-text-csv \
+                        port:p${perl5.major}-file-basedir \
+                        port:p${perl5.major}-email-mime \
+                        port:p${perl5.major}-email-sender \
                         port:sqlite3 \
                         port:poppler \
                         port:netpbm \
                         port:librsvg \
                         port:gdk-pixbuf2
 
-use_configure           no
 patchfiles              patch-makefile-macport.conf.diff
 
+use_configure           no
+
+pre-build {
+    build.args-append PERLPATH=${perl5.bin} PERLDIR=${perl5.lib}
+}
+
 build.args              AMCCONF=macports \
                         BASEPATH=${prefix} \
                         LATEX_FREE=1 \
                         GCC_PP="${configure.cc} ${configure.cc_archflags}"
-                    
+
+pre-destroot {
+    destroot.args-append PERLDIR=${perl5.lib}
+}
+
 destroot.args           AMCCONF=macports \
                         BASEPATH=${prefix}
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150921/a81513c3/attachment.html>


More information about the macports-changes mailing list