Import rocksndiamonds 2.1.1; submitted by Jolan Luff <jolan@cryptonomicon.org>

maze game resembling boulderdash
This commit is contained in:
wilfried 2003-04-11 15:31:27 +00:00
parent 9aa34adc53
commit 5d9471d197
6 changed files with 2067 additions and 0 deletions

View File

@ -0,0 +1,32 @@
# $OpenBSD: Makefile,v 1.1.1.1 2003/04/11 15:31:27 wilfried Exp $
COMMENT= "maze game resembling boulderdash"
DISTNAME= rocksndiamonds-2.1.1
CATEGORIES= games x11
MASTER_SITES= http://www.artsoft.org/RELEASES/unix/rocksndiamonds/
HOMEPAGE= http://www.artsoft.org/rocksndiamonds/
MAINTAINER= Jolan Luff <jolan@cryptonomicon.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
LIB_DEPENDS= SDL_mixer::devel/sdl-mixer,mikmod \
SDL_image::devel/sdl-image
NO_REGRESS= Yes
USE_GMAKE= Yes
USE_X11= Yes
N=rocksndiamonds
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/${N} ${PREFIX}/bin
${INSTALL_DATA_DIR} ${PREFIX}/share/${N}
@cp -R ${WRKSRC}/{graphics,levels,music,sounds} ${PREFIX}/share/${N}
.include <bsd.port.mk>

View File

@ -0,0 +1,3 @@
MD5 (rocksndiamonds-2.1.1.tar.gz) = 3c3799c01a54487b719999797e41e2fa
RMD160 (rocksndiamonds-2.1.1.tar.gz) = 4f23bf34854b49685fa65ebcb8f60e0956d95284
SHA1 (rocksndiamonds-2.1.1.tar.gz) = 3067ccd0af83de9ae2b98f0d8e4f60aca525733c

View File

@ -0,0 +1,40 @@
$OpenBSD: patch-Makefile,v 1.1.1.1 2003/04/11 15:31:34 wilfried Exp $
--- Makefile.orig Mon Aug 12 18:52:36 2002
+++ Makefile Thu Apr 10 05:44:04 2003
@@ -9,22 +9,22 @@
# specify command name of your favorite ANSI C compiler
# (this must be set to "cc" for some systems)
-CC = gcc
+#CC = gcc
# specify command name of GNU make on your system
# (this must be set to "gmake" for some systems)
-MAKE = make
+#MAKE = make
# specify path to X11 on your system
-X11_PATH = /usr/X11R6
+X11_PATH = ${X11BASE}
# specify directory for read-only game data (like graphics, sounds, levels)
# default is '.', so you can play without installing game data somewhere
-# RO_GAME_DIR = /usr/games
+RO_GAME_DIR = ${PREFIX}/share/rocksndiamonds
# specify directory for writable game data (like highscore files)
# default is '.', so you can play without installing game data somewhere
-# RW_GAME_DIR = /var/games
+RW_GAME_DIR = ${PREFIX}/share/rocksndiamonds
# uncomment this if your system has no joystick include file
# JOYSTICK = -DNO_JOYSTICK
@@ -50,7 +50,7 @@ SRC_DIR = src
MAKE_CMD = $(MAKE) -C $(SRC_DIR)
all:
- @$(MAKE_CMD) TARGET=x11
+ @$(MAKE_CMD) TARGET=sdl
x11:
@$(MAKE_CMD) TARGET=x11

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_Makefile,v 1.1.1.1 2003/04/11 15:31:34 wilfried Exp $
--- src/Makefile.orig Mon Aug 12 18:52:36 2002
+++ src/Makefile Thu Apr 10 05:51:22 2003
@@ -117,7 +117,7 @@ ifdef BUILD_DIST # distribution build
OPTIONS = -O3 -Wall
endif
-CFLAGS = $(OPTIONS) $(SYS_CFLAGS) $(CONFIG)
+CFLAGS += $(SYS_CFLAGS) $(CONFIG)
LDFLAGS = $(SYS_LDFLAGS) $(EXTRA_LDFLAGS) -lm

View File

@ -0,0 +1,5 @@
If you know the game "Boulderdash" (Commodore C64) or "Emerald Mine"
(Amiga), you know what "ROCKS'N'DIAMONDS" is about. For those not
familiar with those games, they are all of the 2D maze genre.
WWW: ${HOMEPAGE}

File diff suppressed because it is too large Load Diff