summaryrefslogtreecommitdiff
path: root/polish/gnugadu
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2001-12-26 00:54:09 +0000
committerPete Fritchman <petef@FreeBSD.org>2001-12-26 00:54:09 +0000
commit96347291e77d12cfcb99fb93050063d238850fd4 (patch)
treea8541d08e15dac8c0e2be4f1f3833c0d963de400 /polish/gnugadu
parento Actually install libs (diff)
Add gnugadu 0.2.0, a GaduGadu client for X11/GTK.
PR: 33125 Submitted by: doc@lublin.t1.pl
Diffstat (limited to 'polish/gnugadu')
-rw-r--r--polish/gnugadu/Makefile40
-rw-r--r--polish/gnugadu/distinfo1
-rw-r--r--polish/gnugadu/files/patch-src::main.c13
-rw-r--r--polish/gnugadu/files/patch-src::net.c13
-rw-r--r--polish/gnugadu/pkg-comment1
-rw-r--r--polish/gnugadu/pkg-descr4
-rw-r--r--polish/gnugadu/pkg-plist26
7 files changed, 98 insertions, 0 deletions
diff --git a/polish/gnugadu/Makefile b/polish/gnugadu/Makefile
new file mode 100644
index 000000000000..199d054d9a3d
--- /dev/null
+++ b/polish/gnugadu/Makefile
@@ -0,0 +1,40 @@
+# Ports collection makefile for: gnugadu
+# Date created: 23 dec 2001
+# Whom: doc@lublin.t1.pl
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnugadu
+PORTVERSION= 0.2.0
+CATEGORIES= net
+MASTER_SITES= ftp://ftp.slackware.pl/gg/
+DISTNAME= gg-${PORTVERSION}
+
+MAINTAINER= doc@lublin.t1.pl
+
+WRKSRC= ${WRKDIR}/gg-${PORTVERSION}
+
+USE_GMAKE= yes
+USE_GTK= yes
+WANT_ESOUND= yes
+GNU_CONFIGURE= yes
+
+.include <bsd.port.pre.mk>
+.if defined(HAVE_ESOUND)
+USE_ESOUND= yes
+.else
+CONFIGURE_ARGS+= --disable-esd
+.endif
+
+post-patch:
+ @${PERL} -pi -e 's,CFLAGS =, CFLAGS += \@GTK_CFLAGS\@,; \
+ s,GTK_ CFLAGS,GTK_CFLAGS,' ${WRKSRC}/Makefile.in \
+ ${WRKSRC}/src/Makefile.in
+ @${PERL} -pi -e 's,-O2,,; s,gtk-config,${GTK_CONFIG},' \
+ ${WRKSRC}/configure
+
+post-install:
+ strip ${PREFIX}/bin/gg
+
+.include <bsd.port.post.mk>
diff --git a/polish/gnugadu/distinfo b/polish/gnugadu/distinfo
new file mode 100644
index 000000000000..b628d40224ff
--- /dev/null
+++ b/polish/gnugadu/distinfo
@@ -0,0 +1 @@
+MD5 (gg-0.2.0.tar.gz) = 2a1966433f83c16f950c0c07b108dbb1
diff --git a/polish/gnugadu/files/patch-src::main.c b/polish/gnugadu/files/patch-src::main.c
new file mode 100644
index 000000000000..f648f992d0ba
--- /dev/null
+++ b/polish/gnugadu/files/patch-src::main.c
@@ -0,0 +1,13 @@
+$FreeBSD$
+
+--- src/orig.main.c Tue Dec 4 00:09:20 2001
++++ src/main.c Sun Dec 23 21:21:59 2001
+@@ -32,7 +32,7 @@
+ #include <sys/stat.h>
+ #include <string.h>
+ #include <signal.h>
+-#include <wait.h>
++/* #include <wait.h> */
+
+ #include "gg-types.h"
+ #include "gg.h"
diff --git a/polish/gnugadu/files/patch-src::net.c b/polish/gnugadu/files/patch-src::net.c
new file mode 100644
index 000000000000..538c46311994
--- /dev/null
+++ b/polish/gnugadu/files/patch-src::net.c
@@ -0,0 +1,13 @@
+$FreeBSD$
+
+--- src/orig.net.c Mon Dec 3 10:29:15 2001
++++ src/net.c Sun Dec 23 21:22:29 2001
+@@ -5,6 +5,8 @@
+ #include <glib.h>
+ #include <gdk/gdk.h>
+
++#include <sys/types.h>
++
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
diff --git a/polish/gnugadu/pkg-comment b/polish/gnugadu/pkg-comment
new file mode 100644
index 000000000000..bfd44813ae3b
--- /dev/null
+++ b/polish/gnugadu/pkg-comment
@@ -0,0 +1 @@
+A GaduGadu client for X11/GTK
diff --git a/polish/gnugadu/pkg-descr b/polish/gnugadu/pkg-descr
new file mode 100644
index 000000000000..b7984e15bb8c
--- /dev/null
+++ b/polish/gnugadu/pkg-descr
@@ -0,0 +1,4 @@
+A GaduGadu client for X11/GTK. GaduGadu is an ICQ-like messenger for the
+Polish language.
+
+WWW: http://netkrab.slackware.pl/gg/
diff --git a/polish/gnugadu/pkg-plist b/polish/gnugadu/pkg-plist
new file mode 100644
index 000000000000..080c88eaed99
--- /dev/null
+++ b/polish/gnugadu/pkg-plist
@@ -0,0 +1,26 @@
+bin/gg
+share/gg/pixmaps/arrow.xpm
+share/gg/pixmaps/away.xpm
+share/gg/pixmaps/cellphone.xpm
+share/gg/pixmaps/chat.xpm
+share/gg/pixmaps/config.xpm
+share/gg/pixmaps/gg.xpm
+share/gg/pixmaps/ignored.xpm
+share/gg/pixmaps/invisible.xpm
+share/gg/pixmaps/malehead.xpm
+share/gg/pixmaps/msg.xpm
+share/gg/pixmaps/offline.xpm
+share/gg/pixmaps/online.xpm
+share/gg/pixmaps/online_connecting.xpm
+share/gg/pixmaps/online_main.xpm
+share/gg/pixmaps/search.xpm
+share/gg/sounds/msg.wav
+share/gg/sounds/usr.wav
+share/gg/sounds/yahoo.wav
+share/gnome/apps/Internet/GnuGadu.desktop
+@unexec rmdir %D/share/gnome/apps/Internet 2>/dev/null || true
+@unexec rmdir %D/share/gnome/apps 2>/dev/null || true
+@unexec rmdir %D/share/gnome 2>/dev/null || true
+@dirrm share/gg/sounds
+@dirrm share/gg/pixmaps
+@dirrm share/gg