svn commit: r372309 - head/japanese/py-mecab
Kurt Jaeger
pi at FreeBSD.org
Sat Nov 8 09:17:06 UTC 2014
Author: pi
Date: Sat Nov 8 09:17:06 2014
New Revision: 372309
URL: https://svnweb.freebsd.org/changeset/ports/372309
QAT: https://qat.redports.org/buildarchive/r372309/
Log:
japanese/py-mecab: some fixes
- Fix LICENSE(BSD -> BSD3CLAUSE)
- Strip shared library
PR: 191309
Submitted by: Yasuhiro KIMURA <yasu at utahime.org>
Approved by: <jun-g at daemonfreaks.com> (maintainer timeout)
Modified:
head/japanese/py-mecab/Makefile
Modified: head/japanese/py-mecab/Makefile
==============================================================================
--- head/japanese/py-mecab/Makefile Sat Nov 8 09:12:59 2014 (r372308)
+++ head/japanese/py-mecab/Makefile Sat Nov 8 09:17:06 2014 (r372309)
@@ -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-${PORTVERSI
MAINTAINER= jun-g at 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}
More information about the svn-ports-all
mailing list