[87320] trunk/dports/tex/biblatex-biber/Portfile

dports at macports.org dports at macports.org
Wed Nov 16 17:26:28 PST 2011


Revision: 87320
          http://trac.macports.org/changeset/87320
Author:   dports at macports.org
Date:     2011-11-16 17:26:28 -0800 (Wed, 16 Nov 2011)
Log Message:
-----------
biblatex-biber: add perl5_12 and perl5_14 variants to select the
version of perl to use

Modified Paths:
--------------
    trunk/dports/tex/biblatex-biber/Portfile

Modified: trunk/dports/tex/biblatex-biber/Portfile
===================================================================
--- trunk/dports/tex/biblatex-biber/Portfile	2011-11-17 01:10:59 UTC (rev 87319)
+++ trunk/dports/tex/biblatex-biber/Portfile	2011-11-17 01:26:28 UTC (rev 87320)
@@ -5,9 +5,10 @@
 PortGroup perl5 1.0
 
 name            biblatex-biber
-perl5.major     5.12
+if {[variant_isset perl5_12]} { perl5.default_branch 5.12 }
+if {[variant_isset perl5_14]} { perl5.default_branch 5.14 }
 perl5.setup     Biber 0.9.5
-revision        1
+revision        2
 
 categories      tex
 license         {Artistic GPL}
@@ -26,6 +27,12 @@
 supported_archs noarch
 homepage        http://biblatex-biber.sourceforge.net/
 
+variant perl5_12 description "use perl version 5.12" conflicts perl5_14 {}
+variant perl5_14 description "use perl version 5.14" conflicts perl5_12 {}
+if {![variant_isset perl5_14]} {
+    default_variants +perl5_12
+}
+
 master_sites    sourceforge:project/${name}/${name}/${version}
 distname        ${name}
 # stealth update; see #30923
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20111116/6ec6a585/attachment.html>


More information about the macports-changes mailing list