pkgsrc/textproc/py-marisa/Makefile
2014-06-02 13:08:20 +00:00

24 lines
660 B
Makefile

# $NetBSD: Makefile,v 1.2 2014/06/02 13:08:20 obache Exp $
#
.include "../../textproc/marisa/Makefile.common"
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES+= python
COMMENT= MARISA python module
USE_LANGUAGES= c c++
PYSETUPSUBDIR= bindings/python
PYTHON_VERSIONS_INCOMPATIBLE= 33 34 # not yet ported as of 0.2.4
SUBST_CLASSES+= version
SUBST_STAGE.version= pre-configure
SUBST_FILES.version= bindings/python/setup.py
SUBST_SED.version= -e s,@VERSION@,${PKGVERSION_NOREV},
BUILDLINK_API_DEPENDS.marisa+= marisa>=${PKGVERSION_NOREV}
.include "../../textproc/marisa/buildlink3.mk"
.include "../../lang/python/distutils.mk"
.include "../../mk/bsd.pkg.mk"