1 # $NetBSD: Makefile,v 1.36 2009/11/29 22:17:31 snj Exp $
3 PKG_DESTDIR_SUPPORT= user-destdir
5 .include "../../meta-pkgs/xfce4/Makefile.common"
9 DISTNAME= xfce4-panel-${XFCE4_VERSION}
13 MASTER_SITES+= http://archive.xfce.org/src/xfce/xfce4-panel/4.6/
15 PKGCONFIG_OVERRIDE= libxfce4panel/libxfce4panel-1.0.pc.in
16 PTHREAD_AUTO_VARS= yes
18 PKG_SYSCONFSUBDIR= xdg/xfce4/panel
19 EGDIR= ${XFCE4_EGBASE}/panel
21 MAKE_DIRS+= ${PREFIX}/include/xfce4 ${PREFIX}/lib/xfce4
22 MAKE_DIRS+= ${XFCE4_EGBASE:Q} ${PREFIX}/share/xfce4
23 MAKE_DIRS+= ${PREFIX}/share/xfce4/doc ${PREFIX}/share/xfce4/doc/C
24 MAKE_DIRS+= ${PREFIX}/share/xfce4/doc/C/images
25 OWN_DIRS+= ${PKG_SYSCONFDIR}
26 OWN_DIRS+= ${PREFIX}/libexec/xfce4/panel-plugins
27 # The following are not used in this pkg, but here is a good place to rmdir them
28 MAKE_DIRS+= ${PREFIX}/libexec/xfce4
29 OWN_DIRS+= ${PREFIX}/share/xfce4/panel-plugins
31 .for f in clock-14.rc launcher-10.rc launcher-7.rc launcher-8.rc launcher-9.rc \
32 panels.xml systray-4.rc xfce4-menu-5.rc
33 CONF_FILES+= ${EGDIR}/${f} ${PKG_SYSCONFDIR}/${f}
36 .include "../../devel/libwnck/buildlink3.mk"
37 .include "../../graphics/cairo/buildlink3.mk"
38 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
39 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
40 .include "../../textproc/libxml2/buildlink3.mk"
41 .include "../../x11/libxfce4gui/buildlink3.mk"
42 .include "../../x11/libxfce4util/buildlink3.mk"
43 .include "../../x11/startup-notification/buildlink3.mk"
44 .include "../../x11/xfce4-exo/buildlink3.mk"
45 .include "../../mk/pthread.buildlink3.mk"
46 .include "../../mk/bsd.pkg.mk"