summaryrefslogtreecommitdiffstats
path: root/x11-wm/xfce4-desktop/Makefile
blob: fd9a08a6590a745143e79e68b260ee9b6e2e9ce7 (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
40
41
42
43
44
45
46
47
48
49
# Created by: James Earl <jdearl@telus.net>
# $FreeBSD$

PORTNAME=	xfce4-desktop
PORTVERSION=	4.12.3
CATEGORIES=	x11-wm xfce
MASTER_SITES=	XFCE/src/xfce/xfdesktop/${PORTVERSION:R}/
DISTNAME=	xfdesktop-${PORTVERSION}
DIST_SUBDIR=	xfce4

MAINTAINER=	xfce@FreeBSD.org
COMMENT=	Xfce's desktop manager

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libdbus-glib-1.so:devel/dbus-glib \
		libnotify.so:devel/libnotify

GNU_CONFIGURE=	yes
INSTALLS_ICONS=	yes
USE_GNOME=	glib20 gtk20 intltool intlhack libwnck
USE_XFCE=	garcon
USES=	gettext-tools gmake pkgconfig tar:bzip2 xfce
USE_XORG=	x11 sm
INSTALL_TARGET=	install-strip

CONFIGURE_ARGS+=--enable-gio-unix \
	--enable-notifications

OPTIONS_DEFINE=		NLS THUNAR
OPTIONS_DEFAULT=	THUNAR
NLS_USES=	gettext-runtime
NLS_CONFIGURE_ENABLE=	nls
THUNAR_USE=	xfce=thunar
THUNAR_CONFIGURE_ENABLE=	thunarx
THUNAR_CONFIGURE_WITH=	file-manager-fallback=Thunar
THUNAR_USE_OFF=	xfce=libexo
THUNAR_DESC=	Thunar file manager support
OPTIONS_SUB=	yes

.include <bsd.port.pre.mk>

post-patch:
.if !${PORT_OPTIONS:MNLS}
	@${REINPLACE_CMD} -e 's|po ||' ${WRKSRC}/Makefile.in
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud