1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

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)
This commit is contained in:
Kurt Jaeger 2014-11-08 09:17:06 +00:00
parent bc4b51938e
commit faf44b25f2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372309

View File

@ -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}