summaryrefslogtreecommitdiff
path: root/net
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 /net
parento Actually install libs (diff)
Add gnugadu 0.2.0, a GaduGadu client for X11/GTK.
PR: 33125 Submitted by: doc@lublin.t1.pl
Notes
Notes: svn path=/head/; revision=52179
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/gnugadu/Makefile40
-rw-r--r--net/gnugadu/distinfo1
-rw-r--r--net/gnugadu/files/patch-src::main.c13
-rw-r--r--net/gnugadu/files/patch-src::net.c13
-rw-r--r--net/gnugadu/pkg-comment1
-rw-r--r--net/gnugadu/pkg-descr4
-rw-r--r--net/gnugadu/pkg-plist26
8 files changed, 99 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index 79eef96b187c..f8128dfa066f 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -135,6 +135,7 @@
SUBDIR += gnosamba
SUBDIR += gnu-finger
SUBDIR += gnubile
+ SUBDIR += gnugadu
SUBDIR += gnut
SUBDIR += gopher
SUBDIR += gq
diff --git a/net/gnugadu/Makefile b/net/gnugadu/Makefile
new file mode 100644
index 000000000000..199d054d9a3d
--- /dev/null
+++ b/net/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/net/gnugadu/distinfo b/net/gnugadu/distinfo
new file mode 100644
index 000000000000..b628d40224ff
--- /dev/null
+++ b/net/gnugadu/distinfo
@@ -0,0 +1 @@
+MD5 (gg-0.2.0.tar.gz) = 2a1966433f83c16f950c0c07b108dbb1
diff --git a/net/gnugadu/files/patch-src::main.c b/net/gnugadu/files/patch-src::main.c
new file mode 100644
index 000000000000..f648f992d0ba
--- /dev/null
+++ b/net/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/net/gnugadu/files/patch-src::net.c b/net/gnugadu/files/patch-src::net.c
new file mode 100644
index 000000000000..538c46311994
--- /dev/null
+++ b/net/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/net/gnugadu/pkg-comment b/net/gnugadu/pkg-comment
new file mode 100644
index 000000000000..bfd44813ae3b
--- /dev/null
+++ b/net/gnugadu/pkg-comment
@@ -0,0 +1 @@
+A GaduGadu client for X11/GTK
diff --git a/net/gnugadu/pkg-descr b/net/gnugadu/pkg-descr
new file mode 100644
index 000000000000..b7984e15bb8c
--- /dev/null
+++ b/net/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/net/gnugadu/pkg-plist b/net/gnugadu/pkg-plist
new file mode 100644
index 000000000000..080c88eaed99
--- /dev/null
+++ b/net/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