aboutsummaryrefslogtreecommitdiff
path: root/misc/gonvert/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-22 17:23:30 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-06-22 17:23:30 +0000
commit3b9032fabc47df7c423b0fe802d1060c7b4e5816 (patch)
treebc94b068979a41f61931d2bd7979481f6acd573b /misc/gonvert/Makefile
parent7b3cf63dbe867642387b83d0d46a6ef77e970a05 (diff)
downloadports-3b9032fabc47df7c423b0fe802d1060c7b4e5816.tar.gz
ports-3b9032fabc47df7c423b0fe802d1060c7b4e5816.zip
Notes
Diffstat (limited to 'misc/gonvert/Makefile')
-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