Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Mar 1998 07:56:08 +0300 (MSK)
From:      Andrey Zakhvatov <andy@icc.surw.chel.su>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/5973: New port: 3dpong-0.3
Message-ID:  <199803110456.HAA04924@icc.surw.chel.su>

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

>Number:         5973
>Category:       ports
>Synopsis:       New port: 3dpong-0.3
>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:   Tue Mar 10 21:00:01 PST 1998
>Last-Modified:
>Originator:     Andrey Zakhvatov
>Organization:
South Ural Railway ICC
>Release:        FreeBSD 2.2.2-RELEASE i386
>Environment:

>Description:

   This is a port of the X Window 3D Pong game.

  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.


# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	3dpong-0.3
#	3dpong-0.3/Makefile
#	3dpong-0.3/files
#	3dpong-0.3/files/md5
#	3dpong-0.3/pkg
#	3dpong-0.3/pkg/PLIST
#	3dpong-0.3/pkg/COMMENT
#	3dpong-0.3/pkg/DESCR
#	3dpong-0.3/patches
#	3dpong-0.3/patches/patch-aa
#	3dpong-0.3/patches/patch-ab
#
echo c - 3dpong-0.3
mkdir -p 3dpong-0.3 > /dev/null 2>&1
echo x - 3dpong-0.3/Makefile
sed 's/^X//' >3dpong-0.3/Makefile << 'END-of-3dpong-0.3/Makefile'
X# New ports collection makefile for:	3dpong
X# Version required:			0.3
X# Date created:				10 March 1998
X# Whom:					Andrey Zakhvatov
X#
X# $Id$
X#
X
XDISTNAME=	3dpong.0.3
XPKGNAME=	3dpong-0.3
XCATEGORIES=	games x11
XMASTER_SITES=	http://zippy.sonoma.edu/kendrick/nbs/unix/x/3dpong/
X
XMAINTAINER=	andy@icc.surw.chel.su
X
XMAKEFILE=	makefile
XUSE_X11=	yes
XWRKSRC=		${WRKDIR}/3dpong
X
Xdo-install:
X	@ ${INSTALL_PROGRAM} ${WRKSRC}/3dpong ${PREFIX}/bin
X	@ ${MKDIR} ${PREFIX}/share/3dpong
X	@ ${INSTALL_DATA} ${WRKSRC}/sounds/*.au ${PREFIX}/share/3dpong
X	@ ${MKDIR} ${PREFIX}/share/doc/3dpong
X	@ ${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/3dpong
X
X.include <bsd.port.mk>
END-of-3dpong-0.3/Makefile
echo c - 3dpong-0.3/files
mkdir -p 3dpong-0.3/files > /dev/null 2>&1
echo x - 3dpong-0.3/files/md5
sed 's/^X//' >3dpong-0.3/files/md5 << 'END-of-3dpong-0.3/files/md5'
XMD5 (3dpong.0.3.tar.gz) = 4158e42189730d2cebce82689b2677dc
END-of-3dpong-0.3/files/md5
echo c - 3dpong-0.3/pkg
mkdir -p 3dpong-0.3/pkg > /dev/null 2>&1
echo x - 3dpong-0.3/pkg/PLIST
sed 's/^X//' >3dpong-0.3/pkg/PLIST << 'END-of-3dpong-0.3/pkg/PLIST'
Xbin/3dpong
Xshare/3dpong/hit.au
Xshare/3dpong/score.au
Xshare/3dpong/wall.au
Xshare/doc/3dpong/README.txt
X@dirrm share/3dpong
X@dirrm share/doc/3dpong
END-of-3dpong-0.3/pkg/PLIST
echo x - 3dpong-0.3/pkg/COMMENT
sed 's/^X//' >3dpong-0.3/pkg/COMMENT << 'END-of-3dpong-0.3/pkg/COMMENT'
XX Window 3D Pong game for 1 or 2 players with a ball and paddles.
END-of-3dpong-0.3/pkg/COMMENT
echo x - 3dpong-0.3/pkg/DESCR
sed 's/^X//' >3dpong-0.3/pkg/DESCR << 'END-of-3dpong-0.3/pkg/DESCR'
X  3D Pong is an X-Window game for 1 or 2 players.  It's a 3D game based
Xon the first arcade game, "Pong."  Like "Pong," it's a game played with
Xa ball  and  paddles.  The  object is to hit the ball and get it in the
Xother player's goal.  Use your  paddle to  deflect the ball and keep it
Xfrom getting in your goal.
END-of-3dpong-0.3/pkg/DESCR
echo c - 3dpong-0.3/patches
mkdir -p 3dpong-0.3/patches > /dev/null 2>&1
echo x - 3dpong-0.3/patches/patch-aa
sed 's/^X//' >3dpong-0.3/patches/patch-aa << 'END-of-3dpong-0.3/patches/patch-aa'
X--- makefile	Mon Jan 26 22:18:05 1998
X+++ /home/andy/tmp/wrk/makefile	Tue Mar 10 20:58:13 1998
X@@ -11,7 +11,7 @@
X 
X # Makefile user-definable variables
X 
X-CC=gcc
X+CC=gcc ${CFLAGS} -I/usr/X11R6/include -DPREFIX=\"${PREFIX}\"
X MATHLIB=-lm
X 
X # adjust according to target
X@@ -21,7 +21,7 @@
X #XLIB=-L/usr/openwin/lib -lX11
X 
X # uncomment for FreeBSD
X-#XLIB=-L /usr/X11R6/lib -lX11 -lcompat
X+XLIB=-L/usr/X11R6/lib -lX11
X 
X 
X # Makefile other variables
END-of-3dpong-0.3/patches/patch-aa
echo x - 3dpong-0.3/patches/patch-ab
sed 's/^X//' >3dpong-0.3/patches/patch-ab << 'END-of-3dpong-0.3/patches/patch-ab'
X--- 3dpong.c	Mon Jan 26 20:33:47 1998
X+++ /home/andy/tmp/wrk/3dpong.c	Tue Mar 10 20:58:20 1998
X@@ -1651,7 +1651,7 @@
X   
X   if (use_sound == 1)
X     {
X-       sprintf(cmd, "/bin/cat sounds/%s.au > /dev/audio &", aufile);
X+       sprintf(cmd, "/bin/cat " PREFIX "/share/3dpong/%s.au > /dev/audio &", aufile);
X   
X        system(cmd);
X     }
END-of-3dpong-0.3/patches/patch-ab
exit


>How-To-Repeat:

>Fix:
	
   Please, check and commit this port.

>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?199803110456.HAA04924>