summaryrefslogtreecommitdiff
path: root/www/mapedit/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/mapedit/Makefile')
-rw-r--r--www/mapedit/Makefile4
1 files changed, 4 insertions, 0 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