1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

Add glob2-0.8.5, globulation 2 - a free and innovative strategy game.

This commit is contained in:
Thierry Thomas 2004-04-28 22:14:48 +00:00
parent 5eb4f9269a
commit 6e46666151
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=107886
6 changed files with 77 additions and 0 deletions

View File

@ -146,6 +146,7 @@
SUBDIR += gleyes
SUBDIR += glife
SUBDIR += glmaze
SUBDIR += glob2
SUBDIR += gltron
SUBDIR += gma
SUBDIR += gnarr

31
games/glob2/Makefile Normal file
View File

@ -0,0 +1,31 @@
# New ports collection makefile for: glob2
# Date created: Wed 21 apr 2004
# Whom: thierry@pompo.net
#
# $FreeBSD$
#
PORTNAME= glob2
PORTVERSION= 0.8.5
CATEGORIES= games
MASTER_SITES= http://www.ysagoon.com/glob2/data/
MAINTAINER= thierry@FreeBSD.org
COMMENT= Globulation 2 - a free and innovative strategy game
LIB_DEPENDS= vorbis.3:${PORTSDIR}/audio/libvorbis \
freetype.9:${PORTSDIR}/print/freetype2
USE_SDL= image net sdl
GNU_CONFIGURE= yes
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
USE_GCC= 3.3
PLIST_FILES= bin/glob2
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/glob2 ${PREFIX}/bin
.include <bsd.port.mk>

2
games/glob2/distinfo Normal file
View File

@ -0,0 +1,2 @@
MD5 (glob2-0.8.5.tar.gz) = 2f304a15609880550e8972f8f2c75c8d
SIZE (glob2-0.8.5.tar.gz) = 3989770

View File

@ -0,0 +1,20 @@
--- configure.orig Tue Mar 30 19:40:13 2004
+++ configure Thu Apr 22 22:04:32 2004
@@ -4096,7 +4096,7 @@
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lSDL_image $LIBS"
+LIBS="-lSDL_image $SDL_LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF
@@ -4167,7 +4167,7 @@
echo $ECHO_N "(cached) $ECHO_C" >&6
else
ac_check_lib_save_LIBS=$LIBS
-LIBS="-lSDL_net $LIBS"
+LIBS="-lSDL_net $SDL_LIBS"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
_ACEOF

View File

@ -0,0 +1,11 @@
--- ./src/Player.cpp.orig Sun Mar 21 18:16:45 2004
+++ ./src/Player.cpp Wed Apr 21 23:11:01 2004
@@ -252,7 +252,7 @@
// (we could uses two differents check sums, but the framework would be heavier)
//cs^=netPort;
- int l=strnlen(name, 32);
+ int l=strlen(name);
for (int i=0; i<l; i++)
cs^=name[i];

12
games/glob2/pkg-descr Normal file
View File

@ -0,0 +1,12 @@
Globulation 2 is an innovative high quality Real-Time Strategy [RTS],
which minimizes micro-management by automatically assigning tasks to
the units. The player has to choose the number of units he wants for
the different tasks, and the units will do their best to satisfy the
requests. This allows to manage more units and to focus on the strategy.
It can be played alone, through your Local Area Network [LAN], or through
Internet thanks to Ysagoon Online Game [YOG], a meta-server. It also
features a scripting language for versatile gameplay or tutorials and an
integrated map editor.
WWW: http://www.ysagoon.com/glob2/