aboutsummaryrefslogtreecommitdiff
path: root/chinese/hanzim/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/hanzim/Makefile')
-rw-r--r--chinese/hanzim/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/chinese/hanzim/Makefile b/chinese/hanzim/Makefile
index 6d1e638a38bc..76e7f4f744cc 100644
--- a/chinese/hanzim/Makefile
+++ b/chinese/hanzim/Makefile
@@ -21,7 +21,11 @@ RUN_DEPENDS+= wish8.3:${PORTSDIR}/x11-toolkits/tk83
WRKSRC= ${WRKDIR}/Hanzim
ALL_TARGET= # empty
+USE_REINPLACE= yes
MAN1= hanzim.1
+post-patch:
+ ${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/hanzim.c
+
.include <bsd.port.mk>