summaryrefslogtreecommitdiff
path: root/wm/openbox/Makefile
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2004-02-07 23:22:17 +0000
committerjmmv <jmmv@pkgsrc.org>2004-02-07 23:22:17 +0000
commit5b77f2d029b273d4e526fe64c6e2f78d3318b47b (patch)
tree4a4b82f02d8265474a4bb28118bbed0ccdfbeb80 /wm/openbox/Makefile
parent4c982b3f509c264ef3e00ae7cf08cc434151e4c5 (diff)
downloadpkgsrc-5b77f2d029b273d4e526fe64c6e2f78d3318b47b.tar.gz
Honour PKG_SYSCONFDIR: the package was actually looking for files in
/usr/pkg/etc so I've changed this to sysconfdir; I'm not adding an extra search path. Also install default configuration files in place, so that this works out of the box. If they are not there, the window manager is unconfigured, and things like window menus do not appear at all. Bump PKGREVISION to 2.
Diffstat (limited to 'wm/openbox/Makefile')
-rw-r--r--wm/openbox/Makefile13
1 files changed, 11 insertions, 2 deletions
diff --git a/wm/openbox/Makefile b/wm/openbox/Makefile
index 5fb68430d4a..9fac978b4e9 100644
--- a/wm/openbox/Makefile
+++ b/wm/openbox/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2004/01/23 21:50:49 jmmv Exp $
+# $NetBSD: Makefile,v 1.12 2004/02/07 23:22:17 jmmv Exp $
DISTNAME= openbox-3.1
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= wm x11
MASTER_SITES= http://icculus.org/openbox/releases/
@@ -16,6 +16,7 @@ DEPENDS+= vera-ttf>=1.10:../../fonts/vera-ttf
GNU_CONFIGURE= YES
USE_BUILDLINK2= YES
USE_LIBTOOL= YES
+USE_PKGINSTALL= YES
USE_PKGLOCALEDIR= YES
USE_X11= YES
@@ -23,6 +24,14 @@ LIBTOOL_OVERRIDE= ${WRKSRC}/libtool
PKGCONFIG_OVERRIDE= ${WRKSRC}/parser/obparser-3.0.pc.in
PKGCONFIG_OVERRIDE+= ${WRKSRC}/render/obrender-3.0.pc.in
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
+PKG_SYSCONFSUBDIR= xdg
+OWN_DIRS= ${PKG_SYSCONFDIR}/openbox
+
+EGDIR= ${PREFIX}/share/examples/openbox
+CONF_FILES= ${EGDIR}/menu.xml ${PKG_SYSCONFDIR}/openbox/menu.xml
+CONF_FILES+= ${EGDIR}/rc.xml ${PKG_SYSCONFDIR}/openbox/rc.xml
+
.include "../../converters/libiconv/buildlink2.mk"
.include "../../devel/glib2/buildlink2.mk"
.include "../../devel/pkgconfig/buildlink2.mk"