aboutsummaryrefslogtreecommitdiffstats
path: root/games/qgo
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-02-23 07:16:40 +0800
committerarved <arved@FreeBSD.org>2003-02-23 07:16:40 +0800
commit6a79580dc75156abfcb3a2707413db4baedc2510 (patch)
treed932fe5c5cd3154689649bb3d244ae2343b256ce /games/qgo
parent346329bbb5b26870a98634ead8243f377bce4117 (diff)
downloadfreebsd-ports-gnome-6a79580dc75156abfcb3a2707413db4baedc2510.tar.gz
freebsd-ports-gnome-6a79580dc75156abfcb3a2707413db4baedc2510.tar.zst
freebsd-ports-gnome-6a79580dc75156abfcb3a2707413db4baedc2510.zip
Update to 0.0.14. USE_QT= 3. Set MAINTAINER back to ports
Diffstat (limited to 'games/qgo')
-rw-r--r--games/qgo/Makefile12
-rw-r--r--games/qgo/distinfo2
-rw-r--r--games/qgo/files/patch-board.cpp11
-rw-r--r--games/qgo/files/patch-boardhandler.cpp19
-rw-r--r--games/qgo/files/patch-noderesults.cpp15
-rw-r--r--games/qgo/files/patch-tree.cpp16
-rw-r--r--games/qgo/pkg-plist17
7 files changed, 80 insertions, 12 deletions
diff --git a/games/qgo/Makefile b/games/qgo/Makefile
index 532f7af3de2b..760fca6c6a94 100644
--- a/games/qgo/Makefile
+++ b/games/qgo/Makefile
@@ -7,23 +7,23 @@
#
PORTNAME= qgo
-PORTVERSION= 0.0.11
+PORTVERSION= 0.0.14
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
-MAINTAINER= kde@freebsd.org
+MAINTAINER= ports@freebsd.org
USE_REINPLACE= yes
-USE_QT_VER= 2
+USE_QT_VER= 3
GNU_CONFIGURE= yes
QTCPPFLAGS+= -DDONT_USE_GETOPT
CONFIGURE_ENV= QTDIR=${X11BASE}
USE_GMAKE= yes
post-patch:
- @${REINPLACE_CMD} -e "s,qt.so,qt2.so,g ; \
- s,/moc,/moc2,g" ${WRKSRC}/configure
- @${REINPLACE_CMD} -e "s,-lqt,-lqt2,g" ${WRKSRC}/src/Makefile.in
+ ${REINPLACE_CMD} -e "s,libqt.so,libqt-mt.so,; \
+ s,-O2, ${CFLAGS} ${PTHREAD_CFLAGS}," ${WRKSRC}/configure
+ ${REINPLACE_CMD} -e "s,-lqt,-lqt-mt ${PTHREAD_LIBS}," ${WRKSRC}/src/Makefile.in
.include <bsd.port.mk>
diff --git a/games/qgo/distinfo b/games/qgo/distinfo
index 331da41f4b72..a733a9467b6f 100644
--- a/games/qgo/distinfo
+++ b/games/qgo/distinfo
@@ -1 +1 @@
-MD5 (qgo-0.0.11.tar.gz) = 490cd4e018ab8eacb0b971571071f335
+MD5 (qgo-0.0.14.tar.gz) = 4b64772b8b6ab5bc9919904db5e5ab0d
diff --git a/games/qgo/files/patch-board.cpp b/games/qgo/files/patch-board.cpp
new file mode 100644
index 000000000000..3b725e5cad22
--- /dev/null
+++ b/games/qgo/files/patch-board.cpp
@@ -0,0 +1,11 @@
+--- src/board.cpp.orig Sat Feb 22 23:43:21 2003
++++ src/board.cpp Sat Feb 22 23:43:35 2003
+@@ -2,6 +2,8 @@
+ * board.cpp
+ */
+
++#include <qstack.h>
++
+ #include "config.h"
+ #include "setting.h"
+ #include "qgo.h"
diff --git a/games/qgo/files/patch-boardhandler.cpp b/games/qgo/files/patch-boardhandler.cpp
new file mode 100644
index 000000000000..f9013dd393bc
--- /dev/null
+++ b/games/qgo/files/patch-boardhandler.cpp
@@ -0,0 +1,19 @@
+--- src/boardhandler.cpp.orig Sat Feb 22 23:15:42 2003
++++ src/boardhandler.cpp Sat Feb 22 23:16:09 2003
+@@ -2,6 +2,8 @@
+ * boardhandler.cpp
+ */
+
++#include <qstack.h>
++
+ #include "qgo.h"
+ #include "boardhandler.h"
+ #include "stonehandler.h"
+@@ -16,7 +18,6 @@
+ #include "setting.h"
+ #include <qapplication.h>
+ #include <qclipboard.h>
+-#include <qstack.h>
+ #include <qlabel.h>
+
+ #define MARK_TERRITORY_VISITED 99
diff --git a/games/qgo/files/patch-noderesults.cpp b/games/qgo/files/patch-noderesults.cpp
new file mode 100644
index 000000000000..8cad8870f35c
--- /dev/null
+++ b/games/qgo/files/patch-noderesults.cpp
@@ -0,0 +1,15 @@
+--- src/noderesults.cpp.orig Sat Feb 22 23:18:46 2003
++++ src/noderesults.cpp Sat Feb 22 23:19:13 2003
+@@ -2,10 +2,11 @@
+ * noderesults.cpp
+ */
+
++#include <qstack.h>
++
+ #include "noderesults.h"
+ #include "move.h"
+ #include "icons.h"
+-#include <qstack.h>
+ #include <qpixmap.h>
+ #include <qiconview.h>
+ #include <qpushbutton.h>
diff --git a/games/qgo/files/patch-tree.cpp b/games/qgo/files/patch-tree.cpp
new file mode 100644
index 000000000000..f6ff73558b3d
--- /dev/null
+++ b/games/qgo/files/patch-tree.cpp
@@ -0,0 +1,16 @@
+--- src/tree.cpp.orig Sat Feb 22 23:13:45 2003
++++ src/tree.cpp Sat Feb 22 23:13:52 2003
+@@ -2,11 +2,12 @@
+ * tree.cpp
+ */
+
++#include <qstack.h>
++
+ #include "tree.h"
+ #include "move.h"
+ #include "qgo.h"
+ #include <iostream.h>
+-#include <qstack.h>
+
+ Tree::Tree(int board_size)
+ {
diff --git a/games/qgo/pkg-plist b/games/qgo/pkg-plist
index 2c3f1d7db42c..d5ed9e5d65af 100644
--- a/games/qgo/pkg-plist
+++ b/games/qgo/pkg-plist
@@ -1,11 +1,15 @@
-bin/qgo
-share/qgo/sounds/stone.au
+bin/qGo
+share/qgo/sounds/enter.wav
+share/qgo/sounds/match.wav
+share/qgo/sounds/leave.wav
+share/qgo/sounds/say.wav
+share/qgo/sounds/gameend.wav
+share/qgo/sounds/pass.wav
share/qgo/sounds/stone.wav
+share/qgo/sounds/talk.wav
+share/qgo/sounds/tictoc.wav
share/qgo/translations/qgo_de.qm
share/qgo/translations/qgo_fr.qm
-@dirrm share/qgo/sounds
-@dirrm share/qgo/translations
-@dirrm share/qgo
share/doc/qgo/html/images/note.png
share/doc/qgo/html/images/tip.png
share/doc/qgo/html/images/warning.png
@@ -24,3 +28,6 @@ share/doc/qgo/html/pr01.html
@dirrm share/doc/qgo/html/images
@dirrm share/doc/qgo/html
@dirrm share/doc/qgo
+@dirrm share/qgo/sounds
+@dirrm share/qgo/translations
+@dirrm share/qgo