summaryrefslogtreecommitdiff
path: root/textproc/pyxml/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/pyxml/Makefile')
-rw-r--r--textproc/pyxml/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/textproc/pyxml/Makefile b/textproc/pyxml/Makefile
index c7a9905ed88..61593d2f60a 100644
--- a/textproc/pyxml/Makefile
+++ b/textproc/pyxml/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2002/05/08 11:31:36 drochner Exp $
+# $NetBSD: Makefile,v 1.9 2002/08/20 12:54:21 drochner Exp $
#
-DISTNAME= PyXML-0.7.1
-PKGNAME= ${PYPKGPREFIX}-xml-0.7.1
+DISTNAME= PyXML-0.8
+PKGNAME= ${PYPKGPREFIX}-xml-0.8
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=pyxml/}
@@ -10,13 +10,12 @@ 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-*
+USE_BUILDLINK_ONLY= yes
PYDISTUTILSPKG= yes
PYBINMODULE= yes
-PYSETUPBUILDARGS+= --with-libexpat=${LOCALBASE}
-PYSETUPBUILDARGS+= --ldflags=-Wl,-R${LOCALBASE}/lib
+PYSETUPBUILDARGS+= --with-libexpat=${BUILDLINK_DIR}
PYXML_SCRIPTS= scripts/xmlproc_parse \
scripts/xmlproc_val
@@ -29,6 +28,7 @@ post-extract:
PYTHON_PATCH_SCRIPTS= ${PYXML_SCRIPTS:S/$/${PYVERSSUFFIX}/g}
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
+.include "../../textproc/expat/buildlink.mk"
.include "../../lang/python/extension.buildlink.mk"
.include "../../lang/python/application.buildlink.mk"
.include "../../mk/bsd.pkg.mk"