summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-rw-r--r--games/tileworld/DESCR8
-rw-r--r--games/tileworld/Makefile29
-rw-r--r--games/tileworld/PLIST47
-rw-r--r--games/tileworld/distinfo5
-rw-r--r--games/tileworld/patches/patch-aa48
5 files changed, 137 insertions, 0 deletions
diff --git a/games/tileworld/DESCR b/games/tileworld/DESCR
new file mode 100644
index 00000000000..0d5da687a63
--- /dev/null
+++ b/games/tileworld/DESCR
@@ -0,0 +1,8 @@
+Tile World is an emulation of the game "Chip's Challenge" (a registered
+trademark of Bridgestone Multimedia) created by Chuck Sommerville for
+the Atari Lynx.
+
+The player navigates Chip through various challenges and obstacles.
+The levels may have teleports, tools, protective gear, chips, keys,
+and other items. The goal is to reach the exit tile which takes you
+to the next level. Some levels have time limits.
diff --git a/games/tileworld/Makefile b/games/tileworld/Makefile
new file mode 100644
index 00000000000..d1293f9b17d
--- /dev/null
+++ b/games/tileworld/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/02/15 08:13:20 salo Exp $
+#
+
+DISTNAME= tworld-1.0
+PKGNAME= ${DISTNAME:S/^t/tile/}
+CATEGORIES= games
+MASTER_SITES= http://www.muppetlabs.com/~breadbox/pub/software/tworld/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.muppetlabs.com/~breadbox/software/tworld/
+COMMENT= "Game based on Chip's Challenge"
+
+USE_BUILDLINK2= YES
+USE_GMAKE= YES
+USE_X11= YES
+GNU_CONFIGURE= YES
+
+WRKSRC= ${WRKDIR}/tworld-1.0
+ALL_TARGET= tworld
+
+MAKE_ENV+= ECHO="${ECHO}" DATE="${DATE}"
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/tworld
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/tworld/
+ ${INSTALL_DATA} ${WRKSRC}/docs/tworld.html ${PREFIX}/share/doc/tworld/
+
+.include "../../devel/SDL/buildlink2.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/tileworld/PLIST b/games/tileworld/PLIST
new file mode 100644
index 00000000000..57e44a02462
--- /dev/null
+++ b/games/tileworld/PLIST
@@ -0,0 +1,47 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/02/15 08:13:20 salo Exp $
+bin/tworld
+man/man6/tworld.6
+share/tworld/data/intro.dat
+share/tworld/res/atiles.bmp
+share/tworld/res/block.wav
+share/tworld/res/bomb.wav
+share/tworld/res/bump.wav
+share/tworld/res/chack.wav
+share/tworld/res/click.wav
+share/tworld/res/crackle.wav
+share/tworld/res/death.wav
+share/tworld/res/derezz.wav
+share/tworld/res/ding.wav
+share/tworld/res/door.wav
+share/tworld/res/font.bmp
+share/tworld/res/force.wav
+share/tworld/res/oof.wav
+share/tworld/res/plip.wav
+share/tworld/res/popup.wav
+share/tworld/res/rc
+share/tworld/res/skate.wav
+share/tworld/res/skaturn.wav
+share/tworld/res/slurp.wav
+share/tworld/res/snick.wav
+share/tworld/res/socket.wav
+share/tworld/res/splash.wav
+share/tworld/res/tada.wav
+share/tworld/res/teleport.wav
+share/tworld/res/thief.wav
+share/tworld/res/tick.wav
+share/tworld/res/tiles.bmp
+share/tworld/res/ting.wav
+share/tworld/res/traphit.wav
+share/tworld/res/whisk.wav
+share/tworld/sets/CCLP2.dac
+share/tworld/sets/cc-lynx.dac
+share/tworld/sets/cc-ms.dac
+share/tworld/sets/intro-lynx.dac
+share/tworld/sets/intro-ms.dac
+share/doc/tworld/README
+share/doc/tworld/tworld.html
+@dirrm share/doc/tworld
+@dirrm share/tworld/sets
+@dirrm share/tworld/res
+@dirrm share/tworld/data
+@dirrm share/tworld
diff --git a/games/tileworld/distinfo b/games/tileworld/distinfo
new file mode 100644
index 00000000000..69c30c98276
--- /dev/null
+++ b/games/tileworld/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/02/15 08:13:20 salo Exp $
+
+SHA1 (tworld-1.0.tar.gz) = 6199962b1885e9c93c9a19866d974298b1800723
+Size (tworld-1.0.tar.gz) = 1032532 bytes
+SHA1 (patch-aa) = 4ba1f84aca5c4768bfd447a7557540519b5511d6
diff --git a/games/tileworld/patches/patch-aa b/games/tileworld/patches/patch-aa
new file mode 100644
index 00000000000..5e54557772a
--- /dev/null
+++ b/games/tileworld/patches/patch-aa
@@ -0,0 +1,48 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/02/15 08:13:20 salo Exp $
+
+--- Makefile.in.orig Thu Apr 25 16:02:56 2002
++++ Makefile.in Sat Feb 15 08:41:09 2003
+@@ -68,14 +68,14 @@
+ #
+
+ comptime.h:
+- echo \#define COMPILE_TIME \"`date '+%Y %b %e %T %Z'`\" > comptime.h
++ ${ECHO} \#define COMPILE_TIME \"`${DATE} '+%Y %b %e %T %Z'`\" > comptime.h
+
+ #
+ # Libraries
+ #
+
+ liboshw.a: oshw.h defs.h gen.h state.h err.h oshw/*.c oshw/*.h
+- (cd oshw && make)
++ (cd oshw && ${MAKE})
+
+ #
+ # Resources
+@@ -89,17 +89,15 @@
+ #
+
+ install: tworld
+- cp -i ./tworld $(bindir)/.
+- mkdir -p $(sharedir)/sets
+- mkdir -p $(sharedir)/data
+- mkdir -p $(sharedir)/res
+- mkdir -p $(mandir)/man6
+- cp -i sets/*.dac $(sharedir)/sets/.
+- cp -i data/*.dat $(sharedir)/data/.
+- cp -i resources/rc $(sharedir)/res/.
+- cp -i resources/*.bmp $(sharedir)/res/.
+- cp -i resources/*.wav $(sharedir)/res/.
+- cp -i docs/tworld.6 $(mandir)/man6/.
++ ${BSD_INSTALL_PROGRAM} tworld $(bindir)/
++ ${BSD_INSTALL_DATA_DIR} $(sharedir)/sets
++ ${BSD_INSTALL_DATA_DIR} $(sharedir)/data
++ ${BSD_INSTALL_DATA_DIR} $(sharedir)/res
++ ${BSD_INSTALL_DATA} sets/*.dac $(sharedir)/sets/
++ ${BSD_INSTALL_DATA} data/*.dat $(sharedir)/data/
++ ${BSD_INSTALL_DATA} resources/rc resources/*.bmp \
++ resources/*.wav $(sharedir)/res/
++ ${BSD_INSTALL_MAN} docs/tworld.6 $(mandir)/man6/
+
+ clean:
+ rm -f $(OBJS) tworld mklynxcc comptime.h config.*