aboutsummaryrefslogtreecommitdiffstats
path: root/misc/gonvert
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-23 01:23:30 +0800
committerijliao <ijliao@FreeBSD.org>2002-06-23 01:23:30 +0800
commit8545a2e67fcd00c39e1d49278039599fde0a3c96 (patch)
tree93c69ec1765552a1e68bc7a639a178521cfdbd2e /misc/gonvert
parenta05fa76323fffdebea8fa39b9c6b32db8f07f949 (diff)
downloadfreebsd-ports-gnome-8545a2e67fcd00c39e1d49278039599fde0a3c96.tar.gz
freebsd-ports-gnome-8545a2e67fcd00c39e1d49278039599fde0a3c96.tar.zst
freebsd-ports-gnome-8545a2e67fcd00c39e1d49278039599fde0a3c96.zip
Replace ${PERL} with ${REINPLACE_CMD}
PR: 39665 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'misc/gonvert')
-rw-r--r--misc/gonvert/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/gonvert/Makefile b/misc/gonvert/Makefile
index 38c1b33a046a..2c04fce81943 100644
--- a/misc/gonvert/Makefile
+++ b/misc/gonvert/Makefile
@@ -17,6 +17,7 @@ MAINTAINER= ports@FreeBSD.org
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/GTK.py:${PORTSDIR}/x11-toolkits/py-gtk \
${PYTHON_SITELIBDIR}/gnome/ui.py:${PORTSDIR}/x11-toolkits/py-gnome
+USE_REINPLACE= yes
USE_PYTHON= yes
USE_X_PREFIX= yes
USE_GNOME= yes
@@ -25,8 +26,8 @@ USE_GMAKE= yes
NO_BUILD= yes
post-patch:
- @${PERL} -pi -e "s,/usr/bin/python,${PYTHON_CMD},g" ${WRKSRC}/${PORTNAME}
- @${PERL} -pi -e "s,gnome-config,${GNOME_CONFIG},g ; \
+ @${REINPLACE_CMD} -e "s,/usr/bin/python,${PYTHON_CMD},g" ${WRKSRC}/${PORTNAME}
+ @${REINPLACE_CMD} -e "s,gnome-config,${GNOME_CONFIG},g ; \
s,--directory,-d --mode=755,g ; \
s,install ,install -c ,g" ${WRKSRC}/Makefile