diff options
-rw-r--r-- | textproc/py-libxml2/Makefile | 8 | ||||
-rw-r--r-- | textproc/py-libxml2/PLIST | 3 |
2 files changed, 7 insertions, 4 deletions
diff --git a/textproc/py-libxml2/Makefile b/textproc/py-libxml2/Makefile index 4a3e1cb2b9b..8d15a2ef6a3 100644 --- a/textproc/py-libxml2/Makefile +++ b/textproc/py-libxml2/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.39 2011/12/02 13:19:59 joerg Exp $ +# $NetBSD: Makefile,v 1.40 2012/02/07 11:21:51 obache Exp $ DISTNAME= libxml2-2.7.8 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +PKGREVISION= 1 CATEGORIES= textproc python MASTER_SITES= ftp://xmlsoft.org/libxml2/ #MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libxml2/2.7/} @@ -14,7 +15,6 @@ LICENSE= modified-bsd PKG_DESTDIR_SUPPORT= user-destdir WRKSRC= ${WRKDIR}/${DISTNAME}/python -PYDISTUTILSPKG= YES NO_CONFIGURE= YES SUBST_CLASSES+= setup @@ -25,11 +25,13 @@ SUBST_SED.setup= -e "/ROOT/s,'/usr','${BUILDLINK_PREFIX.libxml2}',g" \ -e "/^\"/s,/usr/include,${BUILDLINK_PREFIX.iconv}/include,g" \ -e "/^\"/s,/usr/local/include,${BUILDLINK_PREFIX.iconv}/include,g" +EGG_NAME= ${DISTNAME:S/-/_python-/} + BUILD_DEPENDS+= ${PYPKGPREFIX}-expat>=0:../../textproc/py-expat BUILDLINK_API_DEPENDS.libxml2+= libxml2>=${PKGVERSION} .include "../../textproc/libxml2/buildlink3.mk" -.include "../../lang/python/extension.mk" +.include "../../lang/python/distutils.mk" .include "../../converters/libiconv/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/py-libxml2/PLIST b/textproc/py-libxml2/PLIST index 0bb3d6526b5..d01ecaa9140 100644 --- a/textproc/py-libxml2/PLIST +++ b/textproc/py-libxml2/PLIST @@ -1,8 +1,9 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2004/01/04 11:47:17 recht Exp $ +@comment $NetBSD: PLIST,v 1.2 2012/02/07 11:21:51 obache Exp $ ${PYSITELIB}/drv_libxml2.py ${PYSITELIB}/drv_libxml2.pyc ${PYSITELIB}/drv_libxml2.pyo ${PYSITELIB}/libxml2.py ${PYSITELIB}/libxml2.pyc ${PYSITELIB}/libxml2.pyo +${PLIST.eggfile}${PYSITELIB}/${EGG_FILE} ${PYSITELIB}/libxml2mod.so |