aboutsummaryrefslogtreecommitdiff
path: root/x11-wm/xfce4-wm/Makefile
blob: 7437922a6a45149656849d15e15d36839d57f8df (plain) (blame)
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
50
51
52
53
54
# Created by: James Earl <jdearl@telus.net>
# $FreeBSD$

PORTNAME=	xfce4-wm
PORTVERSION=	4.14.6
PORTREVISION=	2
CATEGORIES=	x11-wm xfce
MASTER_SITES=	XFCE
DISTNAME=	xfwm4-${DISTVERSIONFULL}
DIST_SUBDIR=	xfce4

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

LICENSE=	GPLv2

LIB_DEPENDS=	libepoxy.so:graphics/libepoxy

USES=		compiler:c11 gettext-tools gmake gnome pkgconfig tar:bzip2 \
		xfce xorg
USE_GNOME=	cairo gtk30 intltool libwnck3
USE_XFCE=	libmenu xfconf
USE_XORG=	ice sm x11 xcomposite xdamage xext xfixes xi xinerama \
		xorgproto xpresent xrandr xrender xres

CONFIGURE_ARGS=	--enable-xsync \
		--enable-render \
		--enable-randr \
		--enable-compositor \
		--enable-xpresent \
		--disable-kde-systray
GNU_CONFIGURE=	yes
INSTALLS_ICONS=	yes
DATADIR=	${PREFIX}/share/xfwm4

PORTSCOUT=	limitw:1,even

OPTIONS_DEFINE=		NLS STARTUP
OPTIONS_DEFAULT=	STARTUP
OPTIONS_SUB=		yes

STARTUP_DESC=		Startup notification

NLS_CONFIGURE_ENABLE=	nls
NLS_USES=		gettext-runtime

STARTUP_CONFIGURE_ENABLE=	startup-notification
STARTUP_LIB_DEPENDS=	libstartup-notification-1.so:x11/startup-notification

post-patch:
	@${REINPLACE_CMD} -e 's|Default|Greybird|' \
		${WRKSRC}/settings-dialogs/xfwm4-settings.c

.include <bsd.port.mk>