summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-20 16:31:41 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-05-20 16:31:41 +0000
commitf8d4c20770bd223dd17370fca5c5369c52c44683 (patch)
treebb8bf0cfa448cfcfeb73f1a0707edc48e653a97b /games
parentadd new mirror site (diff)
upgrade to 0.0.11
Notes
Notes: svn path=/head/; revision=59536
Diffstat (limited to 'games')
-rw-r--r--games/qgo/Makefile7
-rw-r--r--games/qgo/distinfo2
-rw-r--r--games/qgo/files/patch-src:main.cpp41
-rw-r--r--games/qgo/pkg-plist1
4 files changed, 5 insertions, 46 deletions
diff --git a/games/qgo/Makefile b/games/qgo/Makefile
index 3b345f8c5b9e..5694a89e3b3b 100644
--- a/games/qgo/Makefile
+++ b/games/qgo/Makefile
@@ -7,18 +7,17 @@
#
PORTNAME= qgo
-PORTVERSION= 0.0.8
+PORTVERSION= 0.0.11
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
-LIB_DEPENDS= gnugetopt:${PORTSDIR}/devel/libgnugetopt
-
USE_QT_VER= 2
GNU_CONFIGURE= yes
-CONFIGURE_ENV= QTDIR=${X11BASE} LDFLAGS="-L${LOCALBASE}/lib -lgnugetopt"
+QTCPPFLAGS+= -DDONT_USE_GETOPT
+CONFIGURE_ENV= QTDIR=${X11BASE}
USE_GMAKE= yes
post-patch:
diff --git a/games/qgo/distinfo b/games/qgo/distinfo
index 81d3f1752067..331da41f4b72 100644
--- a/games/qgo/distinfo
+++ b/games/qgo/distinfo
@@ -1 +1 @@
-MD5 (qgo-0.0.8.tar.gz) = 8e46106c3d537ac6891291c39e0e755c
+MD5 (qgo-0.0.11.tar.gz) = 490cd4e018ab8eacb0b971571071f335
diff --git a/games/qgo/files/patch-src:main.cpp b/games/qgo/files/patch-src:main.cpp
deleted file mode 100644
index 36ec0ba33e41..000000000000
--- a/games/qgo/files/patch-src:main.cpp
+++ /dev/null
@@ -1,41 +0,0 @@
---- src/main.cpp.orig Sat Apr 13 14:35:57 2002
-+++ src/main.cpp Sat Apr 13 14:37:01 2002
-@@ -30,8 +30,10 @@
- #include <qtextcodec.h>
-
- #ifdef _WS_X11_
-+#ifndef __FreeBSD__
- #include <getopt.h>
- #endif
-+#endif
-
- #ifdef _WS_WIN_
- #include <windows.h>
-@@ -46,6 +48,7 @@
- #endif
-
- #ifdef _WS_X11_
-+#ifndef __FreeBSD__
- static struct option const long_options[] =
- {
- {"help", no_argument, 0, 'h'},
-@@ -91,6 +94,7 @@
- return optind;
- }
- #endif
-+#endif
-
- #ifdef _WS_WIN_
- /*
-@@ -134,7 +138,11 @@
- int main( int argc, char **argv )
- {
- #ifdef _WS_X11_
-+#ifndef __FreeBSD__
- int i = decode_switches (argc, argv);
-+#else
-+ int i=1;
-+#endif
- #else
- int i=1;
- #endif
diff --git a/games/qgo/pkg-plist b/games/qgo/pkg-plist
index 3fe11613fd32..2c3f1d7db42c 100644
--- a/games/qgo/pkg-plist
+++ b/games/qgo/pkg-plist
@@ -2,6 +2,7 @@ bin/qgo
share/qgo/sounds/stone.au
share/qgo/sounds/stone.wav
share/qgo/translations/qgo_de.qm
+share/qgo/translations/qgo_fr.qm
@dirrm share/qgo/sounds
@dirrm share/qgo/translations
@dirrm share/qgo