summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-05-20 16:31:41 +0000
committerijliao <ijliao@FreeBSD.org>2002-05-20 16:31:41 +0000
commit0173d6f34236c5aa3d5ea346f25501d1092254b4 (patch)
treef4afbec6d41302a6e4a58b72d96e4b05cb827118 /games
parentb05c168632241a2137d550cc8f94946b1f1896e7 (diff)
downloadFreeBSD-ports-0173d6f34236c5aa3d5ea346f25501d1092254b4.zip
FreeBSD-ports-0173d6f34236c5aa3d5ea346f25501d1092254b4.tar.gz
upgrade to 0.0.11
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 3b345f8..5694a89 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 81d3f17..331da41 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 36ec0ba..0000000
--- 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 3fe1161..2c3f1d7 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
OpenPOWER on IntegriCloud