blob: d6043fd1fd6cb0af549c9930c2720b4bb01c549a (
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
# New ports collection makefile for: vinagre
# Date created: 16 December 2007
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
# $MCom$
#
PORTNAME= vinagre
PORTVERSION= 3.4.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= gtk-vnc-2.0:${PORTSDIR}/net/gtk-vnc3 \
avahi-core:${PORTSDIR}/net/avahi-app \
avahi-ui-gtk3:${PORTSDIR}/net/avahi-gtk3 \
gdbm:${PORTSDIR}/databases/gdbm \
gnome-keyring:${PORTSDIR}/security/libgnome-keyring
RUN_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/gnome-icon-theme.pc:${PORTSDIR}/misc/gnome-icon-theme
CONFLICTS= vinagre-2.[0-9]*
LATEST_LINK= vinagre3
USE_XZ= yes
USE_GETTEXT= yes
USE_GNOME= gnomeprefix intlhack gnomehack gtk30 libxml2 vte3
USE_GMAKE= yes
GNU_CONFIGURE= yes
INSTALLS_OMF= yes
INSTALLS_ICONS= yes
CONFIGURE_ARGS= --disable-spice --enable-ssh
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GLIB_SCHEMAS= org.gnome.Vinagre.gschema.xml
MAN1= vinagre.1
OPTIONS= TELEPATHY "Enable telepathy integration" on \
RDP "Enable MS Windows remote desktop support" off
.include <bsd.port.options.mk>
.if !defined(WITHOUT_TELEPATHY)
LIB_DEPENDS+= telepathy-glib.0:${PORTSDIR}/net-im/telepathy-glib \
dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
PLIST_SUB+= TELEPATHY=""
.else
CONFIGURE_ARGS+=--without-telepathy
PLIST_SUB+= TELEPATHY="@comment "
.endif
.if !defined(WITHOUT_RDP)
BUILD_DEPENDS+= rdesktop:${PORTSDIR}/net/rdesktop
RUN_DEPENDS+= rdesktop:${PORTSDIR}/net/rdesktop
CONFIGURE_ARGS+=--enable-rdp
PLIST_SUB+= RDP=""
.else
CONFIGURE_ARGS+=--disable-rdp
PLIST_SUB+= RDP="@comment "
.endif
post-install:
@-update-desktop-database > /dev/null
@-update-mime-database ${PREFIX}/share/mime > /dev/null
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in AUTHORS COPYING ChangeLog NEWS README
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>
|