[104249] trunk/dports/games/frozenbubble2/Portfile
ryandesign at macports.org
ryandesign at macports.org
Thu Mar 21 17:17:10 PDT 2013
Revision: 104249
https://trac.macports.org/changeset/104249
Author: ryandesign at macports.org
Date: 2013-03-21 17:17:10 -0700 (Thu, 21 Mar 2013)
Log Message:
-----------
frozenbubble2: do not install perllocal.pod or .packlist files (#22057); disable universal variant
Modified Paths:
--------------
trunk/dports/games/frozenbubble2/Portfile
Modified: trunk/dports/games/frozenbubble2/Portfile
===================================================================
--- trunk/dports/games/frozenbubble2/Portfile 2013-03-21 23:50:32 UTC (rev 104248)
+++ trunk/dports/games/frozenbubble2/Portfile 2013-03-22 00:17:10 UTC (rev 104249)
@@ -5,7 +5,7 @@
name frozenbubble2
categories games
version 2.2.0
-revision 1
+revision 2
platforms darwin
maintainers pmq
@@ -36,7 +36,7 @@
compiler.blacklist clang
patchfiles patch-c_stuff-Makefile.PL.diff patch-Makefile.diff patch-c_stuff-Makefile.diff
-configure {
+post-patch {
foreach file [glob ${worksrcpath}/frozen-bubble*] {
reinplace "s|/usr/bin/perl|${prefix}/bin/perl5.12|g" ${file}
}
@@ -44,5 +44,21 @@
${worksrcpath}/c_stuff/Makefile
}
+use_configure no
+
build.args PREFIX="${prefix}" CC="${configure.cc}" LD="${configure.cc}"
+
destroot.args PREFIX="${prefix}"
+
+post-destroot {
+ fs-traverse f ${destroot}${prefix} {
+ if {[file isfile ${f}]} {
+ switch [file tail ${f}] {
+ .packlist -
+ perllocal.pod {
+ delete ${f}
+ }
+ }
+ }
+ }
+}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130321/711bb10f/attachment.html>
More information about the macports-changes
mailing list