summaryrefslogtreecommitdiffstats
path: root/net/vinagre/Makefile
blob: 92e8b9489ddffc73b3c8be07c20b39de62f2b447 (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
# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
#  $MCom$

PORTNAME=   vinagre
PORTVERSION=    3.12.2
CATEGORIES= net gnome
MASTER_SITES=   GNOME
DIST_SUBDIR=    gnome3

MAINTAINER= gnome@FreeBSD.org
COMMENT=    VNC client for the GNOME Desktop

BUILD_DEPENDS=  itstool:${PORTSDIR}/textproc/itstool
LIB_DEPENDS=    libgtk-vnc-2.0.so:${PORTSDIR}/net/gtk-vnc \
            libavahi-core.so:${PORTSDIR}/net/avahi-app \
        libavahi-ui-gtk3.so:${PORTSDIR}/net/avahi-gtk3 \
        libgdbm.so:${PORTSDIR}/databases/gdbm \
        libsecret-1.so:${PORTSDIR}/security/libsecret \
        libgnome-keyring.so:${PORTSDIR}/security/libgnome-keyring
RUN_DEPENDS=    gnome-icon-theme>=0:${PORTSDIR}/misc/gnome-icon-theme

USES=       desktop-file-utils gettext gmake pathfix pkgconfig \
        shared-mime-info tar:xz
USE_GNOME=  gnomeprefix gtk30 intlhack libxml2 vte3
GNU_CONFIGURE=  yes
INSTALLS_ICONS= yes
CONFIGURE_ARGS= --disable-spice --enable-ssh
CPPFLAGS+=  -I${LOCALBASE}/include -Wno-format-nonliteral
LDFLAGS+=   -L${LOCALBASE}/lib

GLIB_SCHEMAS=   org.gnome.Vinagre.gschema.xml

OPTIONS_SUB=    yes
OPTIONS_DEFINE= TELEPATHY RDP
OPTIONS_DEFAULT=TELEPATHY RDP
TELEPATHY_DESC= Telepathy integration
RDP_DESC=   MS Windows remote desktop support
TELEPATHY_CONFIGURE_WITH=   telepathy
TELEPATHY_LIB_DEPENDS=  libtelepathy-glib.so:${PORTSDIR}/net-im/telepathy-glib \
            libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib
RDP_CONFIGURE_ENABLE=   rdp
RDP_RUN_DEPENDS=    xfreerdp:${PORTSDIR}/net/freerdp

.include <bsd.port.options.mk>

post-install:
.if ${PORT_OPTIONS:MDOCS}
    ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in AUTHORS COPYING ChangeLog NEWS README
    ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>