summaryrefslogtreecommitdiff
path: root/wm/openbox
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2011-05-02 12:50:13 +0000
committerwiz <wiz@pkgsrc.org>2011-05-02 12:50:13 +0000
commit30a45b43cf1c6ef18e8826a41a889be2eeca637e (patch)
tree1afaa6d5289e5fef76c6c0d6156cde7d84b1bd0c /wm/openbox
parent1bd79789ae2e0bd4982ad4029ad9689280ee891e (diff)
downloadpkgsrc-30a45b43cf1c6ef18e8826a41a889be2eeca637e.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/openbox')
-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"