summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-05-15 20:19:35 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-05-15 20:19:35 +0800
commitd2467b2f1205706adf8fdca98dcea360bceca116 (patch)
tree45715465fb25b761b5205e44e9e550e45c254231
parente0119b206820c48ab788da6241022cff7c57b317 (diff)
downloadmarcuscom-ports-d2467b2f1205706adf8fdca98dcea360bceca116.tar
marcuscom-ports-d2467b2f1205706adf8fdca98dcea360bceca116.tar.gz
marcuscom-ports-d2467b2f1205706adf8fdca98dcea360bceca116.tar.bz2
marcuscom-ports-d2467b2f1205706adf8fdca98dcea360bceca116.tar.lz
marcuscom-ports-d2467b2f1205706adf8fdca98dcea360bceca116.tar.xz
marcuscom-ports-d2467b2f1205706adf8fdca98dcea360bceca116.tar.zst
marcuscom-ports-d2467b2f1205706adf8fdca98dcea360bceca116.zip
Add rdesktop support.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15961 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--net/vinagre3/Makefile13
-rw-r--r--net/vinagre3/pkg-plist3
2 files changed, 15 insertions, 1 deletions
diff --git a/net/vinagre3/Makefile b/net/vinagre3/Makefile
index bbd60dc56..2fce645ba 100644
--- a/net/vinagre3/Makefile
+++ b/net/vinagre3/Makefile
@@ -3,7 +3,7 @@
# Whom: Joe Marcus Clarke <marcus@FreeBSD.org>
#
# $FreeBSD$
-# $MCom: ports/net/vinagre3/Makefile,v 1.6 2011/04/26 06:37:56 kwm Exp $
+# $MCom: ports/net/vinagre3/Makefile,v 1.7 2011/04/27 11:37:43 kwm Exp $
#
PORTNAME= vinagre
@@ -41,6 +41,7 @@ GLIB_SCHEMAS= org.gnome.Vinagre.gschema.xml
MAN1= vinagre.1
OPTIONS= TELEPATHY "Enable telepathy integration" on \
+ RDP "Enable MS Windows remote desktop support" off \
PANEL "Build gnome-panel applet" off
.include <bsd.port.pre.mk>
@@ -53,6 +54,16 @@ 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
+
.if defined(WITH_PANEL)
USE_GNOME+= gnomepanel3
PLIST_SUB+= PANEL=""
diff --git a/net/vinagre3/pkg-plist b/net/vinagre3/pkg-plist
index c25476a2b..f65b491eb 100644
--- a/net/vinagre3/pkg-plist
+++ b/net/vinagre3/pkg-plist
@@ -24,12 +24,15 @@ include/vinagre-3.0/vinagre/vinagre-window.h
lib/vinagre-3.0/girepository-1.0/Vinagre-3.0.typelib
lib/vinagre-3.0/plugins/im-status.js
lib/vinagre-3.0/plugins/im-status.plugin
+%%RDP%%lib/vinagre-3.0/plugins/librdp.la
+%%RDP%%lib/vinagre-3.0/plugins/librdp.so
lib/vinagre-3.0/plugins/libreversevnc.la
lib/vinagre-3.0/plugins/libreversevnc.so
lib/vinagre-3.0/plugins/libssh.la
lib/vinagre-3.0/plugins/libssh.so
lib/vinagre-3.0/plugins/libvnc.la
lib/vinagre-3.0/plugins/libvnc.so
+%%RDP%%lib/vinagre-3.0/plugins/rdp.plugin
lib/vinagre-3.0/plugins/reverse-vnc.plugin
lib/vinagre-3.0/plugins/ssh.plugin
lib/vinagre-3.0/plugins/vnc.plugin