[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / textproc / py-enchant

File: [cvs.NetBSD.org] / pkgsrc / textproc / py-enchant / Makefile (download)

Revision 1.10, Mon Apr 8 11:17:23 2013 UTC (11 years ago) by rodent
Branch: MAIN
CVS Tags: pkgsrc-2014Q2-base, pkgsrc-2014Q2, pkgsrc-2014Q1-base, pkgsrc-2014Q1, pkgsrc-2013Q4-base, pkgsrc-2013Q4, pkgsrc-2013Q3-base, pkgsrc-2013Q3, pkgsrc-2013Q2-base, pkgsrc-2013Q2
Changes since 1.9: +2 -2 lines

Remove "Trailing empty lines." and/or "Trailing white-space."

# $NetBSD: Makefile,v 1.10 2013/04/08 11:17:23 rodent Exp $
#

DISTNAME=	pyenchant-1.6.5
PKGNAME=	${DISTNAME:S/py/${PYPKGPREFIX}-/}
CATEGORIES=	textproc
MASTER_SITES=	http://pypi.python.org/packages/source/p/pyenchant/

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.rfk.id.au/software/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

post-extract:
	# fix README file permissions
	${CHMOD} 644 ${WRKSRC}/enchant/share/enchant/ispell/README.txt

.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"