aboutsummaryrefslogtreecommitdiff
path: root/polish
diff options
context:
space:
mode:
authorSADA Kenji <sada@FreeBSD.org>2002-11-11 08:26:48 +0000
committerSADA Kenji <sada@FreeBSD.org>2002-11-11 08:26:48 +0000
commitad37d9c99cc06a0e00a3990549bf8c8d6a2b7b6a (patch)
treed5cb118c77971839934704b4a17b81c05a6b3d15 /polish
parentee928cbd728364a4a33cfee0b8e5f4ce5b771f63 (diff)
downloadports-ad37d9c99cc06a0e00a3990549bf8c8d6a2b7b6a.tar.gz
ports-ad37d9c99cc06a0e00a3990549bf8c8d6a2b7b6a.zip
Notes
Diffstat (limited to 'polish')
-rw-r--r--polish/gnugadu/Makefile16
-rw-r--r--polish/gnugadu/distinfo2
-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-plist14
-rw-r--r--polish/gnugadu2/Makefile16
-rw-r--r--polish/gnugadu2/distinfo2
-rw-r--r--polish/gnugadu2/files/patch-src::main.c13
-rw-r--r--polish/gnugadu2/files/patch-src::net.c13
-rw-r--r--polish/gnugadu2/pkg-plist14
10 files changed, 56 insertions, 60 deletions
diff --git a/polish/gnugadu/Makefile b/polish/gnugadu/Makefile
index deeeba08fcda..f1f1120b4ab7 100644
--- a/polish/gnugadu/Makefile
+++ b/polish/gnugadu/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gnugadu
-PORTVERSION= 0.2.0
+PORTVERSION= 0.2.2
CATEGORIES= net
MASTER_SITES= ftp://ftp.slackware.pl/gg/
DISTNAME= gg-${PORTVERSION}
@@ -29,6 +29,20 @@ PKGNAMESUFFIX= -esound
CONFIGURE_ARGS+= --disable-esd
.endif
+pre-everything::
+.if defined(WITH_GNOME)
+CONFIGURE_ARGS+= --enable-gnome
+USE_GNOME= yes
+.else
+ @${ECHO_MSG} "Define WITH_GNOME to include GNOME support"
+.endif
+
+.if defined(WITH_DOCKAPP)
+CONFIGURE_ARGS+= --enable-dockapp
+.else
+ @${ECHO_MSG} "Define WITH_DOCKAPP to include WindowMaker support"
+.endif
+
post-patch:
@${PERL} -pi -e 's,CFLAGS =, CFLAGS += \@GTK_CFLAGS\@,; \
s,GTK_ CFLAGS,GTK_CFLAGS,' ${WRKSRC}/Makefile.in \
diff --git a/polish/gnugadu/distinfo b/polish/gnugadu/distinfo
index b628d40224ff..ca6d1287d5aa 100644
--- a/polish/gnugadu/distinfo
+++ b/polish/gnugadu/distinfo
@@ -1 +1 @@
-MD5 (gg-0.2.0.tar.gz) = 2a1966433f83c16f950c0c07b108dbb1
+MD5 (gg-0.2.2.tar.gz) = aadc23b792708d8320c064ea29958ce6
diff --git a/polish/gnugadu/files/patch-src::main.c b/polish/gnugadu/files/patch-src::main.c
deleted file mode 100644
index f648f992d0ba..000000000000
--- a/polish/gnugadu/files/patch-src::main.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$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
deleted file mode 100644
index 538c46311994..000000000000
--- a/polish/gnugadu/files/patch-src::net.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$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-plist b/polish/gnugadu/pkg-plist
index 080c88eaed99..f97275bca30e 100644
--- a/polish/gnugadu/pkg-plist
+++ b/polish/gnugadu/pkg-plist
@@ -12,12 +12,22 @@ 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/pixmaps/away-mobile.xpm
+share/gg/pixmaps/cell.xpm
+share/gg/pixmaps/gg-logo.xpm
+share/gg/pixmaps/go-chat.xpm
+share/gg/pixmaps/go-msg.xpm
+share/gg/pixmaps/mobile.xpm
+share/gg/pixmaps/offline-mobile.xpm
+share/gg/pixmaps/online-mobile.xpm
+share/gg/pixmaps/pubdir_info.xpm
+share/gg/pixmaps/search_unknown.xpm
+share/gg/pixmaps/wmexit.xpm
+share/gg/pixmaps/wmmsg.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
diff --git a/polish/gnugadu2/Makefile b/polish/gnugadu2/Makefile
index deeeba08fcda..f1f1120b4ab7 100644
--- a/polish/gnugadu2/Makefile
+++ b/polish/gnugadu2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= gnugadu
-PORTVERSION= 0.2.0
+PORTVERSION= 0.2.2
CATEGORIES= net
MASTER_SITES= ftp://ftp.slackware.pl/gg/
DISTNAME= gg-${PORTVERSION}
@@ -29,6 +29,20 @@ PKGNAMESUFFIX= -esound
CONFIGURE_ARGS+= --disable-esd
.endif
+pre-everything::
+.if defined(WITH_GNOME)
+CONFIGURE_ARGS+= --enable-gnome
+USE_GNOME= yes
+.else
+ @${ECHO_MSG} "Define WITH_GNOME to include GNOME support"
+.endif
+
+.if defined(WITH_DOCKAPP)
+CONFIGURE_ARGS+= --enable-dockapp
+.else
+ @${ECHO_MSG} "Define WITH_DOCKAPP to include WindowMaker support"
+.endif
+
post-patch:
@${PERL} -pi -e 's,CFLAGS =, CFLAGS += \@GTK_CFLAGS\@,; \
s,GTK_ CFLAGS,GTK_CFLAGS,' ${WRKSRC}/Makefile.in \
diff --git a/polish/gnugadu2/distinfo b/polish/gnugadu2/distinfo
index b628d40224ff..ca6d1287d5aa 100644
--- a/polish/gnugadu2/distinfo
+++ b/polish/gnugadu2/distinfo
@@ -1 +1 @@
-MD5 (gg-0.2.0.tar.gz) = 2a1966433f83c16f950c0c07b108dbb1
+MD5 (gg-0.2.2.tar.gz) = aadc23b792708d8320c064ea29958ce6
diff --git a/polish/gnugadu2/files/patch-src::main.c b/polish/gnugadu2/files/patch-src::main.c
deleted file mode 100644
index f648f992d0ba..000000000000
--- a/polish/gnugadu2/files/patch-src::main.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$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/gnugadu2/files/patch-src::net.c b/polish/gnugadu2/files/patch-src::net.c
deleted file mode 100644
index 538c46311994..000000000000
--- a/polish/gnugadu2/files/patch-src::net.c
+++ /dev/null
@@ -1,13 +0,0 @@
-$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/gnugadu2/pkg-plist b/polish/gnugadu2/pkg-plist
index 080c88eaed99..f97275bca30e 100644
--- a/polish/gnugadu2/pkg-plist
+++ b/polish/gnugadu2/pkg-plist
@@ -12,12 +12,22 @@ 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/pixmaps/away-mobile.xpm
+share/gg/pixmaps/cell.xpm
+share/gg/pixmaps/gg-logo.xpm
+share/gg/pixmaps/go-chat.xpm
+share/gg/pixmaps/go-msg.xpm
+share/gg/pixmaps/mobile.xpm
+share/gg/pixmaps/offline-mobile.xpm
+share/gg/pixmaps/online-mobile.xpm
+share/gg/pixmaps/pubdir_info.xpm
+share/gg/pixmaps/search_unknown.xpm
+share/gg/pixmaps/wmexit.xpm
+share/gg/pixmaps/wmmsg.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