From c5c7121b246e0288c4559ba4692974147af8ee18 Mon Sep 17 00:00:00 2001 From: pi Date: Sat, 8 Nov 2014 09:17:06 +0000 Subject: japanese/py-mecab: some fixes - Fix LICENSE(BSD -> BSD3CLAUSE) - Strip shared library PR: 191309 Submitted by: Yasuhiro KIMURA Approved by: (maintainer timeout) --- japanese/py-mecab/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'japanese') 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 PKGNAMEPREFIX:= ${PKGNAMEPREFIX}${PYTHON_PKGNAMEPREFIX} -- cgit