From 73d365bd2e31e51f1928342ce13b05d6c89e23cb Mon Sep 17 00:00:00 2001 From: pav Date: Sat, 16 Oct 2004 18:46:41 +0000 Subject: Add KOTH (King of the Hill), a multiplayer tank artillery game similar to Scorched Earth that uses libggi. PR: ports/72725 Submitted by: Travis Poppe --- games/koth/Makefile | 28 ++++++++++++++++++++++++++++ games/koth/distinfo | 2 ++ games/koth/files/patch-src-ballistics.c | 19 +++++++++++++++++++ games/koth/files/patch-src-kserver.c | 18 ++++++++++++++++++ games/koth/files/patch-src-relay.c | 10 ++++++++++ games/koth/pkg-descr | 14 ++++++++++++++ 6 files changed, 91 insertions(+) create mode 100644 games/koth/Makefile create mode 100644 games/koth/distinfo create mode 100644 games/koth/files/patch-src-ballistics.c create mode 100644 games/koth/files/patch-src-kserver.c create mode 100644 games/koth/files/patch-src-relay.c create mode 100644 games/koth/pkg-descr (limited to 'games/koth') diff --git a/games/koth/Makefile b/games/koth/Makefile new file mode 100644 index 000000000000..470f2806bfba --- /dev/null +++ b/games/koth/Makefile @@ -0,0 +1,28 @@ +# New ports collection makefile for: koth +# Date created: 15 Oct 2004 +# Whom: Travis Poppe +# +# $FreeBSD$ +# + +PORTNAME= koth +PORTVERSION= 0.8.0 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_SUNSITE} +MASTER_SITE_SUBDIR=games/multiplayer + +MAINTAINER= tlp@liquidx.org +COMMENT= Multiplayer tank artillery game similar to Scorched Earth + +LIB_DEPENDS= ggi.2:${PORTSDIR}/graphics/libggi + +USE_BZIP2= yes +USE_GMAKE= yes + +PLIST_FILES= bin/kclever-ai bin/kmoron-ai bin/koth bin/koths +MAN6= kclever-ai.6 kmoron-ai.6 koth.6 koths.6 + +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" + +.include diff --git a/games/koth/distinfo b/games/koth/distinfo new file mode 100644 index 000000000000..74eab317e8b8 --- /dev/null +++ b/games/koth/distinfo @@ -0,0 +1,2 @@ +MD5 (koth-0.8.0.tar.bz2) = 72aa370ea30b94ff2f5e3ed5b8674c75 +SIZE (koth-0.8.0.tar.bz2) = 140569 diff --git a/games/koth/files/patch-src-ballistics.c b/games/koth/files/patch-src-ballistics.c new file mode 100644 index 000000000000..018510f037c5 --- /dev/null +++ b/games/koth/files/patch-src-ballistics.c @@ -0,0 +1,19 @@ +--- src/ballistics.c.orig Wed Jan 15 05:12:43 2003 ++++ src/ballistics.c Sat Oct 16 20:33:24 2004 +@@ -92,6 +92,7 @@ + break; + case WALL_LAST: + /* just to satisfy gcc -Wall */ ++ ; + } + } + +@@ -210,7 +211,7 @@ + break; + case WALL_RANDOM: /* both of this can't happen, */ + case WALL_LAST: /* so they are here to satisfy gcc -Wall */ +- ++ ; + } + } + return FLYING; diff --git a/games/koth/files/patch-src-kserver.c b/games/koth/files/patch-src-kserver.c new file mode 100644 index 000000000000..f40118c66513 --- /dev/null +++ b/games/koth/files/patch-src-kserver.c @@ -0,0 +1,18 @@ +--- src/kserver.c.orig Wed Feb 5 03:39:03 2003 ++++ src/kserver.c Sat Oct 16 20:42:55 2004 +@@ -21,6 +21,7 @@ + #include + #include + #include ++#include + #include + #include + #include +@@ -31,7 +32,6 @@ + # include + #else + # include +-# include + #endif + #include "player.h" + #include "relay.h" diff --git a/games/koth/files/patch-src-relay.c b/games/koth/files/patch-src-relay.c new file mode 100644 index 000000000000..b89838834b5d --- /dev/null +++ b/games/koth/files/patch-src-relay.c @@ -0,0 +1,10 @@ +--- src/relay.c.orig Mon Feb 3 01:34:54 2003 ++++ src/relay.c Sat Oct 16 20:29:42 2004 +@@ -260,6 +260,7 @@ + else goto bail; + goto nextpkt; + bail: ++ ; + } + } + } diff --git a/games/koth/pkg-descr b/games/koth/pkg-descr new file mode 100644 index 000000000000..e870411a017c --- /dev/null +++ b/games/koth/pkg-descr @@ -0,0 +1,14 @@ +King of the Hill (KOTH) is a multiplayer, networked artillery game of +little tanks with really big weapons set out to destroy one another. + +Best-known games of this type include the classic DOS game "Scorched +Earth: The Mother of All Games" and "Scorched Tanks" for the Amiga, but +the concept has been implemented on everything from the TI-85 graphing +calculator on up. KOTH seeks to build on the best ideas from these games +while also taking a fresh approach including an open, network-centric +architecture and concurrent progressive event modeling. + +WWW: http://www.nongnu.org/koth/index.html + +- Travis Poppe +tlp@liquidx.org -- cgit