summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorwiz <wiz>2011-05-02 12:50:13 +0000
committerwiz <wiz>2011-05-02 12:50:13 +0000
commit1fbcc9fa200109f42f3b92e59aa0818d706b3c10 (patch)
tree1afaa6d5289e5fef76c6c0d6156cde7d84b1bd0c /wm
parent3b1be9b6db4b0139294f7bc9174ff676305e80fb (diff)
downloadpkgsrc-1fbcc9fa200109f42f3b92e59aa0818d706b3c10.tar.gz
Replace /usr/bin/env python with ${PREFIX}/bin/python2.6;
on the other hand, don't depend on Python (too heavy dependency for a window manager), so skip the interpreter check for that file. Bump PKGREVISION.
Diffstat (limited to 'wm')
-rw-r--r--wm/openbox/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/wm/openbox/Makefile b/wm/openbox/Makefile
index c924ed44ca7..fae84d56517 100644
--- a/wm/openbox/Makefile
+++ b/wm/openbox/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.65 2011/04/22 13:42:18 obache Exp $
+# $NetBSD: Makefile,v 1.66 2011/05/02 12:50:13 wiz Exp $
DISTNAME= openbox-3.4.11.2
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= wm x11
MASTER_SITES= http://openbox.org/dist/openbox/
@@ -35,6 +35,15 @@ CONF_FILES+= ${EGDIR}/rc.xml ${PKG_SYSCONFDIR}/openbox/rc.xml
CONF_FILES+= ${EGDIR}/autostart.sh \
${PKG_SYSCONFDIR}/openbox/autostart.sh
+SUBST_CLASSES+= python
+SUBST_STAGE.python= pre-build
+SUBST_FILES.python+= tools/xdg-autostart/xdg-autostart
+# Best we can do without pulling in a python dependency.
+# Update when PYTHON_VERSION_DEFAULT changes!
+SUBST_SED.python+= -e 's,/usr/bin/env.*python,${PREFIX}/bin/python2.6,'
+SUBST_MESSAGE.xdg= Fixing path to python.
+CHECK_INTERPRETER_SKIP= lib/openbox/xdg-autostart
+
BUILDLINK_DEPMETHOD.libXt?= build
.include "../../converters/libiconv/buildlink3.mk"