summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-03 21:28:10 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-03 21:28:10 +0000
commit9ad1e91ce5149917597ebce667a35e6cbb30da05 (patch)
tree1fd41e9b928765d3bc7b82e7bdcf8b79c8ba1fcf /www
parentPERL-re -> REINPLACE_CMD for this port. (diff)
Remove perl from Makefile, see
http://bento.freebsd.org/errorlogs/5-latest/mapedit-2.3_1.log
Notes
Notes: svn path=/head/; revision=69377
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