diff options
author | frueauf <frueauf@pkgsrc.org> | 1998-08-18 09:25:16 +0000 |
---|---|---|
committer | frueauf <frueauf@pkgsrc.org> | 1998-08-18 09:25:16 +0000 |
commit | 1ccea6b8438f9f71f623c8b493e2b26b2b998255 (patch) | |
tree | 0b22c9b21e9b78de92938178f78edc59ec414a3d /games | |
parent | 2115c1cd87df77e6dbdb42ea54a2753b97706c5a (diff) | |
download | pkgsrc-1ccea6b8438f9f71f623c8b493e2b26b2b998255.tar.gz |
Initial addition of xboing-2.4, a breakout style game for X11.
Closes pr 5984 by Tim Rightnour.
Diffstat (limited to 'games')
-rw-r--r-- | games/xboing/Makefile | 23 | ||||
-rw-r--r-- | games/xboing/files/md5 | 3 | ||||
-rw-r--r-- | games/xboing/patches/patch-aa | 48 | ||||
-rw-r--r-- | games/xboing/patches/patch-ab | 10 | ||||
-rw-r--r-- | games/xboing/patches/patch-ac | 10 | ||||
-rw-r--r-- | games/xboing/pkg/COMMENT | 1 | ||||
-rw-r--r-- | games/xboing/pkg/DESCR | 15 | ||||
-rw-r--r-- | games/xboing/pkg/PLIST | 91 |
8 files changed, 201 insertions, 0 deletions
diff --git a/games/xboing/Makefile b/games/xboing/Makefile new file mode 100644 index 00000000000..a716a8318ae --- /dev/null +++ b/games/xboing/Makefile @@ -0,0 +1,23 @@ +# $NetBSD: Makefile,v 1.1 1998/08/18 09:25:16 frueauf Exp $ +# + +DISTNAME= xboing2.4 +PKGNAME= xboing-2.4 +CATEGORIES= games x11 +MASTER_SITES= ${MASTER_SITE_XCONTRIB} +MASTER_SITE_SUBDIR= games + +MAINTAINER= root@garbled.net + +DEPENDS+= xpm-3.4k:../../graphics/xpm + +WRKSRC= ${WRKDIR}/xboing +NO_INSTALL_MANPAGES= yes +USE_IMAKE= yes + +post-install: + chown bin:games ${X11BASE}/bin/xboing + chmod 2755 ${X11BASE}/bin/xboing + ${INSTALL_MAN} ${WRKSRC}/xboing.man ${X11BASE}/man/man6/xboing.6 + +.include "../../mk/bsd.pkg.mk" diff --git a/games/xboing/files/md5 b/games/xboing/files/md5 new file mode 100644 index 00000000000..1c29bc45734 --- /dev/null +++ b/games/xboing/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1 1998/08/18 09:25:17 frueauf Exp $ + +MD5 (xboing2.4.tar.gz) = d596d29e53cf0deceb18f3b646787709 diff --git a/games/xboing/patches/patch-aa b/games/xboing/patches/patch-aa new file mode 100644 index 00000000000..f4c3c8bd772 --- /dev/null +++ b/games/xboing/patches/patch-aa @@ -0,0 +1,48 @@ +$NetBSD: patch-aa,v 1.1 1998/08/18 09:25:17 frueauf Exp $ + +--- Imakefile.orig Thu Nov 21 18:28:46 1996 ++++ Imakefile Mon Aug 17 22:46:15 1998 +@@ -26,3 +26,3 @@ + +- XBOING_DIR = . ++ XBOING_DIR = $(X11BASE)/share/xboing + +@@ -31,10 +31,10 @@ + +- XPMLIB = -L/usr/X11/lib -lXpm +- XPMINCLUDE = -I/usr/X11/include/X11 ++ XPMLIB = -L$(X11BASE)/lib -lXpm ++ XPMINCLUDE = -I$(X11BASE)/include/X11 + XBOINGINCLUDE = -I./include +- LEVEL_INSTALL_DIR = $(XBOING_DIR)/levels ++ LEVEL_INSTALL_DIR = $(XBOING_DIR)/levels + SOUNDS_DIR = $(XBOING_DIR)/sounds + BACKUP_DIR = $(XBOING_DIR)/../backups +- HIGH_SCORE_FILE = $(XBOING_DIR)/.xboing.scr +- AUDIO_AVAILABLE = False ++ HIGH_SCORE_FILE = $(XBOING_DIR)/.xboing.scr ++ AUDIO_AVAILABLE = False + AUDIO_SRC = audio/NOaudio.c +@@ -42,3 +42,3 @@ + AUDIO_LIB = +- CDEBUGFLAGS = -g ++ CDEBUGFLAGS = -O + +@@ -83,3 +83,3 @@ + +-#if defined(SparcArchitecture) && defined(COMPILE_IN_AUDIO) ++#if defined(SparcArchitecture) && defined(COMPILE_IN_AUDIO) && !defined(__NetBSD__) + AUDIO_AVAILABLE = True +@@ -134,4 +134,4 @@ + -DSOUNDS_DIR=\"$(SOUNDS_DIR)\" \ +- -DREADMEP_FILE=\"$(XBOING_DIR)/docs/problems.doc\" +-XCOMM -DUSE_FLOCK=\"True\" \ ++ -DREADMEP_FILE=\"$(XBOING_DIR)/docs/problems.doc\" \ ++ -DUSE_FLOCK=\"True\" \ + XCOMM -DNEED_USLEEP=\"True\" \ +@@ -207,3 +207,4 @@ + @touch $(HIGH_SCORE_FILE); +- @chmod a+rw $(HIGH_SCORE_FILE); ++ @chown bin:games $(HIGH_SCORE_FILE); ++ @chmod 0664 $(HIGH_SCORE_FILE); + diff --git a/games/xboing/patches/patch-ab b/games/xboing/patches/patch-ab new file mode 100644 index 00000000000..d5d710efef1 --- /dev/null +++ b/games/xboing/patches/patch-ab @@ -0,0 +1,10 @@ +$NetBSD: patch-ab,v 1.1 1998/08/18 09:25:17 frueauf Exp $ + +--- ball.c.orig Mon Aug 17 22:31:15 1998 ++++ ball.c Mon Aug 17 22:31:34 1998 +@@ -52,3 +52,5 @@ + #include <math.h> ++#ifndef __NetBSD__ + #include <values.h> ++#endif + #include <xpm.h> diff --git a/games/xboing/patches/patch-ac b/games/xboing/patches/patch-ac new file mode 100644 index 00000000000..105908caa04 --- /dev/null +++ b/games/xboing/patches/patch-ac @@ -0,0 +1,10 @@ +$NetBSD: patch-ac,v 1.1 1998/08/18 09:25:18 frueauf Exp $ + +--- highscore.c.orig Thu Nov 21 18:28:46 1996 ++++ highscore.c Mon Aug 17 22:40:49 1998 +@@ -56,2 +56,5 @@ + #include <file.h> ++#ifdef __NetBSD__ ++ #include <sys/file.h> ++#endif + #include <sys/param.h> diff --git a/games/xboing/pkg/COMMENT b/games/xboing/pkg/COMMENT new file mode 100644 index 00000000000..f66ff90eef6 --- /dev/null +++ b/games/xboing/pkg/COMMENT @@ -0,0 +1 @@ +a breakout style game for X11. diff --git a/games/xboing/pkg/DESCR b/games/xboing/pkg/DESCR new file mode 100644 index 00000000000..9196d121362 --- /dev/null +++ b/games/xboing/pkg/DESCR @@ -0,0 +1,15 @@ +XBoing is a blockout type game where you have a paddle which you control +to bounce a ball around the game zone destroying blocks with a proton +ball. + +Each block carries a different point value. The more blocks you destroy, +the better your score. The person with the highest score wins. + +The arena is filled with blocks and other objects. You have a paddle that +can move from left to right at the bottom of the arena. You control the +paddle so that the proton ball bounces around blowing up blocks and that +it does not go past the paddle and out the bottom, much like a pinball +game. + +You may like to check out my WWW Home Page for XBoing at the following URL +http://www.catt.rmit.edu.au/xboing/xboing.html diff --git a/games/xboing/pkg/PLIST b/games/xboing/pkg/PLIST new file mode 100644 index 00000000000..3ca3d7f6159 --- /dev/null +++ b/games/xboing/pkg/PLIST @@ -0,0 +1,91 @@ +@comment $NetBSD: PLIST,v 1.1 1998/08/18 09:25:19 frueauf Exp $ +bin/xboing +man/man6/xboing.6 +share/xboing/problems.doc +share/xboing/levels/demo.data +share/xboing/levels/editor.data +share/xboing/levels/level01.data +share/xboing/levels/level02.data +share/xboing/levels/level03.data +share/xboing/levels/level04.data +share/xboing/levels/level05.data +share/xboing/levels/level06.data +share/xboing/levels/level07.data +share/xboing/levels/level08.data +share/xboing/levels/level09.data +share/xboing/levels/level10.data +share/xboing/levels/level11.data +share/xboing/levels/level12.data +share/xboing/levels/level13.data +share/xboing/levels/level14.data +share/xboing/levels/level15.data +share/xboing/levels/level16.data +share/xboing/levels/level17.data +share/xboing/levels/level18.data +share/xboing/levels/level19.data +share/xboing/levels/level20.data +share/xboing/levels/level21.data +share/xboing/levels/level22.data +share/xboing/levels/level23.data +share/xboing/levels/level24.data +share/xboing/levels/level25.data +share/xboing/levels/level26.data +share/xboing/levels/level27.data +share/xboing/levels/level28.data +share/xboing/levels/level29.data +share/xboing/levels/level30.data +share/xboing/levels/level31.data +share/xboing/levels/level32.data +share/xboing/levels/level33.data +share/xboing/levels/level34.data +share/xboing/levels/level35.data +share/xboing/levels/level36.data +share/xboing/levels/level37.data +share/xboing/levels/level38.data +share/xboing/levels/level39.data +share/xboing/levels/level40.data +share/xboing/levels/level41.data +share/xboing/levels/level42.data +share/xboing/levels/level43.data +share/xboing/levels/level44.data +share/xboing/levels/level45.data +share/xboing/levels/level46.data +share/xboing/levels/level47.data +share/xboing/levels/level48.data +share/xboing/levels/level49.data +share/xboing/levels/level50.data +share/xboing/levels/level51.data +share/xboing/levels/level52.data +share/xboing/levels/level53.data +share/xboing/levels/level54.data +share/xboing/levels/level55.data +share/xboing/levels/level56.data +share/xboing/levels/level57.data +share/xboing/levels/level58.data +share/xboing/levels/level59.data +share/xboing/levels/level60.data +share/xboing/levels/level61.data +share/xboing/levels/level62.data +share/xboing/levels/level63.data +share/xboing/levels/level64.data +share/xboing/levels/level65.data +share/xboing/levels/level66.data +share/xboing/levels/level67.data +share/xboing/levels/level68.data +share/xboing/levels/level69.data +share/xboing/levels/level70.data +share/xboing/levels/level71.data +share/xboing/levels/level72.data +share/xboing/levels/level73.data +share/xboing/levels/level74.data +share/xboing/levels/level75.data +share/xboing/levels/level76.data +share/xboing/levels/level77.data +share/xboing/levels/level78.data +share/xboing/levels/level79.data +share/xboing/levels/level80.data +share/xboing/levels/new.data +share/xboing/.xboing.scr +@unexec rm -f %D/share/xboing/.xboing.scr +@dirrm share/xboing/levels +@dirrm share/xboing |