blob: f8be2aedc8f9521b21be28c80f3c05c3cd8f493b (
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
36
|
# $NetBSD: Makefile,v 1.20 2012/10/25 06:56:52 asau Exp $
#
DISTNAME= PyXML-0.8.4
PKGNAME= ${PYPKGPREFIX}-xml-0.8.4
PKGREVISION= 4
CATEGORIES= textproc python
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pyxml/}
MAINTAINER= drochner@NetBSD.org
HOMEPAGE= http://pyxml.sourceforge.net/
COMMENT= Collection of libraries to process XML with Python
CONFLICTS+= PyXML-[0-9]*
BUILDLINK_API_DEPENDS.expat+= expat>=1.95.6
PYSETUPBUILDARGS+= --with-libexpat=${BUILDLINK_DIR}
PYSETUPBUILDARGS+= --ldflags="${EXPAT_LDFLAGS}"
EXPAT_LDFLAGS= ${COMPILER_RPATH_FLAG}${BUILDLINK_PREFIX.expat}/lib
FIX_RPATH+= EXPAT_LDFLAGS
PYXML_SCRIPTS= scripts/xmlproc_parse \
scripts/xmlproc_val
post-extract:
.for s in ${PYXML_SCRIPTS}
${MV} ${WRKSRC}/${s} ${WRKSRC}/${s}${PYVERSSUFFIX}
.endfor
PYTHON_PATCH_SCRIPTS= ${PYXML_SCRIPTS:S/$/${PYVERSSUFFIX}/g}
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX:Q}
.include "../../textproc/expat/buildlink3.mk"
.include "../../lang/python/distutils.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"
|