pkgsrc/textproc/py-enchant/Makefile
wiz 866e138fc8 py-enchant: update to 2.0.0.
Changes not found.
2019-07-20 22:56:54 +00:00

32 lines
874 B
Makefile

# $NetBSD: Makefile,v 1.17 2019/07/20 22:56:54 wiz Exp $
DISTNAME= pyenchant-2.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:S/^py//}
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_PYPI:=p/pyenchant/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://pythonhosted.org/pyenchant/
COMMENT= Spellchecking library for Python
LICENSE= gnu-lgpl-v2.1
.include "../../lang/python/pyversion.mk"
DEPENDS+= enchant2-[0-9]*:../../textproc/enchant2
USE_LANGUAGES= # empty
.include "../../mk/bsd.prefs.mk"
DLEXT.dylib= dylib
DLEXT= ${DLEXT.${SHLIB_TYPE}:Uso}
PYENCHANT_LIBRARY_PATH= ${PREFIX}/lib/libenchant-2.${DLEXT}
# fix the path of libenchant with patch-ab.
SUBST_CLASSES+= dlpath
SUBST_STAGE.dlpath= pre-configure
SUBST_FILES.dlpath= enchant/_enchant.py
SUBST_VARS.dlpath= PYENCHANT_LIBRARY_PATH
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"