From 4b59b18ee35cabf25808cd9ea4a18c8878b40730 Mon Sep 17 00:00:00 2001 From: tron Date: Fri, 13 Aug 1999 19:04:55 +0000 Subject: Import new "xjewel" package submitted by Julian Coleman in PR pkg/8198: xjewel - X windows dropping jewels game --- games/xjewel/Makefile | 12 ++++++++++ games/xjewel/files/md5 | 3 +++ games/xjewel/files/patch-sum | 3 +++ games/xjewel/patches/patch-aa | 54 +++++++++++++++++++++++++++++++++++++++++++ games/xjewel/pkg/COMMENT | 1 + games/xjewel/pkg/DESCR | 6 +++++ games/xjewel/pkg/PLIST | 4 ++++ 7 files changed, 83 insertions(+) create mode 100644 games/xjewel/Makefile create mode 100644 games/xjewel/files/md5 create mode 100644 games/xjewel/files/patch-sum create mode 100644 games/xjewel/patches/patch-aa create mode 100644 games/xjewel/pkg/COMMENT create mode 100644 games/xjewel/pkg/DESCR create mode 100644 games/xjewel/pkg/PLIST (limited to 'games') diff --git a/games/xjewel/Makefile b/games/xjewel/Makefile new file mode 100644 index 00000000000..fdcecd29680 --- /dev/null +++ b/games/xjewel/Makefile @@ -0,0 +1,12 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/08/13 19:04:55 tron Exp $ + +DISTNAME= xjewel-1.6 +CATEGORIES= x11 +MASTER_SITES= ${MASTER_SITE_XCONTRIB:S/contrib/R5contrib/} +EXTRACT_SUFX= .tar.z + +MAINTAINER= j.d.coleman@ncl.ac.uk + +USE_IMAKE= yes + +.include "../../mk/bsd.pkg.mk" diff --git a/games/xjewel/files/md5 b/games/xjewel/files/md5 new file mode 100644 index 00000000000..ed69d3ddcbb --- /dev/null +++ b/games/xjewel/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1999/08/13 19:04:56 tron Exp $ + +MD5 (xjewel-1.6.tar.z) = b6448726269ec158c5db6eb54864bdfe diff --git a/games/xjewel/files/patch-sum b/games/xjewel/files/patch-sum new file mode 100644 index 00000000000..67e15a37411 --- /dev/null +++ b/games/xjewel/files/patch-sum @@ -0,0 +1,3 @@ +$NetBSD: patch-sum,v 1.1.1.1 1999/08/13 19:04:56 tron Exp $ + +MD5 (patch-aa) = 0a5ab0eddc61859176c5137f2d67f43d diff --git a/games/xjewel/patches/patch-aa b/games/xjewel/patches/patch-aa new file mode 100644 index 00000000000..94f59b40c8a --- /dev/null +++ b/games/xjewel/patches/patch-aa @@ -0,0 +1,54 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/08/13 19:04:56 tron Exp $ + +--- Imakefile.orig Wed Feb 16 11:35:06 1994 ++++ Imakefile Fri Aug 13 20:47:32 1999 +@@ -4,12 +4,11 @@ + CDEBUGFLAGS = -O + + # CHANGE HSCORE_FILE TO SUIT +-#HSCORE_FILE=/usr/local/lib/xjewel.scores +-HSCORE_FILE=xjewel.scores ++HSCORE_FILE=/var/games/xjewel.scores + + # ADD YOUR ARCHITECTURE IF YOU USE SELECT INSTEAD OF POLL + #if defined(HPArchitecture) || defined(ApolloArchitecture) || \ +- defined(UltrixArchitecture) ++ defined(UltrixArchitecture) || defined(NetBSDArchitecture) + #define sel -DUSE_SELECT + #else + #define sel +@@ -21,10 +20,10 @@ + # DEFINE 'GETPWENT' if you dont have the cuserid ftn (hscore.c) + # DEFINE 'SLOW_FONTS=n' if your server is overly fast on fonts + # DEFINE 'SLOW_DRAW=n' if your server is overly fast on drawing +-USERDEFS = -DICON_WINDOW ++USERDEFS = -DICON_WINDOW -DGETPWENT + + # CHANGE FFILE TO REFLECT THE EXTENSION USED FOR COMPILED FONTS +-FFILE = snf ++FFILE = pcf.gz + + ############################################################################## + # X-STUFF... +@@ -42,15 +41,19 @@ + + + # LETS GET TO IT... ++INSTPGMFLAGS = -s -m 2555 -o root -g games + ComplexProgramTarget(xjewel) + + # IF YOUR SERVER DOES NOT LIKE THE DEFAULT FONT COMPILER, EDIT HERE... + FontTarget($(FONT)) + $(MKFONTDIR) bitmaps/ + ++MANSUFFIX=6 ++ + # FORCE FONT TO BE BUILT + all:: $(CFONT) + + install:: +- touch $(HSCORE_FILE) +- chmod a+w $(HSCORE_FILE) ++ touch $(HSCORE_FILE) ++ chown games:games $(HSCORE_FILE) ++ chmod 664 $(HSCORE_FILE) diff --git a/games/xjewel/pkg/COMMENT b/games/xjewel/pkg/COMMENT new file mode 100644 index 00000000000..80d9650c028 --- /dev/null +++ b/games/xjewel/pkg/COMMENT @@ -0,0 +1 @@ +xjewel - X windows dropping jewels game diff --git a/games/xjewel/pkg/DESCR b/games/xjewel/pkg/DESCR new file mode 100644 index 00000000000..ad9df35ab33 --- /dev/null +++ b/games/xjewel/pkg/DESCR @@ -0,0 +1,6 @@ +Jewel is a droping block game akin to tetris. + +It is played by controling the motion of blocks which continue to +fall from the top of the screen. One can move them left and right, +as well as rotate the jewel segments. The object is to get the most +points before the grim reaper ends the fun. diff --git a/games/xjewel/pkg/PLIST b/games/xjewel/pkg/PLIST new file mode 100644 index 00000000000..b63de20658d --- /dev/null +++ b/games/xjewel/pkg/PLIST @@ -0,0 +1,4 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/08/13 19:04:56 tron Exp $ +bin/xjewel +man/cat6/xjewel.0 +@exec touch /var/games/xjewel.scores && chown games:games /var/games/xjewel.scores && chmod 664 /var/games/xjewel.scores -- cgit v1.2.3