From 74e49900fa718e0bbdf4a9dbbe033581ad8cb1d7 Mon Sep 17 00:00:00 2001
From: hubertf <hubertf>
Date: Sun, 5 May 2002 23:01:06 +0000
Subject: Add marbles-1.0.2: Atomix-like puzzle

I always liked the game Atomix and wanted to write a clone for Linux.
But some guys had this idea before me so I slightly changed the
concept from assembling molecules to creating figures out of single
marbles. Nevertheless, the basic game play is the same: If a marble
starts to move it will not stop until it hits a wall or marble.
And to make it even more interesting there are obstacles like one-way
streets, crumbling walls and portals.

As Marbles is meant as a puzzle game you play against a move limit and
not a time limit. This way you have as much time as you need to think.
Marbles has a menu to configure graphics (fullscreen, animations),
sounds and gameplay (player name, levelset, difficulty).

Contributed by xs@kittenz.org in PR 16669
---
 games/marbles/DESCR            | 12 +++++++
 games/marbles/Makefile         | 18 ++++++++++
 games/marbles/PLIST            | 74 ++++++++++++++++++++++++++++++++++++++++++
 games/marbles/distinfo         |  5 +++
 games/marbles/patches/patch-aa | 12 +++++++
 5 files changed, 121 insertions(+)
 create mode 100644 games/marbles/DESCR
 create mode 100644 games/marbles/Makefile
 create mode 100644 games/marbles/PLIST
 create mode 100644 games/marbles/distinfo
 create mode 100644 games/marbles/patches/patch-aa

(limited to 'games/marbles')

diff --git a/games/marbles/DESCR b/games/marbles/DESCR
new file mode 100644
index 00000000000..6410fb0cfb1
--- /dev/null
+++ b/games/marbles/DESCR
@@ -0,0 +1,12 @@
+I always liked the game Atomix and wanted to write a clone for Linux.
+But some guys had this idea before me so I slightly changed the
+concept from assembling molecules to creating figures out of single
+marbles. Nevertheless, the basic game play is the same: If a marble
+starts to move it will not stop until it hits a wall or marble.
+And to make it even more interesting there are obstacles like one-way
+streets, crumbling walls and portals.
+
+As Marbles is meant as a puzzle game you play against a move limit and
+not a time limit. This way you have as much time as you need to think.
+Marbles has a menu to configure graphics (fullscreen, animations),
+sounds and gameplay (player name, levelset, difficulty).
diff --git a/games/marbles/Makefile b/games/marbles/Makefile
new file mode 100644
index 00000000000..a14a93af9e8
--- /dev/null
+++ b/games/marbles/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/05/05 23:01:06 hubertf Exp $
+#
+
+DISTNAME=	marbles-1.0.2
+CATEGORIES=	games
+MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=lgames/}
+
+MAINTAINER=	xs@nitric.net
+HOMEPAGE=	http://lgames.sourceforge.net/
+COMMENT=	Atomix-like puzzle
+
+USE_BUILDLINK_ONLY=	YES
+GNU_CONFIGURE=		YES
+CONFIGURE_ARGS+=	--with-profile-path=${LOCALBASE}/share/games/
+
+.include "../../devel/SDL/buildlink.mk"
+.include "../../mk/x11.buildlink.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/marbles/PLIST b/games/marbles/PLIST
new file mode 100644
index 00000000000..d63e9a06508
--- /dev/null
+++ b/games/marbles/PLIST
@@ -0,0 +1,74 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/05 23:01:06 hubertf Exp $
+bin/marbles
+man/man6/marbles.6
+share/games/marbles/gfx/board.bmp
+share/games/marbles/gfx/f_red.bmp
+share/games/marbles/gfx/f_small.bmp
+share/games/marbles/gfx/f_white.bmp
+share/games/marbles/gfx/f_yellow.bmp
+share/games/marbles/gfx/figure.bmp
+share/games/marbles/gfx/lights.bmp
+share/games/marbles/gfx/logo.bmp
+share/games/marbles/gfx/m_frame.bmp
+share/games/marbles/gfx/m_sframe.bmp
+share/games/marbles/gfx/marbles.bmp
+share/games/marbles/gfx/metal/arrow_d.bmp
+share/games/marbles/gfx/metal/arrow_l.bmp
+share/games/marbles/gfx/metal/arrow_r.bmp
+share/games/marbles/gfx/metal/arrow_u.bmp
+share/games/marbles/gfx/metal/background.bmp
+share/games/marbles/gfx/metal/barrier_lr.bmp
+share/games/marbles/gfx/metal/barrier_ud.bmp
+share/games/marbles/gfx/metal/floor.bmp
+share/games/marbles/gfx/metal/teleport0.bmp
+share/games/marbles/gfx/metal/teleport1.bmp
+share/games/marbles/gfx/metal/teleport2.bmp
+share/games/marbles/gfx/metal/teleport3.bmp
+share/games/marbles/gfx/metal/wall.bmp
+share/games/marbles/gfx/metal/wall_crumble.bmp
+share/games/marbles/gfx/stone/arrow_d.bmp
+share/games/marbles/gfx/stone/arrow_l.bmp
+share/games/marbles/gfx/stone/arrow_r.bmp
+share/games/marbles/gfx/stone/arrow_u.bmp
+share/games/marbles/gfx/stone/background.bmp
+share/games/marbles/gfx/stone/barrier_lr.bmp
+share/games/marbles/gfx/stone/barrier_ud.bmp
+share/games/marbles/gfx/stone/floor.bmp
+share/games/marbles/gfx/stone/teleport0.bmp
+share/games/marbles/gfx/stone/teleport1.bmp
+share/games/marbles/gfx/stone/teleport2.bmp
+share/games/marbles/gfx/stone/teleport3.bmp
+share/games/marbles/gfx/stone/wall.bmp
+share/games/marbles/gfx/stone/wall_crumble.bmp
+share/games/marbles/gfx/tiny.sdlfnt
+share/games/marbles/gfx/title.bmp
+share/games/marbles/gfx/wood/arrow_d.bmp
+share/games/marbles/gfx/wood/arrow_l.bmp
+share/games/marbles/gfx/wood/arrow_r.bmp
+share/games/marbles/gfx/wood/arrow_u.bmp
+share/games/marbles/gfx/wood/background.bmp
+share/games/marbles/gfx/wood/barrier_lr.bmp
+share/games/marbles/gfx/wood/barrier_ud.bmp
+share/games/marbles/gfx/wood/floor.bmp
+share/games/marbles/gfx/wood/teleport0.bmp
+share/games/marbles/gfx/wood/teleport1.bmp
+share/games/marbles/gfx/wood/teleport2.bmp
+share/games/marbles/gfx/wood/teleport3.bmp
+share/games/marbles/gfx/wood/wall.bmp
+share/games/marbles/gfx/wood/wall_crumble.bmp
+share/games/marbles/levels/Original
+share/games/marbles/sound/alarm.wav
+share/games/marbles/sound/arrow.wav
+share/games/marbles/sound/click.wav
+share/games/marbles/sound/explode.wav
+share/games/marbles/sound/score.wav
+share/games/marbles/sound/select.wav
+share/games/marbles/sound/stop.wav
+share/games/marbles/sound/teleport.wav
+@dirrm share/games/marbles/sound
+@dirrm share/games/marbles/levels
+@dirrm share/games/marbles/gfx/wood
+@dirrm share/games/marbles/gfx/stone
+@dirrm share/games/marbles/gfx/metal
+@dirrm share/games/marbles/gfx
+@dirrm share/games/marbles
diff --git a/games/marbles/distinfo b/games/marbles/distinfo
new file mode 100644
index 00000000000..14d952eb063
--- /dev/null
+++ b/games/marbles/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/05/05 23:01:06 hubertf Exp $
+
+SHA1 (marbles-1.0.2.tar.gz) = ede46e2df12e0919fec3cf8b56abe39ee070118e
+Size (marbles-1.0.2.tar.gz) = 798715 bytes
+SHA1 (patch-aa) = 2ea7fc1f424c49a03292f67c119b787961b89457
diff --git a/games/marbles/patches/patch-aa b/games/marbles/patches/patch-aa
new file mode 100644
index 00000000000..16a6a44a4f3
--- /dev/null
+++ b/games/marbles/patches/patch-aa
@@ -0,0 +1,12 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/05/05 23:01:06 hubertf Exp $
+
+--- src/timer.c.orig	Tue Nov 21 18:39:51 2000
++++ src/timer.c
+@@ -15,6 +15,7 @@
+  *                                                                         *
+  ***************************************************************************/
+ 
++#include <sys/time.h>
+ #include "timer.h"
+ #include "sys/timeb.h"
+ #include "sdl.h"
-- 
cgit v1.2.3