diff options
author | pi <pi@FreeBSD.org> | 2014-11-08 17:17:06 +0800 |
---|---|---|
committer | pi <pi@FreeBSD.org> | 2014-11-08 17:17:06 +0800 |
commit | c5c7121b246e0288c4559ba4692974147af8ee18 (patch) | |
tree | 75329038af4e58f0533aa3ed4760679fcdd91107 /japanese | |
parent | 128dba7d9fc75ce7f3604fcbdd39bad92eb9046a (diff) | |
download | freebsd-ports-gnome-c5c7121b246e0288c4559ba4692974147af8ee18.tar.gz freebsd-ports-gnome-c5c7121b246e0288c4559ba4692974147af8ee18.tar.zst freebsd-ports-gnome-c5c7121b246e0288c4559ba4692974147af8ee18.zip |
japanese/py-mecab: some fixes
- Fix LICENSE(BSD -> BSD3CLAUSE)
- Strip shared library
PR: 191309
Submitted by: Yasuhiro KIMURA <yasu@utahime.org>
Approved by: <jun-g@daemonfreaks.com> (maintainer timeout)
Diffstat (limited to 'japanese')
-rw-r--r-- | japanese/py-mecab/Makefile | 6 |
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} |