aboutsummaryrefslogtreecommitdiffstats
path: root/net-im/gaim-openq
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2005-04-20 19:18:47 +0800
committerpav <pav@FreeBSD.org>2005-04-20 19:18:47 +0800
commit2dfbc708a90cf297796d5490c7117770639fbb4a (patch)
tree32b18c2934bf519a30b07fb6feea4bcae496cfc3 /net-im/gaim-openq
parent0b47311f605ceadac8b209e92a52b958989d5105 (diff)
downloadfreebsd-ports-gnome-2dfbc708a90cf297796d5490c7117770639fbb4a.tar.gz
freebsd-ports-gnome-2dfbc708a90cf297796d5490c7117770639fbb4a.tar.zst
freebsd-ports-gnome-2dfbc708a90cf297796d5490c7117770639fbb4a.zip
- Update to 0.3.2
- Mark BROKEN on 4.x PR: ports/80078 Submitted by: hamigua <hamigua@cuc.cn> (maintainer)
Diffstat (limited to 'net-im/gaim-openq')
-rw-r--r--net-im/gaim-openq/Makefile12
-rw-r--r--net-im/gaim-openq/distinfo4
-rw-r--r--net-im/gaim-openq/files/patch-src-file_trans.c10
-rw-r--r--net-im/gaim-openq/files/patch-src-send_file.c10
-rw-r--r--net-im/gaim-openq/pkg-plist10
5 files changed, 30 insertions, 16 deletions
diff --git a/net-im/gaim-openq/Makefile b/net-im/gaim-openq/Makefile
index d33c52c91da0..a9199f076ef4 100644
--- a/net-im/gaim-openq/Makefile
+++ b/net-im/gaim-openq/Makefile
@@ -6,13 +6,11 @@
#
PORTNAME= openq
-PORTVERSION= 0.3.0
-PORTREVISION= 11
+PORTVERSION= 0.3.2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
PKGNAMEPREFIX= gaim-
-DISTNAME= OpenQ-${PORTVERSION}.p4
MAINTAINER= hamigua@hotpop.com
COMMENT= A QQ-liked protocol plugin for Gaim
@@ -28,6 +26,10 @@ CONFIGURE_ARGS= --enable-static=yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib"
-PLIST_SUB= PATH_SUB=${DISTNAME}
+.include <bsd.port.pre.mk>
-.include <bsd.port.mk>
+.if ${OSVERSION} < 500000
+BROKEN= "does not compile"
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/net-im/gaim-openq/distinfo b/net-im/gaim-openq/distinfo
index 9114c2b49937..25bf4387cfe3 100644
--- a/net-im/gaim-openq/distinfo
+++ b/net-im/gaim-openq/distinfo
@@ -1,2 +1,2 @@
-MD5 (OpenQ-0.3.0.p4.tar.gz) = d317e8ba2e9064e9e4a89d3d377aea0c
-SIZE (OpenQ-0.3.0.p4.tar.gz) = 2586611
+MD5 (openq-0.3.2.tar.gz) = 9a6d05ba62275d6ab8814b5e74fce3a4
+SIZE (openq-0.3.2.tar.gz) = 3240536
diff --git a/net-im/gaim-openq/files/patch-src-file_trans.c b/net-im/gaim-openq/files/patch-src-file_trans.c
new file mode 100644
index 000000000000..a734bb47b526
--- /dev/null
+++ b/net-im/gaim-openq/files/patch-src-file_trans.c
@@ -0,0 +1,10 @@
+--- src/file_trans.c.orig Tue Apr 19 03:52:08 2005
++++ src/file_trans.c Tue Apr 19 03:00:39 2005
+@@ -26,6 +26,7 @@
+ #define random rand
+ #endif
+
++#include <sys/socket.h>
+ #include "debug.h" // gaim_debug
+ #include "ft.h" // gaim_xfer
+ #include "md5.h"
diff --git a/net-im/gaim-openq/files/patch-src-send_file.c b/net-im/gaim-openq/files/patch-src-send_file.c
new file mode 100644
index 000000000000..1d943229558c
--- /dev/null
+++ b/net-im/gaim-openq/files/patch-src-send_file.c
@@ -0,0 +1,10 @@
+--- src/send_file.c.orig Thu Dec 23 06:22:22 2004
++++ src/send_file.c Wed Apr 20 13:16:55 2005
+@@ -22,6 +22,7 @@
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
++#include <sys/socket.h>
+ #include <network.h>
+
+ #include "send_file.h"
diff --git a/net-im/gaim-openq/pkg-plist b/net-im/gaim-openq/pkg-plist
index 570bd60ce1be..72df34e3ae3b 100644
--- a/net-im/gaim-openq/pkg-plist
+++ b/net-im/gaim-openq/pkg-plist
@@ -525,15 +525,7 @@ share/gnome/pixmaps/gaim/status/default/qq_group_unexit.png
share/gnome/pixmaps/gaim/status/default/qq_p_group.png
share/gnome/pixmaps/gaim/status/default/qq_p_group_unexit.png
share/gnome/pixmaps/gaim/status/default/qqshow_default.gif
-share/gnome/doc/%%PATH_SUB%%/AUTHORS
-share/gnome/doc/%%PATH_SUB%%/COPYING
-share/gnome/doc/%%PATH_SUB%%/ChangeLog
-share/gnome/doc/%%PATH_SUB%%/INSTALL
-share/gnome/doc/%%PATH_SUB%%/NEWS
-share/gnome/doc/%%PATH_SUB%%/README
-share/gnome/doc/%%PATH_SUB%%/TODO
-share/locale/zh_CN/LC_MESSAGES/OpenQ.mo
+share/locale/zh_CN/LC_MESSAGES/openq.mo
@dirrm share/gnome/pixmaps/gaim/smileys/2003iii
-@dirrm share/gnome/doc/%%PATH_SUB%%
@unexec rmdir %D/share/gnome/doc 2> /dev/null || true
@unexec rmdir %D/share/gnome/gaim 2> /dev/null || true