Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Oct 2003 22:02:03 +0200
From:      Piotr Smyrak <smyru@smyrak.com>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        freebsd-gnome@freebsd.org
Subject:   [new port] polish/gnugadu2 - GTK2 based new version of polish/gnugadu
Message-ID:  <E1A7KVX-000HV4-Kc@smyrak.com>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Piotr Smyrak
>Organization:	
>Confidential:	no 
>Synopsis:	[new port] polish/gnugadu2 - GTK2 based new version of polish/gnugadu
>Severity:	non-critical
>Priority:	low
>Category:	ports
>Class:		update
>Release:	FreeBSD 4.9-PRERELEASE i386
>Environment:
System: FreeBSD beth 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #0: Tue Sep 23 22:44:57 CEST 2003 root@beth:/usr/obj/usr/src/sys/SMYRU i386


	
>Description:
	A port of GTK2 based development version of GNU Gadu, 
client for Gadu-Gadu, Polish IM network. The new version
is a complete rewrite of older, unsupported version of 
polish/gnugadu. This comes with plugin based architecture
that enables transports for Tlen (via polish/libtlen), sms,
various sound servers, and soon jabber (via net/loudmouth)

>How-To-Repeat:
	N/A
>Fix:

Thanks for marcus and mezz for help with porting this!

--- gnugadu2.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	gnugadu2
#	gnugadu2/files
#	gnugadu2/files/patch-Makefile
#	gnugadu2/files/patch-plugin_sound_oss.c
#	gnugadu2/files/patch-gg2.desktop
#	gnugadu2/files/patch-configure
#	gnugadu2/pkg-plist
#	gnugadu2/pkg-descr
#	gnugadu2/distinfo
#	gnugadu2/Makefile
#
echo c - gnugadu2
mkdir -p gnugadu2 > /dev/null 2>&1
echo c - gnugadu2/files
mkdir -p gnugadu2/files > /dev/null 2>&1
echo x - gnugadu2/files/patch-Makefile
sed 's/^X//' >gnugadu2/files/patch-Makefile << 'END-of-gnugadu2/files/patch-Makefile'
X--- lib/Makefile.in.orig	Tue Sep 16 13:07:38 2003
X+++ lib/Makefile.in	Tue Sep 16 13:07:52 2003
X@@ -244,7 +244,7 @@
X 
X libgg2_core_la_HEADERS = gg2_core.h
X 
X-libgg2_core_la_LIBADD = $(PERL_OPTION_LDFLAGS) -ldl 
X+libgg2_core_la_LIBADD = $(PERL_OPTION_LDFLAGS) 
X libgg2_core_la_LDFLAGS = -version-info 2:0:0
X 
X pkgconfigdir = $(libdir)/pkgconfig
END-of-gnugadu2/files/patch-Makefile
echo x - gnugadu2/files/patch-plugin_sound_oss.c
sed 's/^X//' >gnugadu2/files/patch-plugin_sound_oss.c << 'END-of-gnugadu2/files/patch-plugin_sound_oss.c'
X--- src/plugins/sound/oss/plugin_sound_oss.c.orig	Mon Sep 29 15:46:00 2003
X+++ src/plugins/sound/oss/plugin_sound_oss.c	Mon Sep 29 15:46:18 2003
X@@ -16,7 +16,7 @@
X #include <sys/types.h>
X #include <sys/ioctl.h>
X #include <errno.h>
X-#include <linux/soundcard.h>
X+#include <sys/soundcard.h>
X 
X #include "gg-types.h"
X #include "unified-types.h"
END-of-gnugadu2/files/patch-plugin_sound_oss.c
echo x - gnugadu2/files/patch-gg2.desktop
sed 's/^X//' >gnugadu2/files/patch-gg2.desktop << 'END-of-gnugadu2/files/patch-gg2.desktop'
X--- gg2.desktop.orig	Thu Oct  2 12:46:20 2003
X+++ gg2.desktop	Thu Oct  2 12:48:31 2003
X@@ -1,9 +1,9 @@
X [Desktop Entry]
X Name=GnuGadu 2
X Comment=Instant messanger client
X-Comment[pl]=Wolne Gadanie
X+Comment[pl]=Free-wolne Gadanie
X Exec=gg2
X-Icon=gg2.png
X+Icon=%%PREFIX%%/share/gg2/pixmaps/icon.png
X Terminal=0
X Type=Application
X Categories=Application;Network;
END-of-gnugadu2/files/patch-gg2.desktop
echo x - gnugadu2/files/patch-configure
sed 's/^X//' >gnugadu2/files/patch-configure << 'END-of-gnugadu2/files/patch-configure'
X--- configure.orig	Mon Oct  6 12:10:42 2003
X+++ configure	Mon Oct  6 12:14:01 2003
X@@ -17337,6 +17337,7 @@
X 
X # This can be used to rebuild libtool when needed
X LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
X+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
X 
X # Always use our own libtool.
X LIBTOOL='$(SHELL) $(top_builddir)/libtool'
END-of-gnugadu2/files/patch-configure
echo x - gnugadu2/pkg-plist
sed 's/^X//' >gnugadu2/pkg-plist << 'END-of-gnugadu2/pkg-plist'
Xbin/gg2
Xinclude/gg2_core.h
Xlib/gg2/libGUI_plugin.so
X%%DOCK:%%lib/gg2/libdocklet_plugin.so
Xlib/gg2/libgadu_gadu_plugin.so
Xlib/gg2/libsms_plugin.so
X%%ARTS:%%lib/gg2/libsound_arts_plugin.so
X%%ESD:%%lib/gg2/libsound_esd_plugin.so
X%%OSS:%%lib/gg2/libsound_oss_plugin.so
X%%TLEN:%%lib/gg2/libtlen_plugin.so
Xlib/gg2/libupdate_plugin.so
X%%XOSD:%%lib/gg2/libxosd_plugin.so
Xlib/libgg2_core.so.2
Xlib/locale/pl/LC_MESSAGES/gg2.mo
Xlib/pkgconfig/gg2_core.pc
Xshare/gg2/pixmaps/arrow.png
Xshare/gg2/pixmaps/emoticon.gif
Xshare/gg2/pixmaps/emoticons/8P.gif
Xshare/gg2/pixmaps/emoticons/beksa.gif
Xshare/gg2/pixmaps/emoticons/bije.gif
Xshare/gg2/pixmaps/emoticons/brawa.gif
Xshare/gg2/pixmaps/emoticons/buja_w_oblokach.gif
Xshare/gg2/pixmaps/emoticons/bukiet.gif
Xshare/gg2/pixmaps/emoticons/chatownik.gif
Xshare/gg2/pixmaps/emoticons/cmok.gif
Xshare/gg2/pixmaps/emoticons/dobani.gif
Xshare/gg2/pixmaps/emoticons/dostal.gif
Xshare/gg2/pixmaps/emoticons/dresiarz.gif
Xshare/gg2/pixmaps/emoticons/drink.gif
Xshare/gg2/pixmaps/emoticons/emoticons.def
Xshare/gg2/pixmaps/emoticons/fuck.gif
Xshare/gg2/pixmaps/emoticons/gafa.gif
Xshare/gg2/pixmaps/emoticons/gazeta.gif
Xshare/gg2/pixmaps/emoticons/gool.gif
Xshare/gg2/pixmaps/emoticons/gra.gif
Xshare/gg2/pixmaps/emoticons/heej.gif
Xshare/gg2/pixmaps/emoticons/hmmm.gif
Xshare/gg2/pixmaps/emoticons/jablko.gif
Xshare/gg2/pixmaps/emoticons/je_pizze.gif
Xshare/gg2/pixmaps/emoticons/kawa.gif
Xshare/gg2/pixmaps/emoticons/krecka_dostal.gif
Xshare/gg2/pixmaps/emoticons/kwiatek.gif
Xshare/gg2/pixmaps/emoticons/lol.gif
Xshare/gg2/pixmaps/emoticons/milosc.gif
Xshare/gg2/pixmaps/emoticons/mruga.gif
Xshare/gg2/pixmaps/emoticons/mutny.gif
Xshare/gg2/pixmaps/emoticons/niee.gif
Xshare/gg2/pixmaps/emoticons/nonono.gif
Xshare/gg2/pixmaps/emoticons/obiad.gif
Xshare/gg2/pixmaps/emoticons/ok.gif
Xshare/gg2/pixmaps/emoticons/okularnik.gif
Xshare/gg2/pixmaps/emoticons/olaboga.gif
Xshare/gg2/pixmaps/emoticons/onajego.gif
Xshare/gg2/pixmaps/emoticons/pada.gif
Xshare/gg2/pixmaps/emoticons/palacz.gif
Xshare/gg2/pixmaps/emoticons/papa.gif
Xshare/gg2/pixmaps/emoticons/piwko2.gif
Xshare/gg2/pixmaps/emoticons/prezent.gif
Xshare/gg2/pixmaps/emoticons/prysznic.gif
Xshare/gg2/pixmaps/emoticons/puknijsie.gif
Xshare/gg2/pixmaps/emoticons/rotfl.gif
Xshare/gg2/pixmaps/emoticons/serce.gif
Xshare/gg2/pixmaps/emoticons/serducho.gif
Xshare/gg2/pixmaps/emoticons/smutny.gif
Xshare/gg2/pixmaps/emoticons/snieg.gif
Xshare/gg2/pixmaps/emoticons/spioch.gif
Xshare/gg2/pixmaps/emoticons/szampan.gif
Xshare/gg2/pixmaps/emoticons/telefon.gif
Xshare/gg2/pixmaps/emoticons/tiaaa.gif
Xshare/gg2/pixmaps/emoticons/tort.gif
Xshare/gg2/pixmaps/emoticons/usta.gif
Xshare/gg2/pixmaps/emoticons/wanna.gif
Xshare/gg2/pixmaps/emoticons/wc.gif
Xshare/gg2/pixmaps/emoticons/wesoly.gif
Xshare/gg2/pixmaps/emoticons/winko.gif
Xshare/gg2/pixmaps/emoticons/wstydnis.gif
Xshare/gg2/pixmaps/emoticons/z_jezorem.gif
Xshare/gg2/pixmaps/emoticons/zab.gif
Xshare/gg2/pixmaps/emoticons/zakochany.gif
Xshare/gg2/pixmaps/emoticons/zdziwko.gif
Xshare/gg2/pixmaps/emoticons/zegar.gif
Xshare/gg2/pixmaps/emoticons/ziew.gif
Xshare/gg2/pixmaps/emoticons/zly.gif
Xshare/gg2/pixmaps/emoticons/zniesmaczony.gif
Xshare/gg2/pixmaps/gadu-gadu-away-descr.png
Xshare/gg2/pixmaps/gadu-gadu-away.png
Xshare/gg2/pixmaps/gadu-gadu-invisible-descr.png
Xshare/gg2/pixmaps/gadu-gadu-invisible.png
Xshare/gg2/pixmaps/gadu-gadu-offline-descr.png
Xshare/gg2/pixmaps/gadu-gadu-offline.png
Xshare/gg2/pixmaps/gadu-gadu-online-descr.png
Xshare/gg2/pixmaps/gadu-gadu-online.png
Xshare/gg2/pixmaps/gadu-gadu.png
Xshare/gg2/pixmaps/gg-about.png
Xshare/gg2/pixmaps/icon.png
Xshare/gg2/pixmaps/icons/bubble/README
Xshare/gg2/pixmaps/icons/bubble/gadu-gadu-away-descr.png
Xshare/gg2/pixmaps/icons/bubble/gadu-gadu-away.png
Xshare/gg2/pixmaps/icons/bubble/gadu-gadu-invisible-descr.png
Xshare/gg2/pixmaps/icons/bubble/gadu-gadu-invisible.png
Xshare/gg2/pixmaps/icons/bubble/gadu-gadu-offline-descr.png
Xshare/gg2/pixmaps/icons/bubble/gadu-gadu-offline.png
Xshare/gg2/pixmaps/icons/bubble/gadu-gadu-online-descr.png
Xshare/gg2/pixmaps/icons/bubble/gadu-gadu-online.png
Xshare/gg2/pixmaps/icons/bubble/icon.png
Xshare/gg2/pixmaps/icons/classic/README
Xshare/gg2/pixmaps/icons/classic/gadu-gadu-away-descr.png
Xshare/gg2/pixmaps/icons/classic/gadu-gadu-away.png
Xshare/gg2/pixmaps/icons/classic/gadu-gadu-invisible-descr.png
Xshare/gg2/pixmaps/icons/classic/gadu-gadu-invisible.png
Xshare/gg2/pixmaps/icons/classic/gadu-gadu-offline-descr.png
Xshare/gg2/pixmaps/icons/classic/gadu-gadu-offline.png
Xshare/gg2/pixmaps/icons/classic/gadu-gadu-online-descr.png
Xshare/gg2/pixmaps/icons/classic/gadu-gadu-online.png
Xshare/gg2/pixmaps/icons/classic/icon.png
Xshare/gg2/pixmaps/icons/ghosts/README
Xshare/gg2/pixmaps/icons/ghosts/gadu-gadu-away-descr.png
Xshare/gg2/pixmaps/icons/ghosts/gadu-gadu-away.png
Xshare/gg2/pixmaps/icons/ghosts/gadu-gadu-invisible-descr.png
Xshare/gg2/pixmaps/icons/ghosts/gadu-gadu-invisible.png
Xshare/gg2/pixmaps/icons/ghosts/gadu-gadu-offline-descr.png
Xshare/gg2/pixmaps/icons/ghosts/gadu-gadu-offline.png
Xshare/gg2/pixmaps/icons/ghosts/gadu-gadu-online-descr.png
Xshare/gg2/pixmaps/icons/ghosts/gadu-gadu-online.png
Xshare/gg2/pixmaps/icons/ghosts/icon.png
Xshare/gg2/pixmaps/icons/modern/README
Xshare/gg2/pixmaps/icons/modern/gadu-gadu-away-descr.png
Xshare/gg2/pixmaps/icons/modern/gadu-gadu-away.png
Xshare/gg2/pixmaps/icons/modern/gadu-gadu-invisible-descr.png
Xshare/gg2/pixmaps/icons/modern/gadu-gadu-invisible.png
Xshare/gg2/pixmaps/icons/modern/gadu-gadu-offline-descr.png
Xshare/gg2/pixmaps/icons/modern/gadu-gadu-offline.png
Xshare/gg2/pixmaps/icons/modern/gadu-gadu-online-descr.png
Xshare/gg2/pixmaps/icons/modern/gadu-gadu-online.png
Xshare/gg2/pixmaps/icons/modern/icon.png
Xshare/gg2/pixmaps/icons/modern/tlen-away.png
Xshare/gg2/pixmaps/icons/modern/tlen-beback.png
Xshare/gg2/pixmaps/icons/modern/tlen-chat.png
Xshare/gg2/pixmaps/icons/modern/tlen-invisible.png
Xshare/gg2/pixmaps/icons/modern/tlen-occupied.png
Xshare/gg2/pixmaps/icons/modern/tlen-offline.png
Xshare/gg2/pixmaps/icons/modern/tlen-online.png
Xshare/gg2/pixmaps/icons/rozgwiazda/gadu-gadu-away-descr.png
Xshare/gg2/pixmaps/icons/rozgwiazda/gadu-gadu-away.png
Xshare/gg2/pixmaps/icons/rozgwiazda/gadu-gadu-invisible-descr.png
Xshare/gg2/pixmaps/icons/rozgwiazda/gadu-gadu-invisible.png
Xshare/gg2/pixmaps/icons/rozgwiazda/gadu-gadu-offline-descr.png
Xshare/gg2/pixmaps/icons/rozgwiazda/gadu-gadu-offline.png
Xshare/gg2/pixmaps/icons/rozgwiazda/gadu-gadu-online-descr.png
Xshare/gg2/pixmaps/icons/rozgwiazda/gadu-gadu-online.png
Xshare/gg2/pixmaps/icons/rozgwiazda/gadu-gadu.png
Xshare/gg2/pixmaps/icons/rozgwiazda/icon.png
Xshare/gg2/pixmaps/icons/rozgwiazda/jabber.png
Xshare/gg2/pixmaps/icons/rozgwiazda/license.txt
Xshare/gg2/pixmaps/icons/rozgwiazda/sms.png
Xshare/gg2/pixmaps/icons/rozgwiazda/tlen.png
Xshare/gg2/pixmaps/icons/tlen-3d/README
Xshare/gg2/pixmaps/icons/tlen-3d/tlen-away.png
Xshare/gg2/pixmaps/icons/tlen-3d/tlen-beback.png
Xshare/gg2/pixmaps/icons/tlen-3d/tlen-chat.png
Xshare/gg2/pixmaps/icons/tlen-3d/tlen-invisible.png
Xshare/gg2/pixmaps/icons/tlen-3d/tlen-occupied.png
Xshare/gg2/pixmaps/icons/tlen-3d/tlen-offline.png
Xshare/gg2/pixmaps/icons/tlen-3d/tlen-online.png
Xshare/gg2/pixmaps/icq-away.png
Xshare/gg2/pixmaps/icq-dnd.png
Xshare/gg2/pixmaps/icq-freechat.png
Xshare/gg2/pixmaps/icq-invisible.png
Xshare/gg2/pixmaps/icq-na.png
Xshare/gg2/pixmaps/icq-occupied.png
Xshare/gg2/pixmaps/icq-offline.png
Xshare/gg2/pixmaps/icq-online.png
Xshare/gg2/pixmaps/icq.png
Xshare/gg2/pixmaps/jabber-away.png
Xshare/gg2/pixmaps/jabber-dnd.png
Xshare/gg2/pixmaps/jabber-offline.png
Xshare/gg2/pixmaps/jabber-online.png
Xshare/gg2/pixmaps/jabber-subscribe.png
Xshare/gg2/pixmaps/jabber-xa.png
Xshare/gg2/pixmaps/jabber.png
Xshare/gg2/pixmaps/new-msg.png
Xshare/gg2/pixmaps/sms.png
Xshare/gg2/pixmaps/sms_i.png
Xshare/gg2/pixmaps/tlen-away.png
Xshare/gg2/pixmaps/tlen-beback.png
Xshare/gg2/pixmaps/tlen-chat.png
Xshare/gg2/pixmaps/tlen-desc.png
Xshare/gg2/pixmaps/tlen-invisible.png
Xshare/gg2/pixmaps/tlen-occupied.png
Xshare/gg2/pixmaps/tlen-offline.png
Xshare/gg2/pixmaps/tlen-online.png
Xshare/gg2/pixmaps/tlen.png
Xshare/gg2/sounds/msg.wav
Xshare/gg2/sounds/usr.wav
Xshare/gg2/sounds/yahoo.wav
Xshare/gg2/themes/blue2.theme
Xshare/gg2/themes/darkblue.theme
Xshare/gg2/themes/default.theme
Xshare/gg2/themes/gray2.theme
Xshare/gg2/themes/green2.theme
Xshare/gg2/themes/lightblue.theme
Xshare/gg2/themes/red2.theme
Xshare/gg2/themes/thinice.theme
Xshare/gg2/themes/vblue2.theme
Xshare/gg2/themes/vgreen2.theme
Xshare/gg2/themes/vred2.theme
Xshare/gg2/themes/white2.theme
X%%GNOME:%%share/gnome/apps/Internet/gg2.desktop
X%%KDE:%%%%LOCALBASE%%share/applnk/Internet/gg2.desktop
X@dirrm share/gg2/themes
X@dirrm share/gg2/sounds
X@dirrm share/gg2/pixmaps/icons/tlen-3d
X@dirrm share/gg2/pixmaps/icons/rozgwiazda
X@dirrm share/gg2/pixmaps/icons/modern
X@dirrm share/gg2/pixmaps/icons/ghosts
X@dirrm share/gg2/pixmaps/icons/classic
X@dirrm share/gg2/pixmaps/icons/bubble
X@dirrm share/gg2/pixmaps/icons
X@dirrm share/gg2/pixmaps/emoticons
X@dirrm share/gg2/pixmaps
X@dirrm share/gg2
X@dirrm lib/gg2
END-of-gnugadu2/pkg-plist
echo x - gnugadu2/pkg-descr
sed 's/^X//' >gnugadu2/pkg-descr << 'END-of-gnugadu2/pkg-descr'
XDevelopment GTK2 based version of GaduGadu client for X11/GTK.  
XGaduGadu is an ICQ-like messenger network for the Polish language.
X
XGnuGadu2 is a complete rewrite featuring a plugin extensible 
Xarchitecture, that opens it to the multiprotocol world. Transport
Xplugins exist for Jabber, Tlen.pl, there are sound servers and 
Xothers.
X
XWWW: http://gadu.gnu.pl
END-of-gnugadu2/pkg-descr
echo x - gnugadu2/distinfo
sed 's/^X//' >gnugadu2/distinfo << 'END-of-gnugadu2/distinfo'
XMD5 (gg2-2.0pre3.tar.gz) = 49c52cec6869c9ed1b3c015f37401879
END-of-gnugadu2/distinfo
echo x - gnugadu2/Makefile
sed 's/^X//' >gnugadu2/Makefile << 'END-of-gnugadu2/Makefile'
X# Ports collection makefile for: gnugadu2
X# Date created:		25 september 2003
X# Whom: 		smyru@heron.pl
X#
X# $FreeBSD$
X#
X
XPORTNAME=	gnugadu2
XPORTVERSION=	2.0.p3
XCATEGORIES=	polish net
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=	ggadu
XDISTNAME=	gg2-${PORTVERSION:S/.p3/pre3/}
X
XMAINTAINER=	smyru@heron.pl
XCOMMENT=	GTK2 based unstable version of GaduGadu client for X11/GTK
X
XLIB_DEPENDS=	gadu.2:${PORTSDIR}/polish/ekg
X
XUSE_X_PREFIX=	yes
XUSE_GMAKE=	yes
XUSE_GNOME=	gtk20
XUSE_LIBTOOL=	yes
XUSE_PERL5=	yes
XUSE_REINPLACE=	yes
XINSTALLS_SHLIB=	yes
XWANT_GNOME=	yes
X
XCONFIGURE_ARGS=	--with-gui \
X		--with-gadu \
X		--with-sms \
X		--with-update
X
XCONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
X		LDFLAGS="-L${LOCALBASE}/lib"
X
X.include <bsd.port.pre.mk>
X
X.if (${HAVE_GNOME:Mesound}!="")
XWITH_ESOUND=	yes
X.endif
X
X.if defined(WITH_DOCK)
XCONFIGURE_ARGS+=	--with-docklet
XPLIST_SUB+=	DOCK:=""
X.else
XCONFIGURE_ARGS+=	--without-docklet
XPLIST_SUB+=	DOCK:="@comment "
X.endif
X
X.if defined(WITH_TLEN)
XCONFIGURE_ARGS+=	--with-tlen
XLIB_DEPENDS+=	tlen.1:${PORTSDIR}/polish/libtlen
XPLIST_SUB+=	TLEN:=""
X.else
XCONFIGURE_ARGS+=	--without-tlen
XPLIST_SUB+=	TLEN:="@comment "
X.endif
X
X.if defined(WITH_ESOUND)
XCONFIGURE_ARGS+=	--with-esd
XPKGNAMESUFFIX=	-esound
XUSE_GNOME+=	esound
XPLIST_SUB+=	ESD:=""
X.else
XCONFIGURE_ARGS+=	--without-esd
XPLIST_SUB+=	ESD:="@comment "
X.endif
X
X.if defined(WITH_ARTS)
XCONFIGURE_ARGS+=	--with-arts
XLIB_DEPENDS+=	artsc.0:${PORTSDIR}/audio/arts
XPLIST_SUB+=	ARTS:=""
X.else
XCONFIGURE_ARGS+=	--without-arts
XPLIST_SUB+=	ARTS:="@comment "
X.endif
X
X.if defined(WITH_OSS)
XCONFIGURE_ARGS+=	--with-oss
XPLIST_SUB+=	OSS:=""
X.else
XPLIST_SUB+=	OSS:="@comment "
X.endif
X
X.if defined(WITH_XOSD)
XCONFIGURE_ARGS+=	--with-xosd
XLIB_DEPENDS+=	xosd.4:${PORTSDIR}/misc/xosd
XPLIST_SUB+=	XOSD:=""
X.else
XCONFIGURE_ARGS+=	--without-xosd
XPLIST_SUB+=	XOSD:="@comment "
X.endif
X
X.if (${HAVE_GNOME:Mgnomehier}!="")
XPLIST_SUB+=	GNOME:=""
X.else
XPLIST_SUB+=	GNOME:="@comment "
X.endif
X.if exists(${LOCALBASE}/lib/libkdecore.so)
XPLIST_SUB+=	KDE:=""
X.else
XPLIST_SUB+=	KDE:="@comment "
X.endif
X
Xpre-everything::
X	@${ECHO_MSG}
X	@${ECHO_MSG} "  You can define following build options:"
X	@${ECHO_MSG}
X	@${ECHO_MSG} "	WITH_TLEN	to enable Tlen.pl network plugin"
X	@${ECHO_MSG} "	WITH_XOSD	to enable On-Screen-Display messages"
X	@${ECHO_MSG} "	WITH_DOCK	to enable freedesktop.org docklet plugin"
X	@${ECHO_MSG} "	WITH_OSS	to build with sound via OSS"
X	@${ECHO_MSG} "	WITH_ARTS	to build with aRts sound server"
X	@${ECHO_MSG} "	WITH_ESOUND	to build with esound sound server"
X	@${ECHO_MSG}
X
Xpost-patch:
X	@${REINPLACE_CMD} -e 's,%%PREFIX%%,${PREFIX},' ${WRKSRC}/gg2.desktop
X
Xpost-install:
X.if (${HAVE_GNOME:Mgnomehier}!="")
X	${INSTALL_DATA} ${WRKSRC}/gg2.desktop ${X11BASE}/share/gnome/apps/Internet
X.endif
X.if exists(${LOCALBASE}/lib/libkdecore.so)
X	${INSTALL_DATA} ${WRKSRC}/gg2.desktop ${LOCALBASE}/share/applnk/Internet
X.endif
X
X.include <bsd.port.post.mk>
END-of-gnugadu2/Makefile
exit
--- gnugadu2.shar ends here ---




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1A7KVX-000HV4-Kc>