aboutsummaryrefslogtreecommitdiff
path: root/japanese/mozc-additions/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/mozc-additions/Makefile')
-rw-r--r--japanese/mozc-additions/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/japanese/mozc-additions/Makefile b/japanese/mozc-additions/Makefile
index 9a93a1da6948..a6ff9a158037 100644
--- a/japanese/mozc-additions/Makefile
+++ b/japanese/mozc-additions/Makefile
@@ -7,7 +7,7 @@
PORTNAME= mozc-additions
PORTVERSION= 1.3.911.102
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= japanese
MASTER_SITES= http://people.freebsd.org/~daichi/distfiles/
@@ -16,13 +16,11 @@ COMMENT= Additional tools and images for Mozc Japanese Input Method
NO_BUILD= yes
LOCALBASE_REPLACE_FILES= \
- ${WRKSRC}/Makefile
+ Makefile
post-patch:
- @for FILE in ${LOCALBASE_REPLACE_FILES}; \
- do \
- ${SED} -i .bak -e "s/@@LOCALBASE@@/${LOCALBASE:S/\//\\\//g}/g" \
- $${FILE}; \
- done;
+ cd ${WRKSRC} && \
+ ${REINPLACE_CMD} "s/@@LOCALBASE@@/${LOCALBASE:S/\//\\\//g}/g" \
+ ${LOCALBASE_REPLACE_FILES}
.include <bsd.port.mk>