Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

37 lines (27 sloc) 1.121 kb
# $NetBSD: Makefile,v 1.43 2012/10/10 16:07:19 wiz Exp $
DISTNAME= libxml2-2.9.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc python
MASTER_SITES= ftp://xmlsoft.org/libxml2/
#MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libxml2/2.9/}
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://xmlsoft.org/
COMMENT= Python wrapper for libxml2
LICENSE= modified-bsd
PKG_DESTDIR_SUPPORT= user-destdir
WRKSRC= ${WRKDIR}/${DISTNAME}/python
NO_CONFIGURE= YES
SUBST_CLASSES+= setup
SUBST_MESSAGE.setup= Fixing hardcoded paths.
SUBST_STAGE.setup= pre-build
SUBST_FILES.setup= setup.py
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/distutils.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Jump to Line
Something went wrong with that request. Please try again.