2004-04-25 06:59:40 +02:00
|
|
|
# $NetBSD: Makefile,v 1.5 2004/04/25 04:59:40 snj Exp $
|
2002-10-16 18:45:56 +02:00
|
|
|
#
|
|
|
|
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-expat-0
|
2003-10-11 15:40:19 +02:00
|
|
|
PKGREVISION= 1
|
2002-10-16 18:45:56 +02:00
|
|
|
CATEGORIES= textproc
|
|
|
|
|
2003-07-18 00:50:55 +02:00
|
|
|
MAINTAINER= tsarna@NetBSD.org
|
2002-10-16 18:45:56 +02:00
|
|
|
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}
|
|
|
|
|
2004-04-25 06:59:40 +02:00
|
|
|
USE_BUILDLINK3= yes
|
2002-10-16 18:45:56 +02:00
|
|
|
|
|
|
|
# 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"
|
2002-10-16 18:45:56 +02:00
|
|
|
.include "../../lang/python/extension.mk"
|
2002-12-10 16:08:19 +01:00
|
|
|
.include "../../lang/python/srcdist.mk"
|
2002-10-16 18:45:56 +02:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|