aboutsummaryrefslogtreecommitdiff
path: root/sysutils/munin-node
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2014-02-28 10:08:00 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2014-02-28 10:08:00 +0000
commit237dbf67966ab4fc70c9b34dcea433de53cd2166 (patch)
tree1731b9e71ffde77bb444f8c17bb4421b2e63a675 /sysutils/munin-node
parent4fdb1bd059cad5befb1b51ffaa44804263e2dcf0 (diff)
downloadports-237dbf67966ab4fc70c9b34dcea433de53cd2166.tar.gz
ports-237dbf67966ab4fc70c9b34dcea433de53cd2166.zip
Notes
Diffstat (limited to 'sysutils/munin-node')
-rw-r--r--sysutils/munin-node/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/sysutils/munin-node/Makefile b/sysutils/munin-node/Makefile
index 934569fec4aa..3fb4718849b3 100644
--- a/sysutils/munin-node/Makefile
+++ b/sysutils/munin-node/Makefile
@@ -3,6 +3,7 @@
PORTNAME= munin
PORTVERSION= ${MUNIN_VERSION}
+PORTREVISION= 1
CATEGORIES= sysutils perl5
MASTER_SITES= ${MUNIN_SITES}
PKGNAMESUFFIX= -node
@@ -82,6 +83,13 @@ post-patch:
${WRKSRC}/node/sbin/munin-node \
${WRKSRC}/node/sbin/munin-node-configure \
${WRKSRC}/node/sbin/munin-run
+ @${REINPLACE_CMD} \
+ -e 's|^\(BASH[[:space:]]*:=\).*|\1 ${bash_CMD}|' \
+ -e 's|^\(JAVARUN[[:space:]]*:=\).*|\1 ${java_CMD}|' \
+ -e 's|^\(PERL[[:space:]]*:=\).*|\1 ${perl_CMD}|' \
+ -e 's|^\(PYTHON[[:space:]]*:=\).*|\1 ${python_CMD}|' \
+ -e 's|^\(RUBY[[:space:]]*:=\).*|\1 ${ruby_CMD}|' \
+ ${WRKSRC}/Makefile.config
@${FIND} ${WRKSRC}/node/sbin -type f -name "*.orig" -delete
pre-su-install: