summaryrefslogtreecommitdiff
path: root/x11/xfce4-utils/Makefile
blob: 6aef2a6499719e5ba8dbbd76cfac88bb000d0bab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# $NetBSD: Makefile,v 1.34 2009/09/16 01:15:36 reed Exp $

PKG_DESTDIR_SUPPORT=	user-destdir

.include "../../meta-pkgs/xfce4/Makefile.common"

DISTNAME=	xfce-utils-${XFCE4_VERSION}
PKGNAME=	xfce4-utils-${XFCE4_VERSION}
CATEGORIES=	x11
COMMENT=	Xfce utilities

DEPENDS+=	p5-XML-Parser>=2.36:../../textproc/p5-XML-Parser

CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFBASE}
CONFIGURE_ARGS+=	--with-xsession-prefix=${PREFIX}

BUILD_DEFS+=		PKG_SYSCONFBASE
USE_TOOLS+=		xinit:run

PKG_SYSCONFSUBDIR=	xdg
EGDIR=			${XFCE4_EGBASE}

MAKE_DIRS+=	${PREFIX}/libexec/xfce4 ${EGDIR} ${EGDIR}/autostart
MAKE_DIRS+=	${PREFIX}/share/xfce4 ${PREFIX}/share/xfce4/doc
MAKE_DIRS+=	${PREFIX}/share/xfce4/doc/C ${PREFIX}/share/xfce4/doc/C/images
MAKE_DIRS+=	${PREFIX}/share/xfce4/doc/fr ${PREFIX}/share/xfce4/doc/it
MAKE_DIRS+=	${PREFIX}/share/xsessions

CONF_FILES=		${EGDIR}/xinitrc ${PKG_SYSCONFDIR}/xfce4/xinitrc
CONF_FILES+=		${EGDIR}/autostart/xfconf-migration-4.6.desktop \
			${PKG_SYSCONFDIR}/autostart/xfconf-migration-4.6.desktop

.include "options.mk"

.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/dbus-glib/buildlink3.mk"
.include "../../x11/libxfce4gui/buildlink3.mk"
.include "../../x11/libxfce4util/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"