06aaeab07e
MeCab python module.
26 lines
656 B
Makefile
26 lines
656 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2007/05/12 13:56:34 obache Exp $
|
|
#
|
|
|
|
.include "../../textproc/mecab/Makefile.common"
|
|
|
|
DISTNAME= mecab-python-${MECAB_VERSION}
|
|
PKGNAME= ${PYPKGPREFIX}-mecab-${MECAB_VERSION}
|
|
CATEGORIES+= python
|
|
|
|
COMMENT= MeCab python module
|
|
|
|
USE_LANGUAGES= c c++
|
|
|
|
PYDISTUTILSPKG= yes
|
|
PYBINMODULE= yes
|
|
|
|
TEST_ENV+= PYTHONPATH=${WRKSRC:Q}/build/lib.${LOWER_OPSYS}-${OS_VERSION}-${MACHINE_ARCH}-${PYVERSSUFFIX}
|
|
|
|
do-test:
|
|
${_PKG_SILENT}${_PKG_DEBUG}${_ULIMIT_CMD} \
|
|
cd ${WRKSRC}; \
|
|
env ${TEST_ENV} ${PYTHONBIN} test.py
|
|
|
|
.include "../../textproc/mecab/buildlink3.mk"
|
|
.include "../../lang/python/extension.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|