[71236] trunk/dports/www/ikiwiki/Portfile

tommyd at macports.org tommyd at macports.org
Sun Sep 5 14:42:33 PDT 2010


Revision: 71236
          http://trac.macports.org/changeset/71236
Author:   tommyd at macports.org
Date:     2010-09-05 14:42:29 -0700 (Sun, 05 Sep 2010)
Log Message:
-----------
- new upstream release
- add two variants for perl5.10 and perl5.12 as ikiwiki
  no longer seems to run out-of-the-box with perl5.8, make
  perl5.12 (the newest) the default. closes #26320

Modified Paths:
--------------
    trunk/dports/www/ikiwiki/Portfile

Modified: trunk/dports/www/ikiwiki/Portfile
===================================================================
--- trunk/dports/www/ikiwiki/Portfile	2010-09-05 21:03:05 UTC (rev 71235)
+++ trunk/dports/www/ikiwiki/Portfile	2010-09-05 21:42:29 UTC (rev 71236)
@@ -3,7 +3,7 @@
 PortSystem 1.0
 PortGroup perl5 1.0
 
-perl5.setup             ikiwiki 3.20100722
+perl5.setup             ikiwiki 3.20100831
 name                    ikiwiki
 categories              www perl
 description             A wiki compiler.
@@ -22,12 +22,24 @@
 
 patchfiles              patch-Makefile.PL.diff
 
-checksums               md5     c2aa8e0d602efdc7a3e94a81b9465348 \
-                        sha1    4613a82c48253996f858ae47e67e5e562c8272c8 \
-                        rmd160  33770af9aaa3308b2fb53e056ec47ef7a7bd09b8
+checksums               md5     0270ac24e132cf43d96e13e509b1ccdc \
+                        sha1    7aac193e19b572fa8f5395e2cf6fbc8b85d74f39 \
+                        rmd160  958591f586aee203cc122c76b8f746602ae59ae8
 
 depends_build           port:coreutils
+default_variants        +perl512
+set perl_binary ""
 
+variant perl510 conflicts perl512 description "Require an installed Perl 5.10" {
+    depends_build-append    port:perl5.10
+    set perl_binary "perl5.10"
+}
+
+variant perl512 conflicts perl510 description "Require an installed Perl 5.12" {
+    depends_build-append    port:perl5.12
+    set perl_binary "perl5.12"
+}
+
 # needed modules (see Bundle/IkiWiki.pm)
 depends_lib-append      port:p5-cgi-formbuilder \
                         port:p5-cgi-session \
@@ -59,7 +71,7 @@
 configure.args          INSTALLDIRS=vendor PREFIX=${prefix}
 
 post-patch {
-    reinplace "s|/usr/bin/perl|${prefix}/bin/perl|g" \
+    reinplace "s|/usr/bin/perl|${prefix}/bin/${perl_binary}|g" \
         ${worksrcpath}/ikiwiki.in \
         ${worksrcpath}/IkiWiki.pm \
         ${worksrcpath}/Makefile.PL \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100905/31d7ddae/attachment.html>


More information about the macports-changes mailing list