summaryrefslogtreecommitdiffstats
path: root/www/znavigator/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/znavigator/Makefile')
-rw-r--r--www/znavigator/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/www/znavigator/Makefile b/www/znavigator/Makefile
index f7f4852..97d7bb8 100644
--- a/www/znavigator/Makefile
+++ b/www/znavigator/Makefile
@@ -17,6 +17,7 @@ MAINTAINER= nbm@FreeBSD.org
RUN_DEPENDS= ${LOCALBASE}/${SZOPEBASEDIR}/z2.py:${PORTSDIR}/www/zope
NO_BUILD= YES
+USE_REINPLACE= yes
# You can change this in the environment if you like.
SZOPEBASEDIR?= www/Zope
@@ -38,7 +39,8 @@ do-install:
${ZOPEBASEDIR}/${ZOPEPRODUCTDIR}/${ZOPEPRODUCTNAME}/
@${CP} ${ZOPEPRODUCTSRC}/demo/navigator_demo.zexp \
${ZOPEBASEDIR}/import
- @perl -pe 's#%%PREFIX%%#${PREFIX}#' ${FILESDIR}/MESSAGE > ${PKGMESSAGE}
+ @${REINPLACE_CMD} -e \
+ 's#%%PREFIX%%#${PREFIX}#' ${FILESDIR}/MESSAGE > ${PKGMESSAGE}
@${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
OpenPOWER on IntegriCloud