pkgsrc/textproc/py-expat/Makefile

35 lines
832 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.14 2009/03/05 18:51:32 joerg Exp $
#
PKGNAME= ${PYPKGPREFIX}-expat-0
PKGREVISION= 4
CATEGORIES= textproc python
2003-07-18 00:50:55 +02:00
MAINTAINER= tsarna@NetBSD.org
HOMEPAGE= http://www.python.org/
COMMENT= Python interface to expat
PKG_DESTDIR_SUPPORT= user-destdir
EXTRACT_ELEMENTS= ${PYSUBDIR}/Modules/pyexpat.c
PYDISTUTILSPKG= yes
PY_PATCHPLIST= yes
PY_SETUP_SUBST+= EXPATPREFIX=${BUILDLINK_DIR}
PY_SETUP_SUBST+= EXPATRTPREFIX=${BUILDLINK_PREFIX.expat}
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
# ignore errors due to missing files (EXTRACT_ELEMENTS!)
do-patch:
(cd ${WRKSRC}; \
for f in ${PATCHDIR}/patch-*;do \
${PATCH} --batch <$$f || true; \
done)
2004-04-25 06:59:40 +02:00
.include "../../textproc/expat/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../lang/python/srcdist.mk"
.include "../../mk/bsd.pkg.mk"