summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2003-11-22 23:00:50 +0000
committerpav <pav@FreeBSD.org>2003-11-22 23:00:50 +0000
commit367efe6e53943d4097c8a945bf47bb3bded55edf (patch)
tree45ef82652de5cc24bfd73582560ba2c9f61d4747 /games
parent5e00b7df5edeaf2ef14ca3c87100ab937239c835 (diff)
downloadFreeBSD-ports-367efe6e53943d4097c8a945bf47bb3bded55edf.zip
FreeBSD-ports-367efe6e53943d4097c8a945bf47bb3bded55edf.tar.gz
Deluxe Snake is a best snake clone you'll ever play. It have frogs, mushrooms,
sugar candies, lots of powerups and a tail-bite! Approved by: adamw (mentor)
Diffstat (limited to 'games')
-rw-r--r--games/Makefile1
-rw-r--r--games/dsnake/Makefile35
-rw-r--r--games/dsnake/distinfo1
-rw-r--r--games/dsnake/pkg-descr8
-rw-r--r--games/dsnake/pkg-plist18
5 files changed, 63 insertions, 0 deletions
diff --git a/games/Makefile b/games/Makefile
index fb0ae3e..03238be 100644
--- a/games/Makefile
+++ b/games/Makefile
@@ -87,6 +87,7 @@
SUBDIR += doomlegacy
SUBDIR += dopewars
SUBDIR += drm
+ SUBDIR += dsnake
SUBDIR += dungeon
SUBDIR += dungeoncrawl
SUBDIR += easysok
diff --git a/games/dsnake/Makefile b/games/dsnake/Makefile
new file mode 100644
index 0000000..0f646a6
--- /dev/null
+++ b/games/dsnake/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: dsnake
+# Date created: 18 Nov 2003
+# Whom: Pav Lucistnik <pav@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dsnake
+PORTVERSION= 3.0.0
+CATEGORIES= games linux
+MASTER_SITES= http://www.dascdev.net/_files/
+DISTNAME= ${PORTNAME}-linux-${PORTVERSION}
+WRKSRC= ${WRKDIR}/DeluxeSnake
+
+MAINTAINER= pav@FreeBSD.org
+COMMENT= Deluxe Snake - snake clone with frogs and mushrooms
+
+RUN_DEPENDS= ${LINUXBASE}/usr/lib/liballeg.so.4.0:${PORTSDIR}/devel/linux-allegro
+
+NO_PACKAGE= Licence forbids any repacking and reselling
+
+ONLY_FOR_ARCHS= i386
+NO_BUILD= yes
+USE_X_PREFIX= yes
+
+do-install:
+ ${MKDIR} ${DATADIR}
+ (cd ${WRKSRC}; ${TAR} -cf - *) | (cd ${DATADIR}; ${TAR} -xf -)
+ ${TOUCH} ${DATADIR}/config.dat ${DATADIR}/hiscores.dat ${DATADIR}/stats.dat
+ ${CHMOD} 0666 ${DATADIR}/config.dat ${DATADIR}/hiscores.dat ${DATADIR}/stats.dat
+ ${ECHO_CMD} "#!/bin/sh" > ${WRKDIR}/dsnake.sh
+ ${ECHO_CMD} "cd ${DATADIR} && ./dsnake -win" >> ${WRKDIR}/dsnake.sh
+ ${INSTALL_SCRIPT} ${WRKDIR}/dsnake.sh ${PREFIX}/bin/dsnake
+
+.include <bsd.port.mk>
diff --git a/games/dsnake/distinfo b/games/dsnake/distinfo
new file mode 100644
index 0000000..b65735a
--- /dev/null
+++ b/games/dsnake/distinfo
@@ -0,0 +1 @@
+MD5 (dsnake-linux-3.0.0.tar.gz) = 2083f8550f5cb240aa55f8eff0658e3f
diff --git a/games/dsnake/pkg-descr b/games/dsnake/pkg-descr
new file mode 100644
index 0000000..6a7acbf
--- /dev/null
+++ b/games/dsnake/pkg-descr
@@ -0,0 +1,8 @@
+Deluxe Snake is a clone of the classic arcade games Nibbles and Snake,
+with improved gameplay, including power-ups, mushrooms, walls, tail-bite,
+and other fun stuff. Play on multiple arena sizes, with borders on/off,
+in 4 different gamemodes. There's a top 20 high-scores list for each
+combination of settings, which also stores gamelengths and dates, and
+can be merged with friends' lists.
+
+WWW: http://www.dascdev.net/deluxesnake/
diff --git a/games/dsnake/pkg-plist b/games/dsnake/pkg-plist
new file mode 100644
index 0000000..2d55da57
--- /dev/null
+++ b/games/dsnake/pkg-plist
@@ -0,0 +1,18 @@
+bin/dsnake
+%%DATADIR%%/config.dat
+%%DATADIR%%/data/fonts.dat
+%%DATADIR%%/data/logos.dat
+%%DATADIR%%/data/sfx.dat
+%%DATADIR%%/data/sprites.dat
+%%DATADIR%%/data/sprites2.dat
+%%DATADIR%%/data/textures.dat
+%%DATADIR%%/dsnake
+%%DATADIR%%/hiscores.dat
+%%DATADIR%%/midi/fall.mid
+%%DATADIR%%/midi/partille.mid
+%%DATADIR%%/midi/The_Jayomon_Beat.mid
+%%DATADIR%%/ReadMe.txt
+%%DATADIR%%/stats.dat
+@dirrm %%DATADIR%%/midi
+@dirrm %%DATADIR%%/data
+@dirrm %%DATADIR%%
OpenPOWER on IntegriCloud