diff options
author | Matthew Hunt <mph@FreeBSD.org> | 1998-04-27 03:51:05 +0000 |
---|---|---|
committer | Matthew Hunt <mph@FreeBSD.org> | 1998-04-27 03:51:05 +0000 |
commit | 7701e496379e8f17339deba35a9ea5284a4929eb (patch) | |
tree | edb2bb2a39b29d9c769165672ef05e833ec620c9 /games/3dpong | |
parent | maintainer change, and missing item on pkg/PLIST added (diff) |
Import of 3dpong v0.3, a three-dimensional pong game for X11.
PR: 5973
Submitted by: Andrey Zakhvatov <andy@icc.surw.chel.su>
Notes
Notes:
svn path=/head/; revision=10696
Diffstat (limited to 'games/3dpong')
-rw-r--r-- | games/3dpong/Makefile | 27 | ||||
-rw-r--r-- | games/3dpong/distinfo | 1 | ||||
-rw-r--r-- | games/3dpong/files/patch-aa | 25 | ||||
-rw-r--r-- | games/3dpong/files/patch-ab | 11 | ||||
-rw-r--r-- | games/3dpong/pkg-comment | 1 | ||||
-rw-r--r-- | games/3dpong/pkg-descr | 5 | ||||
-rw-r--r-- | games/3dpong/pkg-plist | 7 |
7 files changed, 77 insertions, 0 deletions
diff --git a/games/3dpong/Makefile b/games/3dpong/Makefile new file mode 100644 index 000000000000..2dd500be0394 --- /dev/null +++ b/games/3dpong/Makefile @@ -0,0 +1,27 @@ +# New ports collection makefile for: 3dpong +# Version required: 0.3 +# Date created: 10 March 1998 +# Whom: Andrey Zakhvatov +# +# $Id$ +# + +DISTNAME= 3dpong.0.3 +PKGNAME= 3dpong-0.3 +CATEGORIES= games x11 +MASTER_SITES= http://zippy.sonoma.edu/kendrick/nbs/unix/x/3dpong/ + +MAINTAINER= andy@icc.surw.chel.su + +MAKEFILE= makefile +USE_X11= yes +WRKSRC= ${WRKDIR}/3dpong + +do-install: + @ ${INSTALL_PROGRAM} ${WRKSRC}/3dpong ${PREFIX}/bin + @ ${MKDIR} ${PREFIX}/share/3dpong + @ ${INSTALL_DATA} ${WRKSRC}/sounds/*.au ${PREFIX}/share/3dpong + @ ${MKDIR} ${PREFIX}/share/doc/3dpong + @ ${INSTALL_DATA} ${WRKSRC}/README.txt ${PREFIX}/share/doc/3dpong + +.include <bsd.port.mk> diff --git a/games/3dpong/distinfo b/games/3dpong/distinfo new file mode 100644 index 000000000000..47f68f7f853f --- /dev/null +++ b/games/3dpong/distinfo @@ -0,0 +1 @@ +MD5 (3dpong.0.3.tar.gz) = 4158e42189730d2cebce82689b2677dc diff --git a/games/3dpong/files/patch-aa b/games/3dpong/files/patch-aa new file mode 100644 index 000000000000..1fc82ad40f07 --- /dev/null +++ b/games/3dpong/files/patch-aa @@ -0,0 +1,25 @@ +--- makefile.orig Mon Jan 26 17:18:05 1998 ++++ makefile Sun Apr 26 23:48:06 1998 +@@ -11,11 +11,11 @@ + + # Makefile user-definable variables + +-CC=gcc ++CC+=$(CFLAGS) -I$(X11BASE)/include -DPREFIX=\"${PREFIX}\" + MATHLIB=-lm + + # adjust according to target +-XLIB=-lX11 ++XLIB=-L$(X11BASE)/lib -lX11 + + # uncomment for sunos/solaris + #XLIB=-L/usr/openwin/lib -lX11 +@@ -43,7 +43,7 @@ + # Application: + + 3dpong: $(OBJECTS) +- $(CC) $(OBJECTS) $(XLIB) $(MATHLIB) -o 3dpong ++ $(CC) $(CFLAGS) $(OBJECTS) $(XLIB) $(MATHLIB) -o 3dpong + chmod 755 3dpong + strip 3dpong + diff --git a/games/3dpong/files/patch-ab b/games/3dpong/files/patch-ab new file mode 100644 index 000000000000..b30a68d537b6 --- /dev/null +++ b/games/3dpong/files/patch-ab @@ -0,0 +1,11 @@ +--- 3dpong.c Mon Jan 26 20:33:47 1998 ++++ /home/andy/tmp/wrk/3dpong.c Tue Mar 10 20:58:20 1998 +@@ -1651,7 +1651,7 @@ + + if (use_sound == 1) + { +- sprintf(cmd, "/bin/cat sounds/%s.au > /dev/audio &", aufile); ++ sprintf(cmd, "/bin/cat " PREFIX "/share/3dpong/%s.au > /dev/audio &", aufile); + + system(cmd); + } diff --git a/games/3dpong/pkg-comment b/games/3dpong/pkg-comment new file mode 100644 index 000000000000..3131f9034a63 --- /dev/null +++ b/games/3dpong/pkg-comment @@ -0,0 +1 @@ +X Window 3D Pong game for 1 or 2 players with a ball and paddles. diff --git a/games/3dpong/pkg-descr b/games/3dpong/pkg-descr new file mode 100644 index 000000000000..760c69463edb --- /dev/null +++ b/games/3dpong/pkg-descr @@ -0,0 +1,5 @@ + 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. diff --git a/games/3dpong/pkg-plist b/games/3dpong/pkg-plist new file mode 100644 index 000000000000..e210caa965f4 --- /dev/null +++ b/games/3dpong/pkg-plist @@ -0,0 +1,7 @@ +bin/3dpong +share/3dpong/hit.au +share/3dpong/score.au +share/3dpong/wall.au +share/doc/3dpong/README.txt +@dirrm share/3dpong +@dirrm share/doc/3dpong |