summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/clanbomber/Makefile24
-rw-r--r--games/clanbomber/files/md53
-rw-r--r--games/clanbomber/files/patch-sum4
-rw-r--r--games/clanbomber/patches/patch-aa21
-rw-r--r--games/clanbomber/patches/patch-ab12
-rw-r--r--games/clanbomber/pkg/COMMENT1
-rw-r--r--games/clanbomber/pkg/DESCR7
-rw-r--r--games/clanbomber/pkg/PLIST39
8 files changed, 111 insertions, 0 deletions
diff --git a/games/clanbomber/Makefile b/games/clanbomber/Makefile
new file mode 100644
index 00000000000..def4e4665c1
--- /dev/null
+++ b/games/clanbomber/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/12/15 07:42:32 garbled Exp $
+
+DISTNAME= clanbomber-1.01
+CATEGORIES= games x11
+MASTER_SITES= http://www.clanbomber.de/files/
+
+MAINTAINER= root@garbled.net
+HOMEPAGE= http://www.clanbomber.de/
+
+DEPENDS+= ClanLib>=0.4:../../graphics/clanlib
+
+USE_X11BASE= yes
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+
+LDFLAGS+= -L${LOCALBASE}/lib
+CFLAGS+= -I${X11BASE}/include
+MAKE_ENV+= LDFLAGS="${LDFLAGS}" CPPFLAGS="${CFLAGS}"
+
+pre-configure:
+ echo "#define BOMBERDATDIR \"${X11BASE}/share/clanbomber/clanbomber.dat\"" >> ${WRKSRC}/config.h.in
+ echo "#define BOMBERMAPS \"${X11BASE}/share/clanbomber/maps\"" >> ${WRKSRC}/config.h.in
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/clanbomber/files/md5 b/games/clanbomber/files/md5
new file mode 100644
index 00000000000..f3aecc41cd1
--- /dev/null
+++ b/games/clanbomber/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/12/15 07:42:32 garbled Exp $
+
+MD5 (clanbomber-1.01.tar.gz) = 5df0045983d205b9fe59c0d8b4c4d889
diff --git a/games/clanbomber/files/patch-sum b/games/clanbomber/files/patch-sum
new file mode 100644
index 00000000000..506243ed650
--- /dev/null
+++ b/games/clanbomber/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/12/15 07:42:32 garbled Exp $
+
+MD5 (patch-aa) = 025ea5c07590e611e12ed341f8b2a1de
+MD5 (patch-ab) = 10fc30a3bc944fab025f46ba96442826
diff --git a/games/clanbomber/patches/patch-aa b/games/clanbomber/patches/patch-aa
new file mode 100644
index 00000000000..5faab07413e
--- /dev/null
+++ b/games/clanbomber/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/12/15 07:42:32 garbled Exp $
+--- clanbomber/Resources.cpp.orig Fri Dec 15 00:10:49 2000
++++ clanbomber/Resources.cpp Fri Dec 15 00:13:12 2000
+@@ -24,6 +24,7 @@
+ #include <ClanLib/Core/Sound/soundbuffer.h>
+
+ #include "Resources.h"
++#include <config.h>
+
+ CL_ResourceManager* Resources::res = NULL;
+
+@@ -110,8 +111,7 @@
+ try
+ {
+ res = CL_ResourceManager::create(
+- "/usr/share/clanbomber/clanbomber.dat",
+- true);
++ BOMBERDATDIR, true);
+ }
+ catch (CL_Error err)
+ {
diff --git a/games/clanbomber/patches/patch-ab b/games/clanbomber/patches/patch-ab
new file mode 100644
index 00000000000..96bb9de78c1
--- /dev/null
+++ b/games/clanbomber/patches/patch-ab
@@ -0,0 +1,12 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/12/15 07:42:32 garbled Exp $
+--- clanbomber/ClanBomber.cpp.orig Fri Dec 15 00:27:16 2000
++++ clanbomber/ClanBomber.cpp Fri Dec 15 00:27:46 2000
+@@ -95,7 +95,7 @@
+ show_fps = false;
+ key_F1 = false;
+ #ifndef WIN32
+- map_path = "maps";
++ map_path = BOMBERMAPS;
+ if (!opendir(map_path))
+ {
+ map_path = "/usr/local/share/clanbomber/maps";
diff --git a/games/clanbomber/pkg/COMMENT b/games/clanbomber/pkg/COMMENT
new file mode 100644
index 00000000000..5bf8c7429a6
--- /dev/null
+++ b/games/clanbomber/pkg/COMMENT
@@ -0,0 +1 @@
+a bomberman clone using the ClanLib graphics system
diff --git a/games/clanbomber/pkg/DESCR b/games/clanbomber/pkg/DESCR
new file mode 100644
index 00000000000..99769959d15
--- /dev/null
+++ b/games/clanbomber/pkg/DESCR
@@ -0,0 +1,7 @@
+ClanBomber is a free (GPL) Bomberman-like multiplayer game that uses
+ClanLib, a free multi platform C++ game SDK. First "ClanBomber" was only a
+working title for a small game started in September 1998, that has only
+been started to learn how to use ClanLib. But the ClanBomber project has
+grown into a real game. It is fully playable and features Computer
+controlled bombers, however, it is recommended to play ClanBomber with
+friends (3-8 players are really fun).
diff --git a/games/clanbomber/pkg/PLIST b/games/clanbomber/pkg/PLIST
new file mode 100644
index 00000000000..c73fc8c89f9
--- /dev/null
+++ b/games/clanbomber/pkg/PLIST
@@ -0,0 +1,39 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/12/15 07:42:32 garbled Exp $
+bin/clanbomber
+share/clanbomber/bud.mod
+share/clanbomber/maps/Crammed.map
+share/clanbomber/maps/Hole_Run.map
+share/clanbomber/maps/Obstacle_Race.map
+share/clanbomber/maps/Prison_Cells.map
+share/clanbomber/maps/Small_Standard.map
+share/clanbomber/maps/Tiny_Standard.map
+share/clanbomber/maps/Football.map
+share/clanbomber/maps/Kitchen.map
+share/clanbomber/maps/Whole_Mess.map
+share/clanbomber/maps/Redirection.map
+share/clanbomber/maps/Bloody_Ring.map
+share/clanbomber/maps/Four_Instance.map
+share/clanbomber/maps/Ghostbear.map
+share/clanbomber/maps/Hard_Work.map
+share/clanbomber/maps/Meeting.map
+share/clanbomber/maps/Overkill.map
+share/clanbomber/maps/Sixty_Nine.map
+share/clanbomber/maps/Boiling_Egg.map
+share/clanbomber/maps/Bomb_Attack.map
+share/clanbomber/maps/Arena.map
+share/clanbomber/maps/Big_Block.map
+share/clanbomber/maps/Big_Standard.map
+share/clanbomber/maps/Blast_Matrix.map
+share/clanbomber/maps/Death_Corridor.map
+share/clanbomber/maps/Dilemma.map
+share/clanbomber/maps/FearCircle.map
+share/clanbomber/maps/FearCircle_Remix.map
+share/clanbomber/maps/FireWheels.map
+share/clanbomber/maps/Huge_Standard.map
+share/clanbomber/maps/Juicy_Lucy.map
+share/clanbomber/maps/MungoBane.map
+share/clanbomber/maps/Snake_Race.map
+share/clanbomber/clanbomber.dat
+share/clanbomber/clanbomber.scr
+@dirrm share/clanbomber/maps
+@dirrm share/clanbomber