summaryrefslogtreecommitdiff
path: root/games/lmarbles
diff options
context:
space:
mode:
authoradam <adam>2005-01-12 15:50:17 +0000
committeradam <adam>2005-01-12 15:50:17 +0000
commitb80683095258af797c234ae62a737967abd3f0e5 (patch)
tree0282b76017846433e021216814ed69b5ca4e2047 /games/lmarbles
parent1ccc7762810dc398d5d44627f4498cfdb37cf90e (diff)
downloadpkgsrc-b80683095258af797c234ae62a737967abd3f0e5.tar.gz
Renamed marbles to lmarbles
Changes 1.0.7: - configure option --with-profile-path has been replaced with autoconf option --localstatedir (04/06/14 M.S.) - data files will be installed to $datadir/lmarbles instead of $datadir/games/lmarbles (04/06/14 M.S.) - replaced strlen with sizeof when building config path (04/06/09 M.S.) - renamed marbles.prfs to lmarbles.prfs in the Makefile (04/06/09 M.S.) - included header for NetBSD (03/09/30 H.F.) Changes 1.0.6: - renamed project to LMarbles (02/11/24 M.S.) - fixed security holes created by improper use of sprintf (02/11/24 M.S.) Changes 1.0.5: - switched to SDL_mixer (02/08/10 L.R.) - bunch of memory leaks fixed (02/08/10 L.R.) - for Win32: (02/08/10 L.R.) - edit bug fixed - installation details added to README - much improved installation system - files are always opened in binary mode - transparency bug fix Changes 1.0.4: - fixed a bug in the sound server that caused Marbles to crash when exiting too fast (01/07/02 M.S.) - fixed a bug that caused Marbles to forget the last used profile (01/07/02 M.S.) - fixed a bug in autoswitch which restarted the level when the figure was completed with the last move (01/07/02 M.S.) - fixed a bug in restart routine that allowed selection of a ghost marble (01/07/02 M.S.) Changes 1.0.3: - score is now properly modified (02/06/24 M.S.) - fixed a bug that caused an infinite loop when left-clicking an empty tile directly after deselecting a marble (02/06/22 M.S.) - added a missing include at top of timer.c
Diffstat (limited to 'games/lmarbles')
-rw-r--r--games/lmarbles/DESCR7
-rw-r--r--games/lmarbles/Makefile16
-rw-r--r--games/lmarbles/PLIST76
-rw-r--r--games/lmarbles/distinfo5
-rw-r--r--games/lmarbles/patches/patch-aa13
5 files changed, 117 insertions, 0 deletions
diff --git a/games/lmarbles/DESCR b/games/lmarbles/DESCR
new file mode 100644
index 00000000000..f50d16ab2b2
--- /dev/null
+++ b/games/lmarbles/DESCR
@@ -0,0 +1,7 @@
+LMarbles is an Atomix clone with a slight change in concept. Instead of
+assembling molecules you create figures out of 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 another marble. To make it 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.
diff --git a/games/lmarbles/Makefile b/games/lmarbles/Makefile
new file mode 100644
index 00000000000..9811281439f
--- /dev/null
+++ b/games/lmarbles/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/01/12 15:50:17 adam Exp $
+
+DISTNAME= lmarbles-1.0.7
+CATEGORIES= games
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=lgames/}
+
+MAINTAINER= xs@nitric.net
+HOMEPAGE= http://lgames.sourceforge.net/
+COMMENT= Atomix-like puzzle
+
+USE_BUILDLINK3= yes
+USE_X11= yes
+GNU_CONFIGURE= yes
+
+.include "../../audio/SDL_mixer/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/lmarbles/PLIST b/games/lmarbles/PLIST
new file mode 100644
index 00000000000..3d33ffabd90
--- /dev/null
+++ b/games/lmarbles/PLIST
@@ -0,0 +1,76 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/01/12 15:50:18 adam Exp $
+bin/lmarbles
+man/man6/lmarbles.6
+share/lmarbles/gfx/board.bmp
+share/lmarbles/gfx/f_red.bmp
+share/lmarbles/gfx/f_small.bmp
+share/lmarbles/gfx/f_white.bmp
+share/lmarbles/gfx/f_yellow.bmp
+share/lmarbles/gfx/figure.bmp
+share/lmarbles/gfx/lights.bmp
+share/lmarbles/gfx/logo.bmp
+share/lmarbles/gfx/m_frame.bmp
+share/lmarbles/gfx/m_sframe.bmp
+share/lmarbles/gfx/marbles.bmp
+share/lmarbles/gfx/metal/arrow_d.bmp
+share/lmarbles/gfx/metal/arrow_l.bmp
+share/lmarbles/gfx/metal/arrow_r.bmp
+share/lmarbles/gfx/metal/arrow_u.bmp
+share/lmarbles/gfx/metal/background.bmp
+share/lmarbles/gfx/metal/barrier_lr.bmp
+share/lmarbles/gfx/metal/barrier_ud.bmp
+share/lmarbles/gfx/metal/floor.bmp
+share/lmarbles/gfx/metal/teleport0.bmp
+share/lmarbles/gfx/metal/teleport1.bmp
+share/lmarbles/gfx/metal/teleport2.bmp
+share/lmarbles/gfx/metal/teleport3.bmp
+share/lmarbles/gfx/metal/wall.bmp
+share/lmarbles/gfx/metal/wall_crumble.bmp
+share/lmarbles/gfx/stone/arrow_d.bmp
+share/lmarbles/gfx/stone/arrow_l.bmp
+share/lmarbles/gfx/stone/arrow_r.bmp
+share/lmarbles/gfx/stone/arrow_u.bmp
+share/lmarbles/gfx/stone/background.bmp
+share/lmarbles/gfx/stone/barrier_lr.bmp
+share/lmarbles/gfx/stone/barrier_ud.bmp
+share/lmarbles/gfx/stone/floor.bmp
+share/lmarbles/gfx/stone/teleport0.bmp
+share/lmarbles/gfx/stone/teleport1.bmp
+share/lmarbles/gfx/stone/teleport2.bmp
+share/lmarbles/gfx/stone/teleport3.bmp
+share/lmarbles/gfx/stone/wall.bmp
+share/lmarbles/gfx/stone/wall_crumble.bmp
+share/lmarbles/gfx/tiny.sdlfnt
+share/lmarbles/gfx/title.bmp
+share/lmarbles/gfx/win_icon.bmp
+share/lmarbles/gfx/wood/arrow_d.bmp
+share/lmarbles/gfx/wood/arrow_l.bmp
+share/lmarbles/gfx/wood/arrow_r.bmp
+share/lmarbles/gfx/wood/arrow_u.bmp
+share/lmarbles/gfx/wood/background.bmp
+share/lmarbles/gfx/wood/barrier_lr.bmp
+share/lmarbles/gfx/wood/barrier_ud.bmp
+share/lmarbles/gfx/wood/floor.bmp
+share/lmarbles/gfx/wood/teleport0.bmp
+share/lmarbles/gfx/wood/teleport1.bmp
+share/lmarbles/gfx/wood/teleport2.bmp
+share/lmarbles/gfx/wood/teleport3.bmp
+share/lmarbles/gfx/wood/wall.bmp
+share/lmarbles/gfx/wood/wall_crumble.bmp
+share/lmarbles/levels/Original
+share/lmarbles/sounds/alarm.wav
+share/lmarbles/sounds/arrow.wav
+share/lmarbles/sounds/click.wav
+share/lmarbles/sounds/explode.wav
+share/lmarbles/sounds/score.wav
+share/lmarbles/sounds/select.wav
+share/lmarbles/sounds/stop.wav
+share/lmarbles/sounds/teleport.wav
+var/lmarbles.prfs
+@dirrm share/lmarbles/sounds
+@dirrm share/lmarbles/levels
+@dirrm share/lmarbles/gfx/wood
+@dirrm share/lmarbles/gfx/stone
+@dirrm share/lmarbles/gfx/metal
+@dirrm share/lmarbles/gfx
+@dirrm share/lmarbles
diff --git a/games/lmarbles/distinfo b/games/lmarbles/distinfo
new file mode 100644
index 00000000000..1b0ae161faf
--- /dev/null
+++ b/games/lmarbles/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/01/12 15:50:18 adam Exp $
+
+SHA1 (lmarbles-1.0.7.tar.gz) = 25b0a635f53a3ab351247ac2820cbd6951d7050d
+Size (lmarbles-1.0.7.tar.gz) = 829635 bytes
+SHA1 (patch-aa) = b453e75a29848a470275d06bc97e9fe09a12e1b8
diff --git a/games/lmarbles/patches/patch-aa b/games/lmarbles/patches/patch-aa
new file mode 100644
index 00000000000..3d3deb5bb05
--- /dev/null
+++ b/games/lmarbles/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2005/01/12 15:50:18 adam Exp $
+
+--- src/profile.c.orig Wed Jan 30 18:57:23 2002
++++ src/profile.c
+@@ -75,7 +75,7 @@ int Prf_Ld()
+ #ifdef ASCII
+ F_GetE(f, str, F_VAL); str[strlen(str) - 1] = 0;
+ if (strncmp(str,"ascii",5)) {
+- printf("\nWARNING: trying to load raw binary data in ascii; cannot read profiles\n", prf_pth);
++ printf("\nWARNING: trying to load raw binary data in ascii; cannot read profiles\n");
+ Prf_Crt("Michael");
+ not_f = 1;
+ }