summaryrefslogtreecommitdiffstats
path: root/sysutils/gnome-settings-daemon/Makefile
blob: d27d2c61e52503f6a8184a0f4d8e4e88a4fdd1d9 (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
55
56
57
58
59
60
61
# New ports collection makefile for:    gnome-settings-daemon
# Date created:             14 Jan 2008
# Whom:                 Koop Mast <kwm@FreeBSD.org>
#
# $FreeBSD$
#   $MCom$
#

PORTNAME=   gnome-settings-daemon
PORTVERSION=    2.32.1
PORTREVISION=   4
CATEGORIES= sysutils gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    GNOME 2 settings daemon

LIB_DEPENDS=    canberra-gtk.0:${PORTSDIR}/audio/libcanberra \
        notify.4:${PORTSDIR}/devel/libnotify \
        gdbm.4:${PORTSDIR}/databases/gdbm \
        nss3.1:${PORTSDIR}/security/nss
RUN_DEPENDS=    xrdb:${PORTSDIR}/x11/xrdb

CONFLICTS=  gnome-settings-daemon-3.[0-9]*

USE_XORG=   xxf86misc
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GNOME=  gnomeprefix intlhack gnomehack gnomedesktop libgnomekbd
USE_GETTEXT=    yes
USE_GSTREAMER=  good
USE_LDCONFIG=   yes
GNU_CONFIGURE=  yes
INSTALLS_ICONS= yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

OPTIONS=    PULSEAUDIO "Enable Pulseaudio support" On

GCONF_SCHEMAS=  apps_gnome_settings_daemon_housekeeping.schemas \
        apps_gnome_settings_daemon_keybindings.schemas \
        apps_gnome_settings_daemon_xrandr.schemas \
        desktop_gnome_font_rendering.schemas \
        desktop_gnome_keybindings.schemas \
        desktop_gnome_peripherals_smartcard.schemas \
        desktop_gnome_peripherals_touchpad.schemas \
        gnome-settings-daemon.schemas

.include <bsd.port.pre.mk>

.if defined(WITHOUT_PULSEAUDIO)
CONFIGURE_ARGS+=--disable-pulse
PLIST_SUB+= PULSEAUDIO="@comment "
.else
LIB_DEPENDS+=   pulse.0:${PORTSDIR}/audio/pulseaudio
CONFIGURE_ARGS+=--enable-pulse
PLIST_SUB+= PULSEAUDIO=""
.endif

.include <bsd.port.post.mk>