diff options
author | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2000-01-23 03:04:22 +0000 |
---|---|---|
committer | Chris D. Faulhaber <jedgar@FreeBSD.org> | 2000-01-23 03:04:22 +0000 |
commit | a0f8d175eac11aa22a0bb3e3c93d897ccd904af4 (patch) | |
tree | c03a94fc8f361662876d5550b1b3248e3c520324 /games/xinvaders3d | |
parent | 3aaa2f02d03512a744e71d80ba9903818facbe0c (diff) | |
download | ports-a0f8d175eac11aa22a0bb3e3c93d897ccd904af4.tar.gz ports-a0f8d175eac11aa22a0bb3e3c93d897ccd904af4.zip |
Notes
Diffstat (limited to 'games/xinvaders3d')
-rw-r--r-- | games/xinvaders3d/Makefile | 22 | ||||
-rw-r--r-- | games/xinvaders3d/distinfo | 1 | ||||
-rw-r--r-- | games/xinvaders3d/files/patch-aa | 25 | ||||
-rw-r--r-- | games/xinvaders3d/files/patch-ac | 11 | ||||
-rw-r--r-- | games/xinvaders3d/pkg-comment | 1 | ||||
-rw-r--r-- | games/xinvaders3d/pkg-descr | 4 | ||||
-rw-r--r-- | games/xinvaders3d/pkg-plist | 1 |
7 files changed, 65 insertions, 0 deletions
diff --git a/games/xinvaders3d/Makefile b/games/xinvaders3d/Makefile new file mode 100644 index 000000000000..46f646e168db --- /dev/null +++ b/games/xinvaders3d/Makefile @@ -0,0 +1,22 @@ +# New ports collection makefile for: xinv3d +# Version required: 1.1 +# Date created: 21 January 2000 +# Whom: Chris D. Faulhaber <jedgar@FreeBSD.org> +# +# $FreeBSD$ +# + +DISTNAME= xinv3d.1.1 +PKGNAME= xinvaders3d-1.1 +CATEGORIES= games +MASTER_SITES= http://www.fiu.edu/~dllopi01/ + +MAINTAINER= jedgar@FreeBSD.org + +USE_X_PREFIX= yes +WRKSRC= ${WRKDIR}/xinv3d + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/xinv3d ${PREFIX}/bin + +.include <bsd.port.mk> diff --git a/games/xinvaders3d/distinfo b/games/xinvaders3d/distinfo new file mode 100644 index 000000000000..1bdb3fdd2ed4 --- /dev/null +++ b/games/xinvaders3d/distinfo @@ -0,0 +1 @@ +MD5 (xinv3d.1.1.tar.gz) = d7807498116603d855f31cbd5ccd91ef diff --git a/games/xinvaders3d/files/patch-aa b/games/xinvaders3d/files/patch-aa new file mode 100644 index 000000000000..7d76bbec4cdd --- /dev/null +++ b/games/xinvaders3d/files/patch-aa @@ -0,0 +1,25 @@ +--- Makefile.orig Thu Jan 20 23:49:54 2000 ++++ Makefile Fri Jan 21 23:20:08 2000 +@@ -1,6 +1,6 @@ + all: game + +-CC = gcc ++CC?= gcc + XLIB = -L/usr/X11R6/lib -I/usr/X11R6/include + LIBS = -lm -lX11 + OBJS = main.o game.o aliens.o player.o effects.o \ +@@ -8,12 +8,12 @@ + vec4x1.o mat4x4.o + DEPENDS = + #CFLAGS = -g -Wall -ansi +-CFLAGS = -ansi ++#CFLAGS = -ansi + #OPTIONS = -D_GNU_SOURCE -DGAME_LINUX_X11 -DGAME_DEBUG + OPTIONS= -DGAME_LINUX_X11 + + .c.o: $(DEPENDS) +- $(CC) -c $(CFLAGS) $(OPTIONS) $< -o $@ ++ $(CC) -c $(CFLAGS) $(OPTIONS) $(XLIB) $< -o $@ + + game: $(OBJS) $(DEPENDS) + $(CC) -g -o xinv3d $(OBJS) $(XLIB) $(LIBS) $(OPTIONS) diff --git a/games/xinvaders3d/files/patch-ac b/games/xinvaders3d/files/patch-ac new file mode 100644 index 000000000000..9a7d6502ed08 --- /dev/null +++ b/games/xinvaders3d/files/patch-ac @@ -0,0 +1,11 @@ +--- vec4x1.c.orig Thu Jan 20 23:26:05 2000 ++++ vec4x1.c Fri Jan 21 23:16:28 2000 +@@ -160,7 +160,7 @@ + { + float len; + +- len = (float) sqrt ( (a[0] * a[0]) + (a[1] * a[1]) + (a[2] * a[2]) ); ++ len = (float) sqrt ( (a[0] * a[0]) + (a[1] * a[1]) + (a[2] * a[2]) ) + 0.00001; + + a[0] /= len; + a[1] /= len; diff --git a/games/xinvaders3d/pkg-comment b/games/xinvaders3d/pkg-comment new file mode 100644 index 000000000000..da6d452fafa2 --- /dev/null +++ b/games/xinvaders3d/pkg-comment @@ -0,0 +1 @@ +3D Vector-graphics Space Invaders clone for X diff --git a/games/xinvaders3d/pkg-descr b/games/xinvaders3d/pkg-descr new file mode 100644 index 000000000000..d6b22566bf4b --- /dev/null +++ b/games/xinvaders3d/pkg-descr @@ -0,0 +1,4 @@ +XInvaders 3D is a 3D Vector-graphics Space Invaders clone +for X. + +WWW: http://www.fiu.edu/~dllopi01/xinv3d.htm diff --git a/games/xinvaders3d/pkg-plist b/games/xinvaders3d/pkg-plist new file mode 100644 index 000000000000..cbe25872726f --- /dev/null +++ b/games/xinvaders3d/pkg-plist @@ -0,0 +1 @@ +bin/xinv3d |