summaryrefslogtreecommitdiffstats
path: root/net/vino/Makefile
blob: 0fb8fb1912dddc9fb44e5d79675a3d77695b4676 (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
# Created by: Tom McLaughlin <tmclaugh@sdf.lonestar.org>
# $FreeBSD$
#   $MCom: ports/trunk/net/vino/Makefile 18610 2013-06-30 16:33:05Z marcus $

PORTNAME=   vino
PORTVERSION=    2.32.2
PORTREVISION=   4
CATEGORIES= net gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome2

MAINTAINER= gnome@FreeBSD.org
COMMENT=    VNC server that allows for remote access to your GNOME desktop

LIB_DEPENDS=    libgnutls.so:${PORTSDIR}/security/gnutls \
        libtelepathy-glib.so:${PORTSDIR}/net-im/telepathy-glib \
        libunique-1.0.so:${PORTSDIR}/x11-toolkits/unique

CONFLICTS=  vino-3.[0-9]*

NO_STAGE=   yes
USE_BZIP2=  yes
USES=       gettext gmake pathfix pkgconfig
USE_GNOME=  gnomeprefix intlhack gnomepanel
USE_XORG=   xtst
GNU_CONFIGURE=  yes
INSTALLS_ICONS= yes
CPPFLAGS+=  -I${LOCALBASE}/include
LDFLAGS+=   -L${LOCALBASE}/lib

GCONF_SCHEMAS=  vino-server.schemas

OPTIONS_DEFINE= NOTIFY
OPTIONS_DEFAULT=NOTIFY

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MNOTIFY}
LIB_DEPENDS+=   libnotify.so:${PORTSDIR}/devel/libnotify
CONFIGURE_ARGS+=--enable-libnotify=yes
.else
CONFIGURE_ARGS+=--enable-libnotify=no
.endif

.include <bsd.port.mk>