2002-05-08 13:31:36 +02:00
|
|
|
# $NetBSD: Makefile,v 1.8 2002/05/08 11:31:36 drochner Exp $
|
2001-03-07 13:14:59 +01:00
|
|
|
#
|
|
|
|
|
2002-05-08 13:31:36 +02:00
|
|
|
DISTNAME= PyXML-0.7.1
|
|
|
|
PKGNAME= ${PYPKGPREFIX}-xml-0.7.1
|
2001-03-07 13:14:59 +01:00
|
|
|
CATEGORIES= textproc
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pyxml/}
|
|
|
|
|
|
|
|
MAINTAINER= drochner@netbsd.org
|
|
|
|
HOMEPAGE= http://pyxml.sourceforge.net/
|
|
|
|
COMMENT= collection of libraries to process XML with Python
|
|
|
|
|
2001-09-28 01:17:41 +02:00
|
|
|
DEPENDS+= expat-[0-9]*:../../textproc/expat
|
2002-01-17 12:22:43 +01:00
|
|
|
CONFLICTS+= PyXML-*
|
2001-03-07 13:14:59 +01:00
|
|
|
|
2001-05-14 18:27:08 +02:00
|
|
|
PYDISTUTILSPKG= yes
|
|
|
|
PYBINMODULE= yes
|
|
|
|
PYSETUPBUILDARGS+= --with-libexpat=${LOCALBASE}
|
|
|
|
PYSETUPBUILDARGS+= --ldflags=-Wl,-R${LOCALBASE}/lib
|
2001-03-07 13:14:59 +01:00
|
|
|
|
2002-01-17 12:22:43 +01:00
|
|
|
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}
|
|
|
|
|
2002-01-16 22:06:44 +01:00
|
|
|
.include "../../lang/python/extension.buildlink.mk"
|
2002-01-17 12:22:43 +01:00
|
|
|
.include "../../lang/python/application.buildlink.mk"
|
2001-03-07 13:14:59 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|