summaryrefslogtreecommitdiff
path: root/x11/xfce4-panel/Makefile
diff options
context:
space:
mode:
authorhira <hira>2005-06-15 09:00:15 +0000
committerhira <hira>2005-06-15 09:00:15 +0000
commit10591039178ef8cb56466e3e191b40c28b04d641 (patch)
tree63493cfdb092ae460356293f8315124bc8ed73e8 /x11/xfce4-panel/Makefile
parentc1a479ae819eead0794850ba542f36204e6ab209 (diff)
downloadpkgsrc-10591039178ef8cb56466e3e191b40c28b04d641.tar.gz
Use PKG_SYSCONFDIR framework. Bump PKGREVISION.
Diffstat (limited to 'x11/xfce4-panel/Makefile')
-rw-r--r--x11/xfce4-panel/Makefile18
1 files changed, 17 insertions, 1 deletions
diff --git a/x11/xfce4-panel/Makefile b/x11/xfce4-panel/Makefile
index 6848f22bd33..72c53c89df4 100644
--- a/x11/xfce4-panel/Makefile
+++ b/x11/xfce4-panel/Makefile
@@ -1,14 +1,30 @@
-# $NetBSD: Makefile,v 1.16 2005/05/18 06:10:31 martti Exp $
+# $NetBSD: Makefile,v 1.17 2005/06/15 09:01:59 hira Exp $
.include "../../meta-pkgs/xfce4/Makefile.common"
DISTNAME= xfce4-panel-${XFCE4_VERSION}
+PKGREVISION= 1
CATEGORIES= x11
COMMENT= XFce4 panel
PKGCONFIG_OVERRIDE= panel/xfce4-panel-1.0.pc.in
PTHREAD_AUTO_VARS= yes
+USE_PKGINSTALL= yes
+
+PKG_SYSCONFSUBDIR= xdg/xfce4/panel
+EGDIR= ${XFCE4_EGBASE}/panel
+CONF_FILES= ${EGDIR}/contents.xml ${PKG_SYSCONFDIR}/contents.xml
+.for _l in ar az ca da eu fi fr he hu it ja ko lt ms nl ro ru sk tr vi zh_CN \
+ zh_TW
+CONF_FILES+= ${EGDIR}/contents.xml.${_l} \
+ ${PKG_SYSCONFDIR}/contents.xml.${_l}
+.endfor
+
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE}
+
+MAKE_DIRS+= ${XFCE4_EGBASE} ${EGDIR}
+
.include "../../textproc/libxml2/buildlink3.mk"
.include "../../x11/xfce4-mcs-plugins/buildlink3.mk"
.include "../../x11/startup-notification/buildlink3.mk"