summaryrefslogtreecommitdiff
path: root/wm/openbox/Makefile
diff options
context:
space:
mode:
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"