5a170092db
2012-01-27 MeCab 0.993 * Fix to works well for MeCab::Tagger::formatNode() * To reduce stack size, save almost of local variables(arrays) to heap. 2012-01-14 MeCab 0.992 * Fix typos in source codes. 2012-01-14 MeCab 0.991 * Fix parse error with null strings or space strings. * Fix failure for creation of user dictionaries. 2011-12-24 MeCab 0.99 * Add MeCab::Model MeCab::Lattice classes. Improve usabilities on multi threads environment. Multiple threads can parse with shareing same dictionary. * Remove function for automatic dictionary reference share when refereing same dictionaly (You can do same works with MeCab::Model). * Add function for atomic dictionaly update in parsing. Model::swap() * Change Windows version to Unicode binary. * Remove experimental online learning, HMM and EM learning codes. * Remove MeCab::Node:(begin|end)_node_list members. * minor bug fixes.
30 lines
757 B
Makefile
30 lines
757 B
Makefile
# $NetBSD: Makefile,v 1.6 2012/02/27 11:53:07 obache Exp $
|
|
#
|
|
|
|
.include "../../textproc/mecab/Makefile.common"
|
|
|
|
DISTNAME= mecab-python-${MECAB_VERSION}
|
|
PKGNAME= ${PYPKGPREFIX}-mecab-${MECAB_VERSION}
|
|
CATEGORIES+= python
|
|
|
|
COMMENT= MeCab python module
|
|
LICENSE= gnu-gpl-v2 OR gnu-lgpl-v2.1 OR modified-bsd
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
EGG_NAME= ${DISTNAME:S/-/_/}
|
|
|
|
TEST_ENV+= PYTHONPATH=${WRKSRC:Q}/build/lib.${LOWER_OPSYS}-${OS_VERSION}-${MACHINE_ARCH}-${PYVERSSUFFIX}
|
|
|
|
do-test:
|
|
${RUN} \
|
|
cd ${WRKSRC}; \
|
|
env ${TEST_ENV} ${PYTHONBIN} test.py
|
|
|
|
BUILDLINK_API_DEPENDS.mecab+= mecab>=${MECAB_VERSION}
|
|
|
|
.include "../../textproc/mecab/buildlink3.mk"
|
|
.include "../../lang/python/distutils.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|