44440faafd
2009-09-27 MeCab 0.98 * UTF16 support (experimental) * On Windows, changed to use Native API (ex. MultiByteToWideChar) for codeset conversion. * Convert source code to Google coding style. * Add EON (end of N-best) format option (-S or --eon-format) * Fixes problems hankaku-kana handling on Shift-JIS environment * support online leraning (experimental) * Now buildable without -Wno-deprecated * and some small fixes.
30 lines
748 B
Makefile
30 lines
748 B
Makefile
# $NetBSD: Makefile,v 1.4 2009/10/14 08:22:35 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++
|
|
|
|
PYDISTUTILSPKG= yes
|
|
|
|
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/extension.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|