summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorSatoshi Asami <asami@FreeBSD.org>1995-08-28 07:43:38 +0000
committerSatoshi Asami <asami@FreeBSD.org>1995-08-28 07:43:38 +0000
commit1f4361e168d7dcc1ec80c650e87dd1be991078fd (patch)
treef1dbb34dc9e0b0065b11061d617b7dd987513ab7 /games
parentMake this NO_PACKAGE. (diff)
The resurrection of the great video game Galaga. It's as slow as a dog
but if you have a super-fast video card, maybe it will be fun. I don't have a sound card, so that part isn't tested at all.
Notes
Notes: svn path=/head/; revision=2119
Diffstat (limited to 'games')
-rw-r--r--games/xgalaga/Makefile41
-rw-r--r--games/xgalaga/distinfo1
-rw-r--r--games/xgalaga/files/patch-aa31
-rw-r--r--games/xgalaga/pkg-comment1
-rw-r--r--games/xgalaga/pkg-descr8
-rw-r--r--games/xgalaga/pkg-plist11
6 files changed, 93 insertions, 0 deletions
diff --git a/games/xgalaga/Makefile b/games/xgalaga/Makefile
new file mode 100644
index 000000000000..f253a57f66e3
--- /dev/null
+++ b/games/xgalaga/Makefile
@@ -0,0 +1,41 @@
+# New ports collection makefile for: xgalaga
+# Version required: 1.2
+# Date created: 27 August 1995
+# Whom: asami
+#
+# $Id: Makefile,v 1.5 1995/04/11 00:20:20 asami Exp $
+#
+
+DISTNAME= xgalaga-1.6
+CATEGORIES+= games
+MASTER_SITES= ftp://crl.dec.com/pub/X11/contrib/games/
+
+MAINTAINER= asami@FreeBSD.ORG
+
+USE_IMAKE= yes
+NO_INSTALL_MANPAGES= yes
+
+EXTRA_PATCH= patch-ab
+
+nosound:
+ @echo "Okay, making a quiet version of xgalaga...."
+ @cp ${FILESDIR}/${EXTRA_PATCH} ${PATCHDIR}
+ @${MAKE} ${.MAKEFLAGS} all
+
+pre-clean:
+ @rm -f ${PATCHDIR}/${EXTRA_PATCH}
+
+pre-patch:
+ @if [ ! -f ${PATCHDIR}/${EXTRA_PATCH} ]; then \
+ echo "*****************************************************" ; \
+ echo "* Note that you can build a version of xgalaga that *" ; \
+ echo "* doesn't use the sound driver by typing *" ; \
+ echo "* \"make nosound\" *" ; \
+ echo "* following a \"make clean\". *" ; \
+ echo "* Try it if you don't have a sound card and are *" ; \
+ echo "* getting core dumps. *" ; \
+ echo "*****************************************************" ; \
+ fi
+
+.include <bsd.port.mk>
+
diff --git a/games/xgalaga/distinfo b/games/xgalaga/distinfo
new file mode 100644
index 000000000000..47ed9efc2a48
--- /dev/null
+++ b/games/xgalaga/distinfo
@@ -0,0 +1 @@
+MD5 (xgalaga-1.6.tar.gz) = 86dd6300ea5cdd10435bafccad054be4
diff --git a/games/xgalaga/files/patch-aa b/games/xgalaga/files/patch-aa
new file mode 100644
index 000000000000..14300c61aa32
--- /dev/null
+++ b/games/xgalaga/files/patch-aa
@@ -0,0 +1,31 @@
+--- ./libsprite/Imakefile.org Mon May 15 17:52:06 1995
++++ ./libsprite/Imakefile Wed May 24 02:30:34 1995
+@@ -1,5 +1,5 @@
+
+- XPMINCLUDE = -I/usr/include/X11
++ XPMINCLUDE = -I$(INCROOT)/X11
+
+ EXTRA_INCLS = $(XPMINCLUDE)
+
+--- ./Imakefile.org Tue May 16 13:28:35 1995
++++ ./Imakefile Wed May 24 03:01:51 1995
+@@ -9,7 +9,7 @@
+ XCOMM your system. If not doing "make install", set this to where the
+ XCOMM files are now.
+
+- XGALAGADIR = /usr/games/xgalaga
++ XGALAGADIR = $(LIBDIR)/xgalaga
+
+ SCOREFILE = $(XGALAGADIR)/.xgalscores
+ SOUNDDIR = $(XGALAGADIR)/sounds
+@@ -32,8 +32,8 @@
+ XCOMM with the standard X libs, you shouldn't need to change this.
+ XCOMM otherwise make these point at wherever you put it.
+
+- XPMLIB = -lXpm
+- XPMINCLUDE = -I/usr/include/X11
++ XPMLIB = -L$(USRLIBDIR) -lXpm
++ XPMINCLUDE = -I$(INCROOT)/X11
+
+ XSPRITELIB = -L./libsprite -lXsprite
+
diff --git a/games/xgalaga/pkg-comment b/games/xgalaga/pkg-comment
new file mode 100644
index 000000000000..4fd8002d0fc8
--- /dev/null
+++ b/games/xgalaga/pkg-comment
@@ -0,0 +1 @@
+xgalaga-1.6, Galaga resurrected on X
diff --git a/games/xgalaga/pkg-descr b/games/xgalaga/pkg-descr
new file mode 100644
index 000000000000..d5aadc4b175a
--- /dev/null
+++ b/games/xgalaga/pkg-descr
@@ -0,0 +1,8 @@
+xgalaga is a rework of the Galaga shooting game.
+
+The package is built to use the sound device in /dev/dsp. If you don't
+have a sound card and are getting core dumps, try recompiling it with
+"make nosound".
+
+- Satoshi
+asami@cs.berkeley.edu
diff --git a/games/xgalaga/pkg-plist b/games/xgalaga/pkg-plist
new file mode 100644
index 000000000000..acd1d428bf47
--- /dev/null
+++ b/games/xgalaga/pkg-plist
@@ -0,0 +1,11 @@
+bin/xgal
+lib/X11/xgalaga/.xgalscores
+lib/X11/xgalaga/xgal.sndsrv.freebsd
+lib/X11/xgalaga/sounds/ddloo.raw
+lib/X11/xgalaga/sounds/explode.raw
+lib/X11/xgalaga/sounds/explode_big.raw
+lib/X11/xgalaga/sounds/firetorp.raw
+lib/X11/xgalaga/sounds/shield.raw
+lib/X11/xgalaga/sounds/smart.raw
+lib/X11/xgalaga/sounds/torphit.raw
+lib/X11/xgalaga/sounds/warp.raw