aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-04 05:28:10 +0800
committeredwin <edwin@FreeBSD.org>2002-11-04 05:28:10 +0800
commitdb27c4ed29e08a1ce86bb4c6a566cd25552e7a17 (patch)
tree81fe685b68eb155cb51d78b6623d3763ec91c936 /www
parenta8552e59f3b39449195a8fdca9a0e4efb7cc2c2e (diff)
downloadfreebsd-ports-gnome-db27c4ed29e08a1ce86bb4c6a566cd25552e7a17.tar.gz
freebsd-ports-gnome-db27c4ed29e08a1ce86bb4c6a566cd25552e7a17.tar.zst
freebsd-ports-gnome-db27c4ed29e08a1ce86bb4c6a566cd25552e7a17.zip
Remove perl from Makefile, see
http://bento.freebsd.org/errorlogs/5-latest/mapedit-2.3_1.log
Diffstat (limited to 'www')
-rw-r--r--www/mapedit/Makefile4
-rw-r--r--www/mapedit/scripts/post-patch3
2 files changed, 4 insertions, 3 deletions
diff --git a/www/mapedit/Makefile b/www/mapedit/Makefile
index f2dda8f3ff84..500cd1a21a53 100644
--- a/www/mapedit/Makefile
+++ b/www/mapedit/Makefile
@@ -18,6 +18,10 @@ RUN_DEPENDS= ${LOCALBASE}/jdk${JDK_VERSION}/bin/java:${PORTSDIR}/java/jdk11
JDK_VERSION= 1.1.8
NO_BUILD= yes
+USE_REINPLACE= yes
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|!!LOCALBASE!!|${LOCALBASE}|" ${WRKSRC}/mapedit
pre-install:
@${CAT} ${WRKSRC}/README.TXT
diff --git a/www/mapedit/scripts/post-patch b/www/mapedit/scripts/post-patch
deleted file mode 100644
index 2dc1eb1125e4..000000000000
--- a/www/mapedit/scripts/post-patch
+++ /dev/null
@@ -1,3 +0,0 @@
-#! /bin/sh
-
-perl -pi -e "s|!!LOCALBASE!!|$LOCALBASE|" ${WRKSRC}/mapedit