aboutsummaryrefslogtreecommitdiff
path: root/www/mapedit
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/mapedit
parentbd56afb5a8452d4d6a4a2aeddd0c1af7af82648f (diff)
downloadports-9ad1e91ce5149917597ebce667a35e6cbb30da05.tar.gz
ports-9ad1e91ce5149917597ebce667a35e6cbb30da05.zip
Notes
Diffstat (limited to 'www/mapedit')
-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