Edit Makefile.config to provide the correct interpreter locations.

Approved by:	maintainer (flo)
This commit is contained in:
Dag-Erling Smørgrav 2014-02-28 10:08:00 +00:00
parent 4fdb1bd059
commit 237dbf6796
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346477

View File

@ -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: