freebsd-ports/net/vinagre/Makefile
Dmitry Marakasov e638299edc - Switch to options helpers
- While here, add some NO_ARCHes and couple missing PORT_OPTIONS=DOCS

Approved by:	portmgr blanket
2015-08-28 13:39:56 +00:00

54 lines
1.7 KiB
Makefile

# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
PORTNAME= vinagre
PORTVERSION= 3.16.1
PORTREVISION= 1
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
PORTSCOUT= limitw:1,even
USES= desktop-file-utils gettext gmake pathfix pkgconfig \
shared-mime-info tar:xz
USE_GNOME= 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 DOCS
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_BUILD_DEPENDS= xfreerdp:${PORTSDIR}/net/freerdp
RDP_RUN_DEPENDS= xfreerdp:${PORTSDIR}/net/freerdp
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
.for f in AUTHORS COPYING ChangeLog NEWS README
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.include <bsd.port.mk>