aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2014-11-08 09:17:06 +0000
committerKurt Jaeger <pi@FreeBSD.org>2014-11-08 09:17:06 +0000
commitfaf44b25f28a33884b2753facd8d82ab3a187556 (patch)
tree75329038af4e58f0533aa3ed4760679fcdd91107 /japanese
parentbc4b51938e4783db181215fb4777d63dc64c5dcb (diff)
downloadports-faf44b25f28a33884b2753facd8d82ab3a187556.tar.gz
ports-faf44b25f28a33884b2753facd8d82ab3a187556.zip
Notes
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}