summaryrefslogtreecommitdiff
path: root/games/asc
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2003-06-12 19:43:08 +0000
committerPatrick Li <pat@FreeBSD.org>2003-06-12 19:43:08 +0000
commitbc14e23a8bc53da18c31a3236e083d15695a206d (patch)
tree70447c8ef3002afb29da4cf2eb53fbb101dafed3 /games/asc
parentUpdate to 0.62 (diff)
Submitter fix and take over maintainership.
PR: ports/53253 Submitted by: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
Notes
Notes: svn path=/head/; revision=82885
Diffstat (limited to 'games/asc')
-rw-r--r--games/asc/Makefile6
-rw-r--r--games/asc/files/patch-configure15
-rw-r--r--games/asc/pkg-descr5
3 files changed, 18 insertions, 8 deletions
diff --git a/games/asc/Makefile b/games/asc/Makefile
index 353bf5f88fd9..53bd640f4b54 100644
--- a/games/asc/Makefile
+++ b/games/asc/Makefile
@@ -12,12 +12,11 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= asc-hq
DISTNAME= ${PORTNAME}-source-${PORTVERSION}
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= yinjieh@csie.nctu.edu.tw
COMMENT= A turn based, multiplayer strategic game with very nice graphics
LIB_DEPENDS= SDL-1.1.5:${PORTSDIR}/devel/sdl12 \
SDL_image.10:${PORTSDIR}/graphics/sdl_image \
- gnugetopt.1:${PORTSDIR}/devel/libgnugetopt \
SDLmm.8:${PORTSDIR}/devel/sdlmm \
SDL_mixer.2:${PORTSDIR}/audio/sdl_mixer \
paragui.3:${PORTSDIR}/x11-toolkits/paragui
@@ -32,10 +31,13 @@ SDL_CONFIG?= ${LOCALBASE}/bin/sdl11-config
USE_GMAKE= yes
USE_REINPLACE= yes
USE_LIBTOOL= yes
+USE_GETOPT_LONG= yes
CONFIGURE_ENV= SDL_CONFIG="${SDL_CONFIG}" \
CPPFLAGS="`${SDL_CONFIG} --cflags`" \
LIBS="`${SDL_CONFIG} --libs` -lgnugetopt -lm"
+CONFIGURE_ARGS= --disable-paraguitest
+
pre-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
@find ${WRKSRC} \( -name "*.cpp" -or -name "*.h" \) | xargs \
diff --git a/games/asc/files/patch-configure b/games/asc/files/patch-configure
index 0667504cdf32..288167efd5a2 100644
--- a/games/asc/files/patch-configure
+++ b/games/asc/files/patch-configure
@@ -1,8 +1,5 @@
-
-$FreeBSD$
-
---- configure.orig Sun Jun 1 16:23:11 2003
-+++ configure Sun Jun 1 16:23:24 2003
+--- configure.orig Thu Jun 12 10:13:34 2003
++++ configure Thu Jun 12 10:15:34 2003
@@ -7381,6 +7381,7 @@
# This can be used to rebuild libtool when needed
@@ -20,3 +17,11 @@ $FreeBSD$
game_datadir=`(
test "x$prefix" = xNONE && prefix="$ac_default_prefix"
test "x$exec_prefix" = xNONE && exec_prefix="${prefix}"
+@@ -11178,6 +11179,7 @@
+ cat conftest.$ac_ext >&5
+ Unicode_broken=yes
+ fi
++Unicode_broken=yes
+ rm -f conftest.$ac_objext conftest.$ac_ext
+
+ if test "x$Unicode_broken" = x ; then
diff --git a/games/asc/pkg-descr b/games/asc/pkg-descr
index 3068e1921b11..fa56fe98f54d 100644
--- a/games/asc/pkg-descr
+++ b/games/asc/pkg-descr
@@ -1,4 +1,7 @@
Advanced Strategic Command (ASC) - a turn-based, multiplayer network game
-with nice proffesional-looking graphics.
+with nice professional-looking graphics.
WWW: http://www.asc-hq.org/
+
+Ying-Chieh Chen
+yinjieh@csie.nctu.edu.tw