diff options
author | Thierry Thomas <thierry@FreeBSD.org> | 2004-04-28 22:14:48 +0000 |
---|---|---|
committer | Thierry Thomas <thierry@FreeBSD.org> | 2004-04-28 22:14:48 +0000 |
commit | 6e4666615125940634e7ed719723fe5249b272f3 (patch) | |
tree | a7fa55a427c69f8a7b181261014cf57f5ad76516 /games/glob2 | |
parent | Add xvidcap 1.1.3, capture your X display to individual frames (diff) |
Add glob2-0.8.5, globulation 2 - a free and innovative strategy game.
Notes
Notes:
svn path=/head/; revision=107886
Diffstat (limited to 'games/glob2')
-rw-r--r-- | games/glob2/Makefile | 31 | ||||
-rw-r--r-- | games/glob2/distinfo | 2 | ||||
-rw-r--r-- | games/glob2/files/patch-configure | 20 | ||||
-rw-r--r-- | games/glob2/files/patch-src::Player.cpp | 11 | ||||
-rw-r--r-- | games/glob2/pkg-descr | 12 |
5 files changed, 76 insertions, 0 deletions
diff --git a/games/glob2/Makefile b/games/glob2/Makefile new file mode 100644 index 000000000000..a03e40b69671 --- /dev/null +++ b/games/glob2/Makefile @@ -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> diff --git a/games/glob2/distinfo b/games/glob2/distinfo new file mode 100644 index 000000000000..8839fa0d45d2 --- /dev/null +++ b/games/glob2/distinfo @@ -0,0 +1,2 @@ +MD5 (glob2-0.8.5.tar.gz) = 2f304a15609880550e8972f8f2c75c8d +SIZE (glob2-0.8.5.tar.gz) = 3989770 diff --git a/games/glob2/files/patch-configure b/games/glob2/files/patch-configure new file mode 100644 index 000000000000..8ec0aaaf91b5 --- /dev/null +++ b/games/glob2/files/patch-configure @@ -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 diff --git a/games/glob2/files/patch-src::Player.cpp b/games/glob2/files/patch-src::Player.cpp new file mode 100644 index 000000000000..8e2138e73d34 --- /dev/null +++ b/games/glob2/files/patch-src::Player.cpp @@ -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]; + diff --git a/games/glob2/pkg-descr b/games/glob2/pkg-descr new file mode 100644 index 000000000000..b4fcff05222a --- /dev/null +++ b/games/glob2/pkg-descr @@ -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/ |