pkgsrc/textproc/py-enchant/Makefile
wiz e8cd64c88e Update to 1.6.6:
Version 1.6.6 of PyEnchant has been released, with the following changes:

    compatability with latest python releases
    "wheels" replace "eggs" as the binary distribution format of choice
    fix possible text corruption when using SpellChecker with a Chunker
2014-07-22 10:22:39 +00:00

35 lines
960 B
Makefile

# $NetBSD: Makefile,v 1.11 2014/07/22 10:22:39 wiz Exp $
DISTNAME= pyenchant-1.6.6
PKGNAME= ${DISTNAME:S/py/${PYPKGPREFIX}-/}
CATEGORIES= textproc
MASTER_SITES= http://pypi.python.org/packages/source/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+= enchant-[0-9]*:../../textproc/enchant
USE_LANGUAGES= # empty
FIND_PREFIX:= ENCHANT_DIR=enchant
.include "../../mk/find-prefix.mk"
.include "../../mk/bsd.prefs.mk"
DLEXT.dylib= dylib
DLEXT= ${DLEXT.${_OPSYS_SHLIB_TYPE}:Uso}
PYENCHANT_LIBRARY_PATH= ${ENCHANT_DIR}/lib/libenchant.${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"