summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-04-07 11:37:10 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2009-04-07 11:37:10 +0800
commit758e9b4a108bf010b477726391759b7a95a2b984 (patch)
tree57fd43e9b936ed025d1d18fe93c2305a18b662eb /net
parentaf6a0012c23980b6164ac2983a3b01350bc04bed (diff)
downloadmarcuscom-ports-758e9b4a108bf010b477726391759b7a95a2b984.tar.gz
marcuscom-ports-758e9b4a108bf010b477726391759b7a95a2b984.tar.zst
marcuscom-ports-758e9b4a108bf010b477726391759b7a95a2b984.zip
Add a hack to fix the build with GNOME 2.26.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@12225 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'net')
-rw-r--r--net/tsclient/Makefile67
-rw-r--r--net/tsclient/distinfo3
-rw-r--r--net/tsclient/files/patch-src_support.c11
-rw-r--r--net/tsclient/pkg-descr4
-rw-r--r--net/tsclient/pkg-plist72
5 files changed, 157 insertions, 0 deletions
diff --git a/net/tsclient/Makefile b/net/tsclient/Makefile
new file mode 100644
index 000000000..013a84a64
--- /dev/null
+++ b/net/tsclient/Makefile
@@ -0,0 +1,67 @@
+# New ports collection makefile for: tsclient
+# Date created: 01 Mar 2003
+# Whom: Koop Mast <einekoai@chello.nl>
+#
+# $FreeBSD$
+#
+
+PORTNAME= tsclient
+PORTVERSION= 0.150
+PORTREVISION= 4
+CATEGORIES= net gnome
+MASTER_SITES= SF
+
+MAINTAINER= ports@thepentagon.org
+COMMENT= A GNOME 2 frontend for rdesktop and vncviewer
+
+RUN_DEPENDS= rdesktop:${PORTSDIR}/net/rdesktop
+
+OPTIONS= GNOME "Build with gnome support" on \
+ TIGHTVNC "vncviewer support" off \
+ XNEST "X via Xnest support (experimental)" off
+
+USE_AUTOTOOLS= libtool:15 automake:19 autoconf:262
+USE_GNOME= gtk20
+USE_GMAKE= yes
+USE_GETTEXT= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include `pkg-config --cflags libgnomeui-2.0`" \
+ LDFLAGS="-L${LOCALBASE}/lib" \
+ LIBS="`pkg-config --libs libgnomeui-2.0`"
+
+MAN1= tsclient.1
+PORTDOCS= COPYING NEWS README
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_GNOME)
+USE_GNOME+= gnomeprefix gnomehack gnomepanel libgnomeui
+.else
+CONFIGURE_ARGS+= --disable-gnome
+.endif
+
+.if defined(WITH_TIGHTVNC)
+RUN_DEPENDS+= vncviewer:${PORTSDIR}/net/tightvnc
+.endif
+
+.if defined(WITH_XNEST)
+RUN_DEPENDS+= Xnest:${X_NESTSERVER_PORT}
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e '/^man1dir *=/ s,datadir,prefix,g' \
+ ${WRKSRC}/Makefile.am
+ @${REINPLACE_CMD} -e 's|DATADIRNAME=lib|DATADIRNAME=share|g' \
+ ${WRKSRC}/aclocal.m4
+
+post-install:
+ @${LN} -sf ${PREFIX}/share/pixmaps/tsclient/tsclient.png \
+ ${PREFIX}/share/pixmaps/tsclient.png
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCSDIR}
+. for doc in ${PORTDOCS}
+ ${INSTALL_DATA} ${WRKSRC}/${doc} ${DOCSDIR}
+. endfor
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net/tsclient/distinfo b/net/tsclient/distinfo
new file mode 100644
index 000000000..d4639de94
--- /dev/null
+++ b/net/tsclient/distinfo
@@ -0,0 +1,3 @@
+MD5 (tsclient-0.150.tar.gz) = 1dc95fbdbcf4344d05114e1f43bf32ea
+SHA256 (tsclient-0.150.tar.gz) = 7dbcad13d98c45a4365dffb3d775be89f49d4e27e139aeaf028e9cd4a41a3ae1
+SIZE (tsclient-0.150.tar.gz) = 495975
diff --git a/net/tsclient/files/patch-src_support.c b/net/tsclient/files/patch-src_support.c
new file mode 100644
index 000000000..76e0edcd6
--- /dev/null
+++ b/net/tsclient/files/patch-src_support.c
@@ -0,0 +1,11 @@
+--- src/support.c.orig Tue May 10 07:30:51 2005
++++ src/support.c Sat May 21 13:47:21 2005
+@@ -23,6 +23,8 @@
+ #include <fcntl.h>
+
+ #include <arpa/inet.h>
++#include <sys/socket.h>
++#include <netinet/in.h>
+ #ifdef HAVE_SYS_SOCKIO_H
+ #include <sys/sockio.h>
+ #endif
diff --git a/net/tsclient/pkg-descr b/net/tsclient/pkg-descr
new file mode 100644
index 000000000..8f9e943cc
--- /dev/null
+++ b/net/tsclient/pkg-descr
@@ -0,0 +1,4 @@
+Tsclient is a GNOME 2 frontend for rdesktop, and also supports VNC clients,
+Citrix ICA client (experimental) and X via Xnest (experimental).
+
+WWW: http://sourceforge.net/projects/tsclient/
diff --git a/net/tsclient/pkg-plist b/net/tsclient/pkg-plist
new file mode 100644
index 000000000..12f67fb09
--- /dev/null
+++ b/net/tsclient/pkg-plist
@@ -0,0 +1,72 @@
+bin/tsclient
+lib/bonobo/servers/GNOME_TSClientApplet.server
+libexec/tsclient-applet
+share/application-registry/tsclient.applications
+share/applications/tsclient.desktop
+share/locale/ar/LC_MESSAGES/tsclient.mo
+share/locale/ca/LC_MESSAGES/tsclient.mo
+share/locale/cs/LC_MESSAGES/tsclient.mo
+share/locale/da/LC_MESSAGES/tsclient.mo
+share/locale/de/LC_MESSAGES/tsclient.mo
+share/locale/el/LC_MESSAGES/tsclient.mo
+share/locale/es/LC_MESSAGES/tsclient.mo
+share/locale/fi/LC_MESSAGES/tsclient.mo
+share/locale/fr/LC_MESSAGES/tsclient.mo
+share/locale/gr/LC_MESSAGES/tsclient.mo
+share/locale/he/LC_MESSAGES/tsclient.mo
+share/locale/hu/LC_MESSAGES/tsclient.mo
+share/locale/id/LC_MESSAGES/tsclient.mo
+share/locale/it/LC_MESSAGES/tsclient.mo
+share/locale/ja/LC_MESSAGES/tsclient.mo
+share/locale/mk/LC_MESSAGES/tsclient.mo
+share/locale/ms/LC_MESSAGES/tsclient.mo
+share/locale/nb/LC_MESSAGES/tsclient.mo
+share/locale/nl_NL/LC_MESSAGES/tsclient.mo
+share/locale/pa/LC_MESSAGES/tsclient.mo
+share/locale/pl_PL/LC_MESSAGES/tsclient.mo
+share/locale/pt_BR/LC_MESSAGES/tsclient.mo
+share/locale/pt_PT/LC_MESSAGES/tsclient.mo
+share/locale/ru/LC_MESSAGES/tsclient.mo
+share/locale/sv/LC_MESSAGES/tsclient.mo
+share/locale/tr/LC_MESSAGES/tsclient.mo
+share/locale/xh/LC_MESSAGES/tsclient.mo
+share/locale/zh_CN/LC_MESSAGES/tsclient.mo
+share/locale/zh_HK/LC_MESSAGES/tsclient.mo
+share/locale/zh_TW/LC_MESSAGES/tsclient.mo
+share/mime-info/tsclient.keys
+share/mime-info/tsclient.mime
+share/pixmaps/tsclient.png
+share/pixmaps/tsclient/banner-ar.png
+share/pixmaps/tsclient/banner-en.png
+share/pixmaps/tsclient/banner-es.png
+share/pixmaps/tsclient/banner-he.png
+share/pixmaps/tsclient/banner-hu.png
+share/pixmaps/tsclient/banner-ja.png
+share/pixmaps/tsclient/banner-ms.png
+share/pixmaps/tsclient/banner-nl.png
+share/pixmaps/tsclient/banner-pa.png
+share/pixmaps/tsclient/banner-ru.png
+share/pixmaps/tsclient/banner-sv.png
+share/pixmaps/tsclient/banner-zh-cn.png
+share/pixmaps/tsclient/banner-zh-tw.png
+share/pixmaps/tsclient/colors.png
+share/pixmaps/tsclient/computer.png
+share/pixmaps/tsclient/keyboard.png
+share/pixmaps/tsclient/perform.png
+share/pixmaps/tsclient/program.png
+share/pixmaps/tsclient/size.png
+share/pixmaps/tsclient/sound.png
+share/pixmaps/tsclient/tsclient.png
+@dirrm share/pixmaps/tsclient
+@dirrmtry share/locale/zh_HK/LC_MESSAGES
+@dirrmtry share/locale/zh_HK
+@dirrmtry share/locale/xh/LC_MESSAGES
+@dirrmtry share/locale/xh
+@dirrmtry share/locale/pl_PL/LC_MESSAGES
+@dirrmtry share/locale/pl_PL
+@dirrmtry share/locale/nl_NL/LC_MESSAGES
+@dirrmtry share/locale/nl_NL
+@dirrmtry share/locale/gr/LC_MESSAGES
+@dirrmtry share/locale/gr
+@dirrmtry share/applications
+@dirrmtry lib/bonobo/servers