summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-01 02:39:34 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-01 02:39:34 +0800
commitafb8da1bc0dff2d870e77a37795e6c1041986812 (patch)
tree65a81361f405dd4efe7cba52c2c779b52b1cc05f
parent1de4405f9c800b3bf98e16cb85196a144e1d1ba6 (diff)
downloadmarcuscom-ports-afb8da1bc0dff2d870e77a37795e6c1041986812.tar
marcuscom-ports-afb8da1bc0dff2d870e77a37795e6c1041986812.tar.gz
marcuscom-ports-afb8da1bc0dff2d870e77a37795e6c1041986812.tar.bz2
marcuscom-ports-afb8da1bc0dff2d870e77a37795e6c1041986812.tar.lz
marcuscom-ports-afb8da1bc0dff2d870e77a37795e6c1041986812.tar.xz
marcuscom-ports-afb8da1bc0dff2d870e77a37795e6c1041986812.tar.zst
marcuscom-ports-afb8da1bc0dff2d870e77a37795e6c1041986812.zip
share/gnome -> share
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8711 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--net/tsclient/Makefile50
-rw-r--r--net/tsclient/distinfo3
-rw-r--r--net/tsclient/files/patch-Makefile.in20
-rw-r--r--net/tsclient/files/patch-configure27
-rw-r--r--net/tsclient/files/patch-src_support.c11
-rw-r--r--net/tsclient/pkg-descr4
-rw-r--r--net/tsclient/pkg-plist65
7 files changed, 180 insertions, 0 deletions
diff --git a/net/tsclient/Makefile b/net/tsclient/Makefile
new file mode 100644
index 000000000..69a97cc88
--- /dev/null
+++ b/net/tsclient/Makefile
@@ -0,0 +1,50 @@
+# New ports collection makefile for: tsclient
+# Date created: 01 Mar 2003
+# Whom: Koop Mast <einekoai@chello.nl>
+#
+# $FreeBSD$
+#
+
+PORTNAME= tsclient
+PORTVERSION= 0.148
+PORTREVISION= 2
+CATEGORIES= net gnome
+MASTER_SITES= http://www.gnomepro.com/tsclient/
+
+MAINTAINER= ports@thepentagon.org
+COMMENT= A GNOME 2 frontend for rdesktop and vncviewer
+
+RUN_DEPENDS= rdesktop:${PORTSDIR}/net/rdesktop
+
+.ifdef (WITH_TIGHTVNC)
+RUN_DEPENDS+= vncviewer:${PORTSDIR}/net/tightvnc
+.endif
+
+.ifdef (WITH_XNEST)
+RUN_DEPENDS+= Xnest:${X_NESTSERVER_PORT}
+.endif
+
+USE_X_PREFIX= yes
+USE_GNOME= gnomeprefix gnomehack libgnomeui
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+MAN1= tsclient.1
+
+pre-everything::
+ @${ECHO_MSG} ""
+ @${ECHO_MSG} " set WITH_TIGHTVNC for vncviewer support"
+ @${ECHO_MSG} " set WITH_XNEST for X via Xnest support (experimental)"
+ @${ECHO_MSG} ""
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|DATADIRNAME=lib|DATADIRNAME=share|g' \
+ ${WRKSRC}/configure
+
+post-install:
+ @${LN} -sf ${PREFIX}/share/pixmaps/tsclient/tsclient.png \
+ ${PREFIX}/share/pixmaps/tsclient.png
+
+.include <bsd.port.mk>
diff --git a/net/tsclient/distinfo b/net/tsclient/distinfo
new file mode 100644
index 000000000..ebcff784c
--- /dev/null
+++ b/net/tsclient/distinfo
@@ -0,0 +1,3 @@
+MD5 (tsclient-0.148.tar.gz) = 06a6ff59b7c8ca26d4ea37340ed77423
+SHA256 (tsclient-0.148.tar.gz) = 8d045530a5f1dd38e809162047a5806ad38c2e2d5d685d5b90b965780b4ffca6
+SIZE (tsclient-0.148.tar.gz) = 490745
diff --git a/net/tsclient/files/patch-Makefile.in b/net/tsclient/files/patch-Makefile.in
new file mode 100644
index 000000000..e2a24a67a
--- /dev/null
+++ b/net/tsclient/files/patch-Makefile.in
@@ -0,0 +1,20 @@
+--- Makefile.in.bak Sun Oct 8 03:03:52 2006
++++ Makefile.in Sun Oct 8 03:04:10 2006
+@@ -145,7 +145,7 @@
+ sysconfdir = @sysconfdir@
+ target_alias = @target_alias@
+
+-SUBDIRS = src applet po
++SUBDIRS = src po
+
+ appicondir = $(datadir)/pixmaps
+ appicon_DATA = tsclient.png
+@@ -161,7 +161,7 @@
+ mime_DATA = tsclient.mime tsclient.keys
+
+ man1_MANS = tsclient.1
+-man1dir = $(datadir)/man/man1
++man1dir = $(prefix)/man/man1
+
+ intlfiles = intltool-extract.in intltool-merge.in intltool-update.in
+
diff --git a/net/tsclient/files/patch-configure b/net/tsclient/files/patch-configure
new file mode 100644
index 000000000..546df4855
--- /dev/null
+++ b/net/tsclient/files/patch-configure
@@ -0,0 +1,27 @@
+--- configure. Fri Oct 13 03:55:18 2006
++++ configure Fri Oct 13 03:55:40 2006
+@@ -4198,7 +4198,6 @@
+
+
+ pkg_modules="libgnomeui-2.0"
+-pkg_modules="libpanelapplet-2.0"
+
+ succeeded=no
+
+@@ -5614,7 +5613,7 @@
+ fi
+
+
+- ac_config_files="$ac_config_files Makefile src/Makefile applet/Makefile po/Makefile.in"
++ ac_config_files="$ac_config_files Makefile src/Makefile po/Makefile.in"
+ cat >confcache <<\_ACEOF
+ # This file is a shell script that caches the results of configure
+ # tests run on this system so they can be shared between configure
+@@ -6188,7 +6187,6 @@
+ # Handling of arguments.
+ "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
+ "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
+- "applet/Makefile" ) CONFIG_FILES="$CONFIG_FILES applet/Makefile" ;;
+ "po/Makefile.in" ) CONFIG_FILES="$CONFIG_FILES po/Makefile.in" ;;
+ "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
+ "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
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..ec1c6d3ce
--- /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://www.gnomepro.com/tsclient/
diff --git a/net/tsclient/pkg-plist b/net/tsclient/pkg-plist
new file mode 100644
index 000000000..610717f24
--- /dev/null
+++ b/net/tsclient/pkg-plist
@@ -0,0 +1,65 @@
+bin/tsclient
+share/application-registry/tsclient.applications
+share/applications/tsclient.desktop
+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-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
+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/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/se/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_TW/LC_MESSAGES/tsclient.mo
+@dirrmtry share/locale/gr/LC_MESSAGES
+@dirrmtry share/locale/gr
+@dirrmtry share/locale/nl_NL/LC_MESSAGES
+@dirrmtry share/locale/nl_NL
+@dirrmtry share/locale/pl_PL/LC_MESSAGES
+@dirrmtry share/locale/pl_PL
+@dirrmtry share/locale/se/LC_MESSAGES
+@dirrmtry share/locale/se
+@dirrmtry share/locale/xh/LC_MESSAGES
+@dirrmtry share/locale/xh
+@dirrm share/pixmaps/tsclient