diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-04-07 11:37:10 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2009-04-07 11:37:10 +0800 |
commit | 758e9b4a108bf010b477726391759b7a95a2b984 (patch) | |
tree | 57fd43e9b936ed025d1d18fe93c2305a18b662eb | |
parent | af6a0012c23980b6164ac2983a3b01350bc04bed (diff) | |
download | marcuscom-ports-758e9b4a108bf010b477726391759b7a95a2b984.tar marcuscom-ports-758e9b4a108bf010b477726391759b7a95a2b984.tar.gz marcuscom-ports-758e9b4a108bf010b477726391759b7a95a2b984.tar.bz2 marcuscom-ports-758e9b4a108bf010b477726391759b7a95a2b984.tar.lz marcuscom-ports-758e9b4a108bf010b477726391759b7a95a2b984.tar.xz 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
-rw-r--r-- | net/tsclient/Makefile | 67 | ||||
-rw-r--r-- | net/tsclient/distinfo | 3 | ||||
-rw-r--r-- | net/tsclient/files/patch-src_support.c | 11 | ||||
-rw-r--r-- | net/tsclient/pkg-descr | 4 | ||||
-rw-r--r-- | net/tsclient/pkg-plist | 72 | ||||
-rw-r--r-- | x11-toolkits/libpanelappletmm/Makefile | 40 | ||||
-rw-r--r-- | x11-toolkits/libpanelappletmm/distinfo | 3 | ||||
-rw-r--r-- | x11-toolkits/libpanelappletmm/pkg-descr | 3 | ||||
-rw-r--r-- | x11-toolkits/libpanelappletmm/pkg-plist | 24 |
9 files changed, 227 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 diff --git a/x11-toolkits/libpanelappletmm/Makefile b/x11-toolkits/libpanelappletmm/Makefile new file mode 100644 index 000000000..cb4e7f380 --- /dev/null +++ b/x11-toolkits/libpanelappletmm/Makefile @@ -0,0 +1,40 @@ +# New ports collection makefile for: libpanelappletmm +# Date created: 3 Dec 2003 +# Whom: Alexander Nedotsukov <bland@FreeBSD.org> +# +# $FreeBSD: ports/x11-toolkits/libpanelappletmm/Makefile,v 1.22 2009/02/02 01:36:14 araujo Exp $ +# + +PORTNAME= libpanelappletmm +PORTVERSION= 2.22.0 +PORTREVISION= 2 +CATEGORIES= x11-toolkits gnome +MASTER_SITES= GNOME +DIST_SUBDIR= gnome2 + +MAINTAINER= bland@FreeBSD.org +COMMENT= C++ wrapper for libpanelapplet library + +LIB_DEPENDS= gtkmm-2.4.1:${PORTSDIR}/x11-toolkits/gtkmm24 \ + gconfmm-2.6.1:${PORTSDIR}/devel/gconfmm26 \ + gnomemm-2.6.1:${PORTSDIR}/x11/libgnomemm26 +BUILD_DEPENDS= gm4:${PORTSDIR}/devel/m4 + +USE_BZIP2= yes +USE_GMAKE= yes +USE_GNOME= gnomehack lthack gnomepanel +USE_AUTOTOOLS= libtool:15 +USE_LDCONFIG= yes +CONFIGURE_ARGS= --enable-static +CONFIGURE_ENV= CPPFLAGS="`pkg-config --cflags libgnomeui-2.0`" \ + LIBS="`pkg-config --libs libgnomeui-2.0`" + +PLIST_SUB= VERSION="2.6" API_VERSION="2.6" + +post-patch: + @${REINPLACE_CMD} -e '/^SUBDIRS =/s/examples//' \ + ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e "s|\(-lglibmm\)|-L\$$(GMM_PROCDIR)/../.. \1|" \ + ${WRKSRC}/tools/extra_defs_gen/Makefile.in + +.include <bsd.port.mk> diff --git a/x11-toolkits/libpanelappletmm/distinfo b/x11-toolkits/libpanelappletmm/distinfo new file mode 100644 index 000000000..b099d4dd2 --- /dev/null +++ b/x11-toolkits/libpanelappletmm/distinfo @@ -0,0 +1,3 @@ +MD5 (gnome2/libpanelappletmm-2.22.0.tar.bz2) = 9209dd219a3f4542753743f3c8666e79 +SHA256 (gnome2/libpanelappletmm-2.22.0.tar.bz2) = 74e88cf91f7c3c50e8a546ebc9ff1d011e76b9720644cdc07b613544bd2be33b +SIZE (gnome2/libpanelappletmm-2.22.0.tar.bz2) = 264581 diff --git a/x11-toolkits/libpanelappletmm/pkg-descr b/x11-toolkits/libpanelappletmm/pkg-descr new file mode 100644 index 000000000..7154f4509 --- /dev/null +++ b/x11-toolkits/libpanelappletmm/pkg-descr @@ -0,0 +1,3 @@ +This is a set of thin C++ wrappers for libpanelapplet (part of gnomepanel). + +WWW: http://www.gtkmm.org/ diff --git a/x11-toolkits/libpanelappletmm/pkg-plist b/x11-toolkits/libpanelappletmm/pkg-plist new file mode 100644 index 000000000..fd2d98455 --- /dev/null +++ b/x11-toolkits/libpanelappletmm/pkg-plist @@ -0,0 +1,24 @@ +include/libpanelappletmm-%%API_VERSION%%/libpanelappletmm.h +include/libpanelappletmm-%%API_VERSION%%/libpanelappletmm/applet.h +include/libpanelappletmm-%%API_VERSION%%/libpanelappletmm/enums.h +include/libpanelappletmm-%%API_VERSION%%/libpanelappletmm/factory.h +include/libpanelappletmm-%%API_VERSION%%/libpanelappletmm/init.h +include/libpanelappletmm-%%API_VERSION%%/libpanelappletmm/private.h +include/libpanelappletmm-%%API_VERSION%%/libpanelappletmm/private/applet_p.h +include/libpanelappletmm-%%API_VERSION%%/libpanelappletmm/private/enums_p.h +include/libpanelappletmm-%%API_VERSION%%/libpanelappletmm/wrap_init.h +lib/libpanelappletmm-%%VERSION%%.a +lib/libpanelappletmm-%%VERSION%%.la +lib/libpanelappletmm-%%VERSION%%.so +lib/libpanelappletmm-%%VERSION%%.so.1 +lib/libpanelappletmm-%%API_VERSION%%/include/libpanelappletmmconfig.h +lib/libpanelappletmm-%%API_VERSION%%/proc/m4/convert.m4 +lib/libpanelappletmm-%%API_VERSION%%/proc/m4/convert_libpanelappletmm.m4 +libdata/pkgconfig/libpanelappletmm-%%API_VERSION%%.pc +@dirrm lib/libpanelappletmm-%%API_VERSION%%/proc/m4 +@dirrm lib/libpanelappletmm-%%API_VERSION%%/proc +@dirrm lib/libpanelappletmm-%%API_VERSION%%/include +@dirrm lib/libpanelappletmm-%%API_VERSION%% +@dirrm include/libpanelappletmm-%%API_VERSION%%/libpanelappletmm/private +@dirrm include/libpanelappletmm-%%API_VERSION%%/libpanelappletmm +@dirrm include/libpanelappletmm-%%API_VERSION%% |