On Dec 9, 2008, at 13:55, [EMAIL PROTECTED] wrote:
Revision: 43346
http://trac.macports.org/changeset/43346
Author: [EMAIL PROTECTED]
Date: 2008-12-09 11:55:23 -0800 (Tue, 09 Dec 2008)
Log Message:
-----------
Remove the .htaccess file.
Modified Paths:
--------------
trunk/dports/net/network-weathermap/Portfile
Modified: trunk/dports/net/network-weathermap/Portfile
===================================================================
--- trunk/dports/net/network-weathermap/Portfile 2008-12-09
18:52:37 UTC (rev 43345)
+++ trunk/dports/net/network-weathermap/Portfile 2008-12-09
19:55:23 UTC (rev 43346)
@@ -4,7 +4,7 @@
name network-weathermap
version 0.95b
-revision 1
+revision 2
categories net
maintainers markd
platforms darwin
@@ -40,9 +40,15 @@
reinplace "s|/usr/local/|/opt/local/|g" \
${worksrcpath}/weathermap \
${worksrcpath}/weathermap-cacti-rebuild.php
+
+# Set perl location
+ reinplace "s|/usr/bin/perl|/opt/local/bin/perl|g" \
+ ${worksrcpath}/random-bits/auto-overlib.pl
}
This perl location change seems unrelated, and also not correct since
you're hard-coding /opt/local instead of using ${prefix}. You also
need a runtime dependency on path:bin/perl:perl5 then.
Actually the port already hardcodes /opt/local in another reinplace
above, so that needs to be fixed too.
destroot {
+ file delete ${worksrcpath}/configs/.htaccess
+
file mkdir ${destroot}${pluginsdir}/weathermap
system "cp -R ${worksrcpath}/* ${destroot}${pluginsdir}/weathermap"
_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev