pkgsrc/textproc/pyxml/Makefile
jlam e44bf515dc Strip the ".buildlink" from the names of the python application and
extension Makefile fragments, because they really don't have anything to
do with the buildlink[12] frameworks.  Change all the Makefiles that use
application.buildlink.mk and extension.buildlink.mk to use application.mk
and extension.mk instead.
2002-09-21 23:46:45 +00:00

35 lines
948 B
Makefile

# $NetBSD: Makefile,v 1.12 2002/09/21 23:46:59 jlam Exp $
#
DISTNAME= PyXML-0.8.1
PKGNAME= ${PYPKGPREFIX}-xml-0.8.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
CONFLICTS+= PyXML-*
USE_BUILDLINK_ONLY= yes
PYDISTUTILSPKG= yes
PYBINMODULE= yes
PYSETUPBUILDARGS+= --with-libexpat=${BUILDLINK_DIR}
PYSETUPBUILDARGS+= --ldflags=-Wl,-R${BUILDLINK_PREFIX.expat}/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}
.include "../../textproc/expat/buildlink.mk"
.include "../../lang/python/extension.mk"
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"