blob: f4a0ae506052adf037f122bb73a2660406af4fcb (
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
30
31
32
33
34
35
|
# $NetBSD: Makefile,v 1.4 2004/02/12 16:22:51 minskim Exp $
DISTNAME= libxml2-python-${LIBXML_VERSION}
PKGNAME= ${PYPKGPREFIX}-libxslt-1.1.2
PKGREVISION= 1
CATEGORIES= textproc
MASTER_SITES= ftp://xmlsoft.org/python/
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://xmlsoft.org/XSLT/
COMMENT= Python wrapper for libxslt
DEPENDS+= ${PYPKGPREFIX}-libxml2>=${LIBXML_VERSION}:../../textproc/py-libxml2
PYDISTUTILSPKG= YES
USE_BUILDLINK3= YES
NO_CONFIGURE= YES
LIBXML_VERSION= 2.6.4
MAKE_ENV+= PYLIBXSLTVERSION=${PKGVERSION}
SUBST_CLASSES+= setup
SUBST_MESSAGE.setup= "Fixing hardcoded paths."
SUBST_STAGE.setup= pre-build
SUBST_FILES.setup= setup.py
SUBST_SED.setup= -e "s,'/usr','${BUILDLINK_PREFIX.libxslt}',g"
BUILDLINK_DEPENDS.libxslt= libxslt>=${PKGVERSION}
.include "../../textproc/libxslt/buildlink3.mk"
.include "../../lang/python/extension.mk"
.include "../../converters/libiconv/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|