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

PORTNAME=   vino
PORTVERSION=    3.6.2
CATEGORIES= net gnome
MASTER_SITES=   GNOME
PKGNAMESUFFIX=  3
DIST_SUBDIR=    gnome3

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 \
        libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
        libsoup-2.4.so:${PORTSDIR}/devel/libsoup \
        libgnome-keyring.so:${PORTSDIR}/security/libgnome-keyring \
        libavahi-glib.so:${PORTSDIR}/net/avahi-app

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

USE_XZ=     yes
USES=       gettext gmake pathfix pkgconfig
USE_GNOME=  gnomeprefix gtk30 intlhack
USE_XORG=   xdamage xfixes xtst
GNU_CONFIGURE=  yes
INSTALLS_ICONS= yes
CONFIGURE_ARGS= --without-network-manager \
        --disable-http-server
CPPFLAGS+=  -I${LOCALBASE}/include -Wno-format-nonliteral
LDFLAGS+=   -L${LOCALBASE}/lib
GLIB_SCHEMAS=   org.gnome.Vino.enums.xml org.gnome.Vino.gschema.xml

OPTIONS_DEFINE= NOTIFY
OPTIONS_DEFAULT=NOTIFY

.include <bsd.port.options.mk>

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

.include <bsd.port.mk>