summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2001-10-29 16:34:40 +0000
committerdrochner <drochner@pkgsrc.org>2001-10-29 16:34:40 +0000
commitc5f1eacc366e3d0be90012c52000fd00d0f4054f (patch)
tree3afb6f39b99f1c822a591a6013b43da8bac1d19f /lang
parentc5e44f3ff0da5e6d3e4fc19f682f693e3bba97dd (diff)
downloadpkgsrc-c5f1eacc366e3d0be90012c52000fd00d0f4054f.tar.gz
use PLIST_SUBST instead of sed, as suggested by Thomas Klausner
Diffstat (limited to 'lang')
-rw-r--r--lang/python/extension.buildlink.mk13
1 files changed, 2 insertions, 11 deletions
diff --git a/lang/python/extension.buildlink.mk b/lang/python/extension.buildlink.mk
index 976b5d5c332..b8bd94eaa86 100644
--- a/lang/python/extension.buildlink.mk
+++ b/lang/python/extension.buildlink.mk
@@ -1,4 +1,4 @@
-# $NetBSD: extension.buildlink.mk,v 1.2 2001/10/29 05:45:09 jmc Exp $
+# $NetBSD: extension.buildlink.mk,v 1.3 2001/10/29 16:34:40 drochner Exp $
.include "../../mk/bsd.prefs.mk"
@@ -95,15 +95,6 @@ do-install:
(cd ${WRKSRC} && ${PYTHONBIN} ${PYSETUP} ${PYSETUPINSTALLARGS} install)
.endif
-PY_PLIST_TEMPLATE?= ${PKGDIR}/PLIST
-PY_PLIST_SRC?= ${WRKDIR}/.PLIST_SRC
-
-py_patchplist:
- ${SED} "s|PYINC|${PYINC}|g;s|PYSITELIB|${PYSITELIB}|g" \
- <${PY_PLIST_TEMPLATE} >${PY_PLIST_SRC}
-
.if defined(PY_PATCHPLIST)
-PLIST_SRC?= ${PY_PLIST_SRC}
-
-pre-install: py_patchplist
+PLIST_SUBST+= PYINC=${PYINC} PYSITELIB=${PYSITELIB}
.endif