blob: c9340264411dbca24775ff36a54c984a1dc5b186 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# $NetBSD: Makefile,v 1.2 2004/01/20 12:26:50 agc Exp $
DISTNAME= libxml2-2.6.4
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/libxml2/2.6/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= minskim@bawi.org
HOMEPAGE= http://xmlsoft.org/
COMMENT= Python wrapper for libxml2
WRKSRC= ${WRKDIR}/${DISTNAME}/python
PYDISTUTILSPKG= YES
USE_BUILDLINK2= YES
NO_CONFIGURE= YES
SUBST_CLASSES+= setup
SUBST_MESSAGE.setup= "Fixing hardcoded paths."
SUBST_STAGE.setup= post-patch
SUBST_FILES.setup= setup.py
SUBST_SED.setup= -e "s,'/usr','${BUILDLINK_PREFIX.libxml2}',g"
BUILDLINK_DEPENDS.libxml2= libxml2>=${PKGVERSION}
.include "../../textproc/libxml2/buildlink2.mk"
.include "../../lang/python/extension.mk"
.include "../../converters/libiconv/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|