Merge from vendor branch TNF:
[pkgsrcv2.git] / x11 / xfce4-utils / Makefile
1 # $NetBSD: Makefile,v 1.38 2011/01/13 13:40:08 wiz Exp $
2
3 PKG_DESTDIR_SUPPORT=    user-destdir
4
5 .include "../../meta-pkgs/xfce4/Makefile.common"
6
7 DISTNAME=       xfce-utils-${XFCE4_VERSION}
8 PKGNAME=        xfce4-utils-${XFCE4_VERSION}
9 PKGREVISION=    5
10 CATEGORIES=     x11
11 COMMENT=        Xfce utilities
12
13 DEPENDS+=       p5-XML-Parser>=2.36:../../textproc/p5-XML-Parser
14
15 CONFIGURE_ARGS+=        --sysconfdir=${PKG_SYSCONFBASE}
16 CONFIGURE_ARGS+=        --with-xsession-prefix=${PREFIX}
17
18 BUILD_DEFS+=            PKG_SYSCONFBASE
19 USE_TOOLS+=             xinit:run
20
21 PKG_SYSCONFSUBDIR=      xdg
22 EGDIR=                  ${XFCE4_EGBASE}
23
24 MAKE_DIRS+=     ${PREFIX}/libexec/xfce4 ${EGDIR} ${EGDIR}/autostart
25 MAKE_DIRS+=     ${PREFIX}/share/xfce4 ${PREFIX}/share/xfce4/doc
26 MAKE_DIRS+=     ${PREFIX}/share/xfce4/doc/C ${PREFIX}/share/xfce4/doc/C/images
27 MAKE_DIRS+=     ${PREFIX}/share/xfce4/doc/fr ${PREFIX}/share/xfce4/doc/it
28 MAKE_DIRS+=     ${PREFIX}/share/xsessions
29
30 CONF_FILES=             ${EGDIR}/xinitrc ${PKG_SYSCONFDIR}/xfce4/xinitrc
31 CONF_FILES+=            ${EGDIR}/autostart/xfconf-migration-4.6.desktop \
32                         ${PKG_SYSCONFDIR}/autostart/xfconf-migration-4.6.desktop
33
34 .include "options.mk"
35
36 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
37 .include "../../sysutils/dbus-glib/buildlink3.mk"
38 .include "../../x11/libxfce4gui/buildlink3.mk"
39 .include "../../x11/libxfce4util/buildlink3.mk"
40 .include "../../mk/bsd.pkg.mk"