pkgsrc/textproc/pyxml/Makefile

35 lines
929 B
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.8 2002/05/08 11:31:36 drochner Exp $
#
DISTNAME= PyXML-0.7.1
PKGNAME= ${PYPKGPREFIX}-xml-0.7.1
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
DEPENDS+= expat-[0-9]*:../../textproc/expat
CONFLICTS+= PyXML-*
PYDISTUTILSPKG= yes
PYBINMODULE= yes
PYSETUPBUILDARGS+= --with-libexpat=${LOCALBASE}
PYSETUPBUILDARGS+= --ldflags=-Wl,-R${LOCALBASE}/lib
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"
.include "../../lang/python/application.buildlink.mk"
.include "../../mk/bsd.pkg.mk"