Revision
80019
Author
jmr@macports.org
Date
2011-07-01 23:29:50 -0700 (Fri, 01 Jul 2011)

Log Message

munin: correct shebang lines in several scripts (#25583)

Modified Paths

Diff

Modified: trunk/dports/net/munin/Portfile (80018 => 80019)


--- trunk/dports/net/munin/Portfile	2011-07-02 05:17:30 UTC (rev 80018)
+++ trunk/dports/net/munin/Portfile	2011-07-02 06:29:50 UTC (rev 80019)
@@ -5,6 +5,7 @@
 
 name                munin
 version             1.4.4
+revision            1
 categories          net
 maintainers         alpha
 platforms           darwin
@@ -37,6 +38,18 @@
 patchfiles          patch-Makefile-javaplugin \
                     patch-Makefile.config \
                     patch-munin-node.conf.in
+post-patch {
+    reinplace "s|/usr/bin/perl|${prefix}/bin/perl|" \
+        ${worksrcpath}/master/_bin/munin-update.in \
+        ${worksrcpath}/node/extras/munin-node-sched \
+        ${worksrcpath}/node/extras/munin-node-simple.in \
+        ${worksrcpath}/node/bin/munindoc \
+        ${worksrcpath}/contrib/munin-every-services-all-boxes-build-html.in \
+        ${worksrcpath}/node/sbin/munin-node \
+        ${worksrcpath}/node/sbin/munin-node-configure \
+        ${worksrcpath}/node/sbin/munin-run
+}
+
 build.target        build
 build.args          PREFIX=${prefix} \
                     CONFDIR=${prefix}/etc/munin \