summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorfrueauf <frueauf>1998-07-24 11:41:06 +0000
committerfrueauf <frueauf>1998-07-24 11:41:06 +0000
commit0e98b4be1554d2a2a826a58f8af2baab145c478b (patch)
tree02d48eecd642aead118aafb3b3f4ff5235556f54 /games
parentd181185058c985b48b07182ca59e249f15fe18b9 (diff)
downloadpkgsrc-0e98b4be1554d2a2a826a58f8af2baab145c478b.tar.gz
Initial addition of icbm3d-0.3, a 3D X11 game of defense.
Closes pr 5826 by Tim Rightnour.
Diffstat (limited to 'games')
-rw-r--r--games/icbm3d/Makefile22
-rw-r--r--games/icbm3d/files/md51
-rw-r--r--games/icbm3d/patches/patch-aa71
-rw-r--r--games/icbm3d/pkg/COMMENT1
-rw-r--r--games/icbm3d/pkg/DESCR18
-rw-r--r--games/icbm3d/pkg/PLIST4
6 files changed, 117 insertions, 0 deletions
diff --git a/games/icbm3d/Makefile b/games/icbm3d/Makefile
new file mode 100644
index 00000000000..03b75666bd8
--- /dev/null
+++ b/games/icbm3d/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 1998/07/24 11:41:06 frueauf Exp $
+#
+
+DISTNAME= icbm3d.0.3
+PKGNAME= icbm3d-0.3
+CATEGORIES= games x11
+MASTER_SITES= ftp://ftp.sonic.net/pub/users/nbs/unix/x/icbm3d/
+
+MAINTAINER= root@garbled.net
+
+WRKSRC= ${WRKDIR}/icbm3d
+
+USE_X11= yes
+
+post-patch:
+ @${CP} ${WRKSRC}/makefile ${WRKSRC}/Makefile
+
+pre-install:
+ ${MKDIR} ${PREFIX}/share/doc/icbm3d
+ ${CP} ${WRKSRC}/README.txt ${PREFIX}/share/doc/icbm3d
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/games/icbm3d/files/md5 b/games/icbm3d/files/md5
new file mode 100644
index 00000000000..098647f788d
--- /dev/null
+++ b/games/icbm3d/files/md5
@@ -0,0 +1 @@
+MD5 (icbm3d.0.3.tar.gz) = 943025be0ff03746289fbfb8f7f59775
diff --git a/games/icbm3d/patches/patch-aa b/games/icbm3d/patches/patch-aa
new file mode 100644
index 00000000000..08060628e50
--- /dev/null
+++ b/games/icbm3d/patches/patch-aa
@@ -0,0 +1,71 @@
+--- makefile.orig Wed Mar 18 19:54:27 1998
++++ makefile Fri Jul 24 02:18:44 1998
+@@ -14,2 +14,3 @@
+
++INSTALLROOT=$(PREFIX)
+
+@@ -25,3 +26,3 @@
+
+-XLIB=-lX11
++#XLIB=-lX11
+
+@@ -38,4 +39,4 @@
+
+-# XLIB=-L /usr/X11R6/lib -lX11 -lcompat
+-# CFLAGS=-I/usr/X11/include
++XLIB= -R$(INSTALLROOT)/lib -L$(INSTALLROOT)/lib -lX11 #-lcompat
++CFLAGS=-I$(INSTALLROOT)/include
+
+@@ -54,5 +55,7 @@
+
++install:
++ install -g bin -o bin -m 0755 icbm3d $(INSTALLROOT)/bin
+
+-OBJECTS=icbm3d.o window.o connect.o hints.o visual.o gc.o color.o randnum.o \
+- text.o
++SRCS= icbm3d.c window.c connect.c hints.c visual.c gc.o color.c randnum.c text.c
++OBJS= ${SRCS:.c=.o}
+
+@@ -60,4 +63,4 @@
+
+-icbm3d: $(OBJECTS)
+- $(CC) $(OBJECTS) $(XLIB) $(MATHLIB) $(CFLAGS) -o icbm3d
++icbm3d: $(OBJS)
++ $(CC) $(OBJECTS) $(XLIB) $(MATHLIB) $(CFLAGS) -o $@ $(OBJS)
+ chmod 755 icbm3d
+@@ -66,3 +69,3 @@
+
+-# Application objects:
++#dependencies
+
+@@ -70,28 +73,9 @@
+ randnum.h text.h
+-
+-
+-# Library objects:
+-
+ window.o: window.c window.h
+- $(CC) window.c -c
+-
+ connect.o: connect.c connect.h
+- $(CC) connect.c -c
+-
+ hints.o: hints.c hints.h
+- $(CC) hints.c -c
+-
+ visual.o: visual.c visual.h
+- $(CC) visual.c -c
+-
+-gc.o: gc.c gc.h
+- $(CC) gc.c -c
+-
++gc.o: gc.c gc.h
+ color.o: color.c color.h
+- $(CC) color.c -c
+-
+ randnum.o: randnum.c randnum.h
+- $(CC) randnum.c -c
+-
+-text.o: text.c text.h
+- $(CC) text.c -c
++text.o: text.c text.h
diff --git a/games/icbm3d/pkg/COMMENT b/games/icbm3d/pkg/COMMENT
new file mode 100644
index 00000000000..7dc0a046e57
--- /dev/null
+++ b/games/icbm3d/pkg/COMMENT
@@ -0,0 +1 @@
+a 3D X11 game of defense.
diff --git a/games/icbm3d/pkg/DESCR b/games/icbm3d/pkg/DESCR
new file mode 100644
index 00000000000..4f0bae0ff80
--- /dev/null
+++ b/games/icbm3d/pkg/DESCR
@@ -0,0 +1,18 @@
+by Bill Kendrick
+kendrick@zippy.sonoma.edu
+http://zippy.sonoma.edu/kendrick/
+
+ICBM3D ("Inter-Continental Ballistic Missiles, 3D") is a 3D game of defense.
+
+Like the original "Missile Command" and its clones, this game places you in
+control of Anti-ICBM weapons which you use to destroy an onslaught of
+missiles (and other nasties) which are dropping onto your nation.
+
+The game ends when your cities have all been destroyed. You only gain
+replacement cities by acheiving certain score thresholds during each attack
+(level).
+
+The main difference between this game and Missile Command is that ICBM3D,
+as the name suggests, provides a 3D perspective. You take advantage
+of X-Window's 3-button mouse to control your firing sight ("cross-hair")
+in 3-dimensions, and change your viewpoint.
diff --git a/games/icbm3d/pkg/PLIST b/games/icbm3d/pkg/PLIST
new file mode 100644
index 00000000000..95a1fb9e62e
--- /dev/null
+++ b/games/icbm3d/pkg/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1 1998/07/24 11:41:09 frueauf Exp $
+bin/icbm3d
+share/doc/icbm3d/README.txt
+@dirrm share/doc/icbm3d