diff options
author | thierry <thierry@FreeBSD.org> | 2004-04-29 06:14:48 +0800 |
---|---|---|
committer | thierry <thierry@FreeBSD.org> | 2004-04-29 06:14:48 +0800 |
commit | 65f3c8b2902ff8ecc926fffa43d0958e15bc5404 (patch) | |
tree | 75d66488dd6a70df5eeb8e09fb8f38cb4faa74b5 /games | |
parent | c753bf8347954b0a180611465480fe4df74bfce4 (diff) | |
download | freebsd-ports-gnome-65f3c8b2902ff8ecc926fffa43d0958e15bc5404.tar.gz freebsd-ports-gnome-65f3c8b2902ff8ecc926fffa43d0958e15bc5404.tar.zst freebsd-ports-gnome-65f3c8b2902ff8ecc926fffa43d0958e15bc5404.zip |
Add glob2-0.8.5, globulation 2 - a free and innovative strategy game.
Diffstat (limited to 'games')
-rw-r--r-- | games/Makefile | 1 | ||||
-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 |
6 files changed, 77 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile index 2f14df7a4124..bab84b2a1d03 100644 --- a/games/Makefile +++ b/games/Makefile @@ -146,6 +146,7 @@ SUBDIR += gleyes SUBDIR += glife SUBDIR += glmaze + SUBDIR += glob2 SUBDIR += gltron SUBDIR += gma SUBDIR += gnarr 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/ |