aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/chasen-base/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/chasen-base/Makefile')
-rw-r--r--japanese/chasen-base/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/japanese/chasen-base/Makefile b/japanese/chasen-base/Makefile
index e70efcd25ec3..8f87fde0f5cb 100644
--- a/japanese/chasen-base/Makefile
+++ b/japanese/chasen-base/Makefile
@@ -3,7 +3,7 @@
PORTNAME= chasen
PORTVERSION= 2.4.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= japanese textproc
MASTER_SITES= SOURCEFORGE_JP/chasen-legacy/56305
PKGNAMESUFFIX= -base
@@ -21,6 +21,11 @@ INSTALL_TARGET= install-strip
OPTIONS_DEFINE= DOCS
+post-patch:
+ @${REINPLACE_CMD} \
+ -e 's/iconv ()/libiconv ()/' \
+ -e 's/-liconv/${ICONV_LIB}/' ${WRKSRC}/configure
+
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/share/chasen/dic
${MKDIR} ${STAGEDIR}${DOCSDIR}