summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2003-06-12 19:43:08 +0000
committerpat <pat@FreeBSD.org>2003-06-12 19:43:08 +0000
commitf26533477d755975f2aec84e9953fbb1b70343e3 (patch)
treeef5a319685cd6ef3f7986760022f097c48180682 /games
parent349629ccb3831f90f950c89b6d0552bc8e1236bc (diff)
downloadFreeBSD-ports-f26533477d755975f2aec84e9953fbb1b70343e3.zip
FreeBSD-ports-f26533477d755975f2aec84e9953fbb1b70343e3.tar.gz
Submitter fix and take over maintainership.
PR: ports/53253 Submitted by: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
Diffstat (limited to 'games')
-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 353bf5f..53bd640 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 0667504..288167e 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 3068e19..fa56fe9 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
OpenPOWER on IntegriCloud