Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Jul 1999 13:08:32 +0400 (MSD)
From:      Andrey Zakhvatov <andy@icc.surw.chel.su>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/12592: Update port: games/3dpong
Message-ID:  <199907110908.NAA51365@icc.surw.chel.su>

next in thread | raw e-mail | index | archive | help

>Number:         12592
>Category:       ports
>Synopsis:       Update port: games/3dpong
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 11 02:10:02 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Andrey Zakhvatov
>Release:        FreeBSD 3.1-RELEASE i386
>Organization:
South Ural Railway ICC
>Environment:

>Description:

   This is a patch to update games/3dpong port.


diff -Nru 3dpong/Makefile 3dpong-0.3/Makefile
--- 3dpong/Makefile	Tue Aug 11 02:27:12 1998
+++ 3dpong-0.3/Makefile	Sun Jul 11 12:59:49 1999
@@ -21,6 +21,8 @@
 	@ ${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 -Nru 3dpong/files/md5 3dpong-0.3/files/md5
--- 3dpong/files/md5	Tue Aug 11 02:27:14 1998
+++ 3dpong-0.3/files/md5	Sat Jul 10 16:43:46 1999
@@ -1 +1 @@
-MD5 (3dpong.0.3.tar.gz) = 0055972f485d4c48231ce7c41ca074a8
+MD5 (3dpong.0.3.tar.gz) = 456a3acc36ce60557d3bed4ea55fb3a0
diff -Nru 3dpong/patches/patch-aa 3dpong-0.3/patches/patch-aa
--- 3dpong/patches/patch-aa	Mon Apr 27 07:51:05 1998
+++ 3dpong-0.3/patches/patch-aa	Sun Jul 11 12:56:05 1999
@@ -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 -Nru 3dpong/pkg/DESCR 3dpong-0.3/pkg/DESCR
--- 3dpong/pkg/DESCR	Mon Apr 27 07:51:04 1998
+++ 3dpong-0.3/pkg/DESCR	Sun Jul 11 12:58:52 1999
@@ -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/


>How-To-Repeat:

>Fix:

   Please, check and apply this patch.


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907110908.NAA51365>