summaryrefslogtreecommitdiff
path: root/games/3dpong
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-07-11 17:04:13 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-07-11 17:04:13 +0000
commitb01bfdb77c97e22d9d95a888bfcd4465f27f3049 (patch)
tree9302f65e65b66bd96f8460db58c57cbbd09955e2 /games/3dpong
parentUpgrade to GNU Portable Threads (Pth), Version 1.0b5 (diff)
Update 3dpong. (the distfile changed but the version didn't).
PR: 12592 Submitted by: maintainer
Diffstat (limited to 'games/3dpong')
-rw-r--r--games/3dpong/Makefile4
-rw-r--r--games/3dpong/distinfo2
-rw-r--r--games/3dpong/files/patch-aa75
-rw-r--r--games/3dpong/pkg-descr4
4 files changed, 74 insertions, 11 deletions
diff --git a/games/3dpong/Makefile b/games/3dpong/Makefile
index 1ea213fc82ac..eebcbbb45063 100644
--- a/games/3dpong/Makefile
+++ b/games/3dpong/Makefile
@@ -3,7 +3,7 @@
# Date created: 10 March 1998
# Whom: Andrey Zakhvatov
#
-# $Id: Makefile,v 1.3 1998/08/05 09:30:51 asami Exp $
+# $Id: Makefile,v 1.4 1998/08/10 12:16:53 steve Exp $
#
DISTNAME= 3dpong.0.3
@@ -21,6 +21,8 @@ do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/3dpong ${PREFIX}/bin
@ ${MKDIR} ${PREFIX}/share/3dpong
@ ${INSTALL_DATA} ${WRKSRC}/sounds/*.au ${PREFIX}/share/3dpong
+
+post-install:
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${PREFIX}/share/doc/3dpong
@ ${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/3dpong
diff --git a/games/3dpong/distinfo b/games/3dpong/distinfo
index c0c08bb8da19..1e15bb9108c3 100644
--- a/games/3dpong/distinfo
+++ b/games/3dpong/distinfo
@@ -1 +1 @@
-MD5 (3dpong.0.3.tar.gz) = 0055972f485d4c48231ce7c41ca074a8
+MD5 (3dpong.0.3.tar.gz) = 456a3acc36ce60557d3bed4ea55fb3a0
diff --git a/games/3dpong/files/patch-aa b/games/3dpong/files/patch-aa
index 1fc82ad40f07..74228f0f47da 100644
--- a/games/3dpong/files/patch-aa
+++ b/games/3dpong/files/patch-aa
@@ -1,20 +1,38 @@
---- makefile.orig Mon Jan 26 17:18:05 1998
-+++ makefile Sun Apr 26 23:48:06 1998
-@@ -11,11 +11,11 @@
+--- makefile Sun Mar 15 05:43:34 1998
++++ /home/andy/tmp/wrk/makefile Sun Jul 11 12:55:29 1999
+@@ -11,11 +11,28 @@
# Makefile user-definable variables
--CC=gcc
-+CC+=$(CFLAGS) -I$(X11BASE)/include -DPREFIX=\"${PREFIX}\"
+-CC=gcc -I/usr/X11R6/include
++# C compiler
++CC?=cc
++
++# C compiler options
++CFLAGS?=-Wall
++
++# X Window base directory
++X11BASE?=/usr/X11R6
++
++# Include directory
++INCLUDE=-I$(X11BASE)/include
++
++# Installation directory
++PREFIX?=$(X11BASE)
++
++# Defines
++DEFINE=-DPREFIX=\"$(PREFIX)\"
++
MATHLIB=-lm
- # adjust according to target
--XLIB=-lX11
+-# adjust according to target
+-XLIB=-L/usr/X11R6/lib -lX11
++# X library
+XLIB=-L$(X11BASE)/lib -lX11
# uncomment for sunos/solaris
#XLIB=-L/usr/openwin/lib -lX11
-@@ -43,7 +43,7 @@
+@@ -43,7 +60,7 @@
# Application:
3dpong: $(OBJECTS)
@@ -23,3 +41,44 @@
chmod 755 3dpong
strip 3dpong
+@@ -52,31 +69,31 @@
+
+ 3dpong.o: 3dpong.c window.h connect.h hints.h visual.h gc.h color.h \
+ randnum.h text.h
+- $(CC) 3dpong.c -c
++ $(CC) $(CFLAGS) $(INCLUDE) $(DEFINE) 3dpong.c -c
+
+
+ # Library objects:
+
+ window.o: window.c window.h
+- $(CC) window.c -c
++ $(CC) $(CFLAGS) $(INCLUDE) $(DEFINE) window.c -c
+
+ connect.o: connect.c connect.h
+- $(CC) connect.c -c
++ $(CC) $(CFLAGS) $(INCLUDE) $(DEFINE) connect.c -c
+
+ hints.o: hints.c hints.h
+- $(CC) hints.c -c
++ $(CC) $(CFLAGS) $(INCLUDE) $(DEFINE) hints.c -c
+
+ visual.o: visual.c visual.h
+- $(CC) visual.c -c
++ $(CC) $(CFLAGS) $(INCLUDE) $(DEFINE) visual.c -c
+
+ gc.o: gc.c gc.h
+- $(CC) gc.c -c
++ $(CC) $(CFLAGS) $(INCLUDE) $(DEFINE) gc.c -c
+
+ color.o: color.c color.h
+- $(CC) color.c -c
++ $(CC) $(CFLAGS) $(INCLUDE) $(DEFINE) color.c -c
+
+ randnum.o: randnum.c randnum.h
+- $(CC) randnum.c -c
++ $(CC) $(CFLAGS) $(INCLUDE) $(DEFINE) randnum.c -c
+
+ text.o: text.c text.h
+- $(CC) text.c -c
++ $(CC) $(CFLAGS) $(INCLUDE) $(DEFINE) text.c -c
diff --git a/games/3dpong/pkg-descr b/games/3dpong/pkg-descr
index 760c69463edb..42414e225a36 100644
--- a/games/3dpong/pkg-descr
+++ b/games/3dpong/pkg-descr
@@ -1,5 +1,7 @@
- 3D Pong is an X-Window game for 1 or 2 players. It's a 3D game based
+ 3D Pong is an X Window game for 1 or 2 players. It's a 3D game based
on the first arcade game, "Pong." Like "Pong," it's a game played with
a ball and paddles. The object is to hit the ball and get it in the
other player's goal. Use your paddle to deflect the ball and keep it
from getting in your goal.
+
+WWW: http://www.newbreedsoftware.com/3dpong/