aboutsummaryrefslogtreecommitdiffstats
path: root/japanese
diff options
context:
space:
mode:
Diffstat (limited to 'japanese')
-rw-r--r--japanese/py-mecab/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/japanese/py-mecab/Makefile b/japanese/py-mecab/Makefile
index 936675b11ed6..224e84acf45f 100644
--- a/japanese/py-mecab/Makefile
+++ b/japanese/py-mecab/Makefile
@@ -3,6 +3,7 @@
PORTNAME= mecab
PORTVERSION= 0.996
+PORTREVISION= 1
CATEGORIES= japanese python textproc
MASTER_SITES= GOOGLE_CODE
DISTNAME= ${PORTNAME}-python-${PORTVERSION}
@@ -10,7 +11,7 @@ DISTNAME= ${PORTNAME}-python-${PORTVERSION}
MAINTAINER= jun-g@daemonfreaks.com
COMMENT= Python bindings for MeCab
-LICENSE= BSD GPLv2 LGPL21
+LICENSE= BSD3CLAUSE GPLv2 LGPL21
LICENSE_COMB= dual
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13
@@ -24,6 +25,9 @@ pre-patch:
@${REINPLACE_CMD} -e 's|cmd1("mecab-config --version")|"${PKGVERSION}"|' \
${WRKSRC}/setup.py
+post-install:
+ ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/_MeCab.so
+
.include <bsd.port.pre.mk>
PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${PYTHON_PKGNAMEPREFIX}