diff options
author | frueauf <frueauf@pkgsrc.org> | 1998-07-26 22:13:16 +0000 |
---|---|---|
committer | frueauf <frueauf@pkgsrc.org> | 1998-07-26 22:13:16 +0000 |
commit | 714dcd37dd0cea50b2fbfa120e98695553c0ab45 (patch) | |
tree | 66ec7aac0e2182c8501ec5f7532b13d0ee020325 /games | |
parent | f32e73bee19345f706361abed7192731ba5a0aaf (diff) | |
download | pkgsrc-714dcd37dd0cea50b2fbfa120e98695553c0ab45.tar.gz |
Initial addition of golddig-2.0, a fast action game designed for use with X.
Closes pr 5854 by Tim Rightnour.
Diffstat (limited to 'games')
-rw-r--r-- | games/golddig/Makefile | 20 | ||||
-rw-r--r-- | games/golddig/files/md5 | 1 | ||||
-rw-r--r-- | games/golddig/patches/patch-aa | 43 | ||||
-rw-r--r-- | games/golddig/pkg/COMMENT | 1 | ||||
-rw-r--r-- | games/golddig/pkg/DESCR | 3 | ||||
-rw-r--r-- | games/golddig/pkg/PLIST | 25 |
6 files changed, 93 insertions, 0 deletions
diff --git a/games/golddig/Makefile b/games/golddig/Makefile new file mode 100644 index 00000000000..ebd0babf452 --- /dev/null +++ b/games/golddig/Makefile @@ -0,0 +1,20 @@ +# $NetBSD: Makefile,v 1.1 1998/07/26 22:13:16 frueauf Exp $ +# + +DISTNAME= golddig2 +PKGNAME= golddig-2.0 +CATEGORIES= games x11 +MASTER_SITES= ftp://uiarchive.cso.uiuc.edu/pub/systems/linux/sunsite/games/arcade/ + +MAINTAINER= root@garbled.net + +USE_X11= yes + +post-extract: + ${RM} ${WRKSRC}/golddig ${WRKSRC}/makelev ${WRKSRC}/*.o + +.include "../../mk/bsd.pkg.mk" +.if (${OBJECT_FMT} == "ELF") +RPATH= -Wl,-rpath,${PREFIX}/lib +.endif +MAKE_ENV+= RPATH=${RPATH} diff --git a/games/golddig/files/md5 b/games/golddig/files/md5 new file mode 100644 index 00000000000..4f407a20b6c --- /dev/null +++ b/games/golddig/files/md5 @@ -0,0 +1 @@ +MD5 (golddig2.tar.gz) = d79493162bb06540afc3dd7c016f20e4 diff --git a/games/golddig/patches/patch-aa b/games/golddig/patches/patch-aa new file mode 100644 index 00000000000..fff79d17ca2 --- /dev/null +++ b/games/golddig/patches/patch-aa @@ -0,0 +1,43 @@ +--- Makefile.orig Tue Feb 8 21:11:37 1994 ++++ Makefile Sun Jul 26 07:39:28 1998 +@@ -12,8 +12,8 @@ + #BIN = /usr/public/${HOSTTYPE}/games +-BIN = /usr/local/games ++BIN = $(PREFIX)/bin + # Directory where the library for this game will be stored +-LIB = /usr/local/games/lib/${GAME} ++LIB = $(PREFIX)/share/${GAME} + # Directory where manual pages are kept + MANEXT = 6 +-MAN = /usr/local/man/man${MANEXT} ++MAN = $(PREFIX)/man/man${MANEXT} + # Font used to display score +@@ -30,6 +30,6 @@ + #CFLAGS = -O +-CFLAGS = -O2 -W -Wreturn-type -Wunused -finline-functions -D__USE_BSD_SIGNAL ++CFLAGS = -O2 -W -Wreturn-type -Wunused -finline-functions -D__USE_BSD_SIGNAL -I$(PREFIX)/include + #CFLAGS = -g + #LDFLAGS = -L /usr/X11/lib -lbsd -s +-LDFLAGS = -L /usr/X11/lib -s ++LDFLAGS = $(RPATH) -L$(PREFIX)/lib + +@@ -38,13 +38,12 @@ + install: all +- -mkdir ${LIB} +- cp ${GAME} ${EDITOR} ${BIN} ++ -mkdir -p ${LIB} ++ install -s -o bin -g games -m 2755 ${GAME} ${BIN} ++ install -s -o bin -g games -m 2755 ${EDITOR} ${BIN} + # The next line sets up the level files so that anyone can edit all of + # the levels. Remove this line to have better security. +- chmod 4755 ${BIN}/${EDITOR} +- touch ${LIB}/scores ++ install -o bin -g games -m 0664 /dev/null ${LIB}/scores + # Allow anyone to modify the high score file. An alternative is to + # change the mode bits of ${GAME} to be 4755. +- chmod 666 ${LIB}/scores +- cp goldlev* default ${LIB} +- cp golddig.p ${MAN}/golddig.${MANEXT} ++ install -o bin -g bin -m 0644 goldlev* default ${LIB} ++ install -o root -g wheel -m 0644 golddig.p ${MAN}/golddig.${MANEXT} + diff --git a/games/golddig/pkg/COMMENT b/games/golddig/pkg/COMMENT new file mode 100644 index 00000000000..c26556b7597 --- /dev/null +++ b/games/golddig/pkg/COMMENT @@ -0,0 +1 @@ +a fast action game designed for use with X. diff --git a/games/golddig/pkg/DESCR b/games/golddig/pkg/DESCR new file mode 100644 index 00000000000..efc1a8580a6 --- /dev/null +++ b/games/golddig/pkg/DESCR @@ -0,0 +1,3 @@ +Golddig is a fast action game designed for use with the X +window system. makelev is used to create and edit new +levels which can be used by golddig. diff --git a/games/golddig/pkg/PLIST b/games/golddig/pkg/PLIST new file mode 100644 index 00000000000..d2ce5b0e8a2 --- /dev/null +++ b/games/golddig/pkg/PLIST @@ -0,0 +1,25 @@ +@comment $NetBSD: PLIST,v 1.1 1998/07/26 22:13:17 frueauf Exp $ +bin/golddig +bin/makelev +man/man6/golddig.6 +share/golddig/scores +share/golddig/goldlev001 +share/golddig/goldlev002 +share/golddig/goldlev003 +share/golddig/goldlev004 +share/golddig/goldlev005 +share/golddig/goldlev006 +share/golddig/goldlev007 +share/golddig/goldlev008 +share/golddig/goldlev009 +share/golddig/goldlev010 +share/golddig/goldlev011 +share/golddig/goldlev012 +share/golddig/goldlev013 +share/golddig/goldlev014 +share/golddig/goldlev015 +share/golddig/goldlev016 +share/golddig/goldlev017 +share/golddig/goldlev018 +share/golddig/default +@dirrm share/golddig |