aboutsummaryrefslogtreecommitdiff
path: root/games/xinvaders
diff options
context:
space:
mode:
authorSteven Wallace <swallace@FreeBSD.org>1995-01-04 08:57:33 +0000
committerSteven Wallace <swallace@FreeBSD.org>1995-01-04 08:57:33 +0000
commit877df898f989ac6c30f8088259c81d8eac1a037a (patch)
tree770eccf4aa0226f0dd1b8cff047f9418f8985f58 /games/xinvaders
parentf1ada475bd8cce4a9b8cf3a20cedd9c81b422eb2 (diff)
downloadports-877df898f989ac6c30f8088259c81d8eac1a037a.tar.gz
ports-877df898f989ac6c30f8088259c81d8eac1a037a.zip
Notes
Diffstat (limited to 'games/xinvaders')
-rw-r--r--games/xinvaders/Makefile14
-rw-r--r--games/xinvaders/files/Imakefile37
-rw-r--r--games/xinvaders/files/Vaders.ad18
-rw-r--r--games/xinvaders/pkg-comment1
-rw-r--r--games/xinvaders/pkg-descr2
-rw-r--r--games/xinvaders/pkg-plist5
-rw-r--r--games/xinvaders/scripts/pre-configure6
7 files changed, 83 insertions, 0 deletions
diff --git a/games/xinvaders/Makefile b/games/xinvaders/Makefile
new file mode 100644
index 000000000000..32caa4ca28f4
--- /dev/null
+++ b/games/xinvaders/Makefile
@@ -0,0 +1,14 @@
+# New ports collection makefile for: xinvaders
+# Version required: 1.1
+# Date created: 3 Jan 1995
+# Whom: swallace
+#
+# $Id: Makefile,v 1.3 1994/12/31 04:17:52 swallace Exp $
+#
+
+DISTNAME= xinvaders
+MASTER_SITES= ftp://romulus.ucs.uoknor.edu/Linux/games/x11/action/
+USE_IMAKE= yes
+INSTALL_MANPAGES= yes
+
+.include <bsd.port.mk>
diff --git a/games/xinvaders/files/Imakefile b/games/xinvaders/files/Imakefile
new file mode 100644
index 000000000000..d4458ac31abf
--- /dev/null
+++ b/games/xinvaders/files/Imakefile
@@ -0,0 +1,37 @@
+INVADERDIR=$(LIBDIR)/xinvaders
+
+
+LOCAL_LIBRARIES = $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
+
+OBJS = spacers.o base.o widget.o main.o vaders.o shot.o score.o
+
+SRCS = spacers.c base.c widget.c main.c vaders.c shot.c score.c
+
+ComplexProgramTarget(xinvaders)
+InstallAppDefaults(Vaders)
+MakeDirectories(install,$(INVADERDIR))
+InstallNonExec(base1.bit,$(INVADERDIR))
+InstallNonExec(spacer2.bit,$(INVADERDIR))
+InstallNonExec(vader1a1.bit,$(INVADERDIR))
+InstallNonExec(vader2a2.bit,$(INVADERDIR))
+InstallNonExec(vader3b1.bit,$(INVADERDIR))
+InstallNonExec(base2.bit,$(INVADERDIR))
+InstallNonExec(sperma1.bit,$(INVADERDIR))
+InstallNonExec(vader1a2.bit,$(INVADERDIR))
+InstallNonExec(vader2b1.bit,$(INVADERDIR))
+InstallNonExec(vader3b2.bit,$(INVADERDIR))
+InstallNonExec(explode1.bit,$(INVADERDIR))
+InstallNonExec(sperma2.bit,$(INVADERDIR))
+InstallNonExec(vader1b1.bit,$(INVADERDIR))
+InstallNonExec(vader2b2.bit,$(INVADERDIR))
+InstallNonExec(vexplod1.bit,$(INVADERDIR))
+InstallNonExec(explode2.bit,$(INVADERDIR))
+InstallNonExec(spermb1.bit,$(INVADERDIR))
+InstallNonExec(vader1b2.bit,$(INVADERDIR))
+InstallNonExec(vader3a1.bit,$(INVADERDIR))
+InstallNonExec(vexplod2.bit,$(INVADERDIR))
+InstallNonExec(spacer1.bit,$(INVADERDIR))
+InstallNonExec(spermb2.bit,$(INVADERDIR))
+InstallNonExec(vader2a1.bit,$(INVADERDIR))
+InstallNonExec(vader3a2.bit,$(INVADERDIR))
+MANSUFFIX=6
diff --git a/games/xinvaders/files/Vaders.ad b/games/xinvaders/files/Vaders.ad
new file mode 100644
index 000000000000..e671af0a082c
--- /dev/null
+++ b/games/xinvaders/files/Vaders.ad
@@ -0,0 +1,18 @@
+Vaders*BitmapDirectory: /usr/X11R6/lib/X11/xinvaders/
+Vaders*Scale: 2
+Vaders*defaultfore: white
+Vaders*defaultback: black
+Vaders*Vader1Color: blue
+Vaders*Vader2Color: green
+Vaders*Vader3Color: red
+Vaders*BaseColor: cyan
+Vaders*BuildingColor: yellow
+Vaders*SpacerColor: gray
+Vaders*ShotColor: lavender
+Vaders*VshotColor: orange
+Vaders*BaseWait: 10
+Vaders*VaderWait: 300
+Vaders*SpacerWait: 50
+Vaders*ShotWait: 10
+Vaders*VshotWait: 30
+
diff --git a/games/xinvaders/pkg-comment b/games/xinvaders/pkg-comment
new file mode 100644
index 000000000000..304502653456
--- /dev/null
+++ b/games/xinvaders/pkg-comment
@@ -0,0 +1 @@
+Shoot-em-up them nasty little bugs.
diff --git a/games/xinvaders/pkg-descr b/games/xinvaders/pkg-descr
new file mode 100644
index 000000000000..896710c974b5
--- /dev/null
+++ b/games/xinvaders/pkg-descr
@@ -0,0 +1,2 @@
+Xinvaders is an implementation of the old Atari Space Invaders game,
+on top of the X11 window system.
diff --git a/games/xinvaders/pkg-plist b/games/xinvaders/pkg-plist
new file mode 100644
index 000000000000..e05fa6367c8a
--- /dev/null
+++ b/games/xinvaders/pkg-plist
@@ -0,0 +1,5 @@
+@cwd /usr/X11R6
+bin/xinvaders
+man/man6/xinvaders.6.gz
+lib/X11/app-defaults/Vaders
+lib/X11/xinvaders
diff --git a/games/xinvaders/scripts/pre-configure b/games/xinvaders/scripts/pre-configure
new file mode 100644
index 000000000000..ada250270826
--- /dev/null
+++ b/games/xinvaders/scripts/pre-configure
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+cp -f ${CURDIR}/files/Imakefile ${WRKSRC}
+cp -f ${CURDIR}/files/Vaders.ad ${WRKSRC}
+
+exit 0