# $NetBSD: Makefile,v 1.3 2020/08/10 14:43:10 adam Exp $ DISTNAME= nltk-3.5 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} CATEGORIES= textproc python MASTER_SITES= ${MASTER_SITE_PYPI:=n/nltk/} EXTRACT_SUFX= .zip MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://www.nltk.org/ COMMENT= Natural Language Toolkit (NLTK) LICENSE= apache-2.0 DEPENDS+= ${PYPKGPREFIX}-click-[0-9]*:../../devel/py-click DEPENDS+= ${PYPKGPREFIX}-expat-[0-9]*:../../textproc/py-expat DEPENDS+= ${PYPKGPREFIX}-joblib-[0-9]*:../../devel/py-joblib DEPENDS+= ${PYPKGPREFIX}-nose>=1.1.2:../../devel/py-nose DEPENDS+= ${PYPKGPREFIX}-regex-[0-9]*:../../textproc/py-regex DEPENDS+= ${PYPKGPREFIX}-sqlite3-[0-9]*:../../databases/py-sqlite3 DEPENDS+= ${PYPKGPREFIX}-tqdm-[0-9]*:../../misc/py-tqdm DEPENDS+= ${PYPKGPREFIX}-yaml-[0-9]*:../../textproc/py-yaml REPLACE_PYTHON= nltk/corpus/reader/knbc.py REPLACE_PYTHON+= nltk/stem/rslp.py REPLACE_PYTHON+= nltk/test/runtests.py PYTHON_VERSIONS_INCOMPATIBLE= 27 post-install: cd ${DESTDIR}${PREFIX}/bin && \ ${MV} nltk nltk-${PYVERSSUFFIX} || ${TRUE} .include "../../lang/python/application.mk" .include "../../lang/python/egg.mk" .include "../../mk/bsd.pkg.mk"