summaryrefslogtreecommitdiff
path: root/x11/xfce4-dashboard/Makefile
blob: cfb597cb7d57843ea1dee4c48d4c731051d95fdd (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
# Created by: Olivier Duchateau
# $FreeBSD$

PORTNAME=	dashboard
PORTVERSION=	0.4.2
CATEGORIES=	x11 xfce
MASTER_SITES=	XFCE/src/apps/xfdashboard/${PORTVERSION:R}/
PKGNAMEPREFIX=	xfce4-
DISTNAME=	xfdashboard-${PORTVERSION}
DIST_SUBDIR=	xfce4

MAINTAINER=	xfce@FreeBSD.org
COMMENT=	GNOME shell like dashboard for the Xfce desktop

LICENSE=	GPLv2

LIB_DEPENDS=	libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
	libclutter-1.0.so:${PORTSDIR}/graphics/clutter

GNU_CONFIGURE=	yes
USES=	pkgconfig libtool gmake perl5 gettext xfce tar:bzip2
USE_GNOME=	glib20 gtk30 libwnck3 intltool intlhack
USE_XFCE=	garcon
USE_XORG=	x11 xcomposite xdamage xinerama
USE_GL=	gl
INSTALLS_ICONS=	yes
INSTALL_TARGET=	install-strip

post-patch:
# Decrease default value of desaturation factor (0.0 -> no desaturation)
# With some graphics cards, quick launch icons are totally black with
# default value
	${FIND} ${WRKSRC}/data/themes -type f -name 'effects.xml' \
		| ${XARGS} ${REINPLACE_CMD} -i "" 's|>1.0<|>0.45<|'

.include <bsd.port.mk>