diff options
author | tsarna <tsarna@pkgsrc.org> | 2002-10-16 16:45:56 +0000 |
---|---|---|
committer | tsarna <tsarna@pkgsrc.org> | 2002-10-16 16:45:56 +0000 |
commit | ea5ac8f4a3d69a6f4e83a305ade9c12cef08abda (patch) | |
tree | f6149c261164ed367e418a18f17dd0a5a40ae2fa /textproc/py-expat/Makefile | |
parent | a04d56660d19f4c2bf4882e6046a0c4f2795e0a9 (diff) | |
download | pkgsrc-ea5ac8f4a3d69a6f4e83a305ade9c12cef08abda.tar.gz |
py-expat -- enables python's xml framework to use the expat parser.
Diffstat (limited to 'textproc/py-expat/Makefile')
-rw-r--r-- | textproc/py-expat/Makefile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/textproc/py-expat/Makefile b/textproc/py-expat/Makefile new file mode 100644 index 00000000000..bcd11707f4b --- /dev/null +++ b/textproc/py-expat/Makefile @@ -0,0 +1,33 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/10/16 16:45:56 tsarna Exp $ +# + +PKGNAME= ${PYPKGPREFIX}-expat-0 +CATEGORIES= textproc + +MAINTAINER= tsarna@netbsd.org +HOMEPAGE= http://www.python.org/ +COMMENT= Python interface to expat + +EXTRACT_ELEMENTS= ${PYSUBDIR}/Modules/pyexpat.c + +PYDISTUTILSPKG= yes +PYBINMODULE= yes +PY_PATCHPLIST= yes +PY_SETUP_SUBST+= EXPATPREFIX=${BUILDLINK_DIR} +PY_SETUP_SUBST+= EXPATRTPREFIX=${BUILDLINK_PREFIX.expat} + +PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX} + +USE_BUILDLINK2= yes + +# ignore errors due to missing files (EXTRACT_ELEMENTS!) +do-patch: + (cd ${WRKSRC}; \ + for f in ${PATCHDIR}/patch-*;do \ + ${PATCH} --batch <$$f || true; \ + done) + +.include "../../textproc/expat/buildlink2.mk" +.include "../../lang/python/srcdist.mk" +.include "../../lang/python/extension.mk" +.include "../../mk/bsd.pkg.mk" |