diff options
author | Donald Burr <dburr@FreeBSD.org> | 1998-07-14 01:15:18 +0000 |
---|---|---|
committer | Donald Burr <dburr@FreeBSD.org> | 1998-07-14 01:15:18 +0000 |
commit | 89d79ff9c88e7f07af3bd8693a4a3ee7adf8c13c (patch) | |
tree | 1a2e55cd25679f8eafc32e28e047282aea122e4b /games | |
parent | 1dc57db6d54cd0e10e923b7af8269e54572f9df1 (diff) | |
download | ports-89d79ff9c88e7f07af3bd8693a4a3ee7adf8c13c.tar.gz ports-89d79ff9c88e7f07af3bd8693a4a3ee7adf8c13c.zip |
Notes
Diffstat (limited to 'games')
-rw-r--r-- | games/battalion/Makefile | 55 | ||||
-rw-r--r-- | games/battalion/distinfo | 2 | ||||
-rw-r--r-- | games/battalion/files/patch-aa | 61 | ||||
-rw-r--r-- | games/battalion/files/patch-ab | 12 | ||||
-rw-r--r-- | games/battalion/pkg-comment | 1 | ||||
-rw-r--r-- | games/battalion/pkg-descr | 5 | ||||
-rw-r--r-- | games/battalion/pkg-plist | 46 |
7 files changed, 182 insertions, 0 deletions
diff --git a/games/battalion/Makefile b/games/battalion/Makefile new file mode 100644 index 000000000000..2e3dbd9a7f32 --- /dev/null +++ b/games/battalion/Makefile @@ -0,0 +1,55 @@ +# New ports collection makefile for: battalion +# Version required: 1.4 +# Date created: 17 May 1998 +# Whom: Andrey Zakhvatov +# +# $Id$ +# + +DISTNAME= battalion-1.4 +CATEGORIES= games x11 +MASTER_SITES= http://www.evl.uic.edu/aej/ +DISTFILES= battalionSource1.4.tar.Z battalionSUN4.tar.gz + +MAINTAINER= andy@icc.surw.chel.su + +LIB_DEPENDS= MesaGL\\.13\\.:${PORTSDIR}/graphics/Mesa \ + MesaGLU\\.13\\.:${PORTSDIR}/graphics/Mesa + +ALL_TARGET= +USE_X11= yes +WRKSRC= ${WRKDIR}/battalionSource + +MAN6= battalion.6 + +do-install: + @ ${INSTALL_PROGRAM} ${WRKSRC}/battalion ${PREFIX}/bin + @ ${INSTALL_MAN} ${WRKDIR}/battalionSUN4/battalion.man ${PREFIX}/man/man6/battalion.6 + @ ${MKDIR} ${PREFIX}/share/battalion + @ ${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/battalion.sho ${PREFIX}/share/battalion + @ ${MKDIR} ${PREFIX}/share/battalion/DATA +.for file in road tank tree + @ ${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/DATA/${file}.data ${PREFIX}/share/battalion/DATA +.endfor + @ ${MKDIR} ${PREFIX}/share/battalion/MUSIC +.for file in 1 2 3 4 5 d1 d2 d3 d4 d5 + @ ${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/MUSIC/${file}.au ${PREFIX}/share/battalion/MUSIC +.endfor + @ ${MKDIR} ${PREFIX}/share/battalion/SOUNDS +.for file in beam boom crash monsterbeam rocket slag tank tech + @ ${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/SOUNDS/${file}.au ${PREFIX}/share/battalion/SOUNDS +.endfor + @ ${MKDIR} ${PREFIX}/share/battalion/TEXTURES +.for file in road screenleft screenright treewood + @ ${INSTALL_DATA} ${WRKDIR}/battalionSUN4/battalion.data/TEXTURES/${file}.tex ${PREFIX}/share/battalion/TEXTURES +.endfor + +.if !defined(NOPORTDOCS) + @ ${MKDIR} ${PREFIX}/share/doc/battalion + @ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/battalion +.for file in 01 02 03 04 05 06 07 08 09 10 11 + @ ${INSTALL_DATA} ${WRKDIR}/battalionSUN4/HELP/bathelp${file}.gif ${PREFIX}/share/doc/battalion +.endfor +.endif + +.include <bsd.port.mk> diff --git a/games/battalion/distinfo b/games/battalion/distinfo new file mode 100644 index 000000000000..6d7e3305aea2 --- /dev/null +++ b/games/battalion/distinfo @@ -0,0 +1,2 @@ +MD5 (battalionSource1.4.tar.Z) = 90d915ef289f59714b060b27826049a5 +MD5 (battalionSUN4.tar.gz) = 6efb30da50beadefd50e575b6beae309 diff --git a/games/battalion/files/patch-aa b/games/battalion/files/patch-aa new file mode 100644 index 000000000000..efebb49826d4 --- /dev/null +++ b/games/battalion/files/patch-aa @@ -0,0 +1,61 @@ +--- Makefile Thu Jan 16 16:31:58 1997 ++++ /home/andy/tmp/wrk/Makefile Sun May 17 15:46:52 1998 +@@ -23,7 +23,7 @@ + # (the program should compile with no warning messages - if you + # see a warning message please let me know about it) + # ------------------------------------------------------------ +-CC = CC ++#CC = CC + + + # STEP 2: IF YOU WANT TO COMPILE WITH THE MESA LIBRARIES THEN +@@ -39,7 +39,7 @@ + # ------------------------------------------------------------ + #GLIB = -lMesaGL -lMesaGLU + # or +-GLIB = -lGL -lGLU ++GLIB = -lMesaGL -lMesaGLU + + + # STEP 4: CHOOSE WHICH HARDWARE / OS YOU ARE RUNNING +@@ -51,9 +51,9 @@ + # with the other Makefile.) + # + # ------------------------------------------------------------ +-OS = -DSGIVERSION ++#OS = -DSGIVERSION + # or +-#OS = -DSUNVERSION ++OS = -DSUNVERSION + # or + #OS = -DLINUXVERSION + # or +@@ -77,8 +77,8 @@ + # in audio.c then everything works fine. + # + # ------------------------------------------------------------ +-AUDIOLIB = -laudio -laudiofile +-AUDIODEF = -DSGIAUDIO ++#AUDIOLIB = -laudio -laudiofile ++#AUDIODEF = -DSGIAUDIO + + + # STEP 6: IF YOU ARE COMPILING FOR A SUN AND WANT (RUDIMENTARY) +@@ -91,7 +91,7 @@ + + # STEP 7: CHOOSE ANY OPTIMIZATIONS OR ADD ANY SPECIAL INCLUSIONS + # ------------------------------------------------------------ +-CFLAGS = -O -I/usr/local/X11/include -I/usr/demo/SOUND/ -I./. ++CFLAGS+= -I${X11BASE}/include + + + # STEP 8: ADD ANY SPECIAL LIBRARY PATHS +@@ -106,7 +106,7 @@ + TARGET = battalion + + OBJ = battalion.o audio.o net.o gprim.o graphics.o objects.o text.o update.o tk.o font.o +-LIBS = -L./. -L/usr/X11R6/lib -lm -lX11 -lXext ++LIBS = -L./. -L/usr/X11R6/lib -lm -lX11 -lXext -lcompat + + all: $(TARGET) + diff --git a/games/battalion/files/patch-ab b/games/battalion/files/patch-ab new file mode 100644 index 000000000000..8e702743f9bd --- /dev/null +++ b/games/battalion/files/patch-ab @@ -0,0 +1,12 @@ +--- battalion.c Thu Jan 16 16:31:59 1997 ++++ /home/andy/tmp/wrk/battalion.c Sun May 17 15:46:57 1998 +@@ -2867,7 +2867,8 @@ + roadFile = fopen(fullPath, "rb"); + #else + +- dataPtr = getenv("BATTALIONDATADIR"); ++/* dataPtr = getenv("BATTALIONDATADIR"); */ ++ dataPtr = "/usr/X11R6/share/battalion"; + if (dataPtr != NULL) + { + strcpy(dataPath, dataPtr); diff --git a/games/battalion/pkg-comment b/games/battalion/pkg-comment new file mode 100644 index 000000000000..326e02e8758f --- /dev/null +++ b/games/battalion/pkg-comment @@ -0,0 +1 @@ +Monsters, explosions, destruction game for X Window System. diff --git a/games/battalion/pkg-descr b/games/battalion/pkg-descr new file mode 100644 index 000000000000..89d543ef53f0 --- /dev/null +++ b/games/battalion/pkg-descr @@ -0,0 +1,5 @@ +Monsters, explosions, destruction game for X Window System. +You are a giant monster in a small city, being +attacked by the military. + +For more info, see http://www.evl.uic.edu/aej/AndyBattalion.html diff --git a/games/battalion/pkg-plist b/games/battalion/pkg-plist new file mode 100644 index 000000000000..40f645b07ef1 --- /dev/null +++ b/games/battalion/pkg-plist @@ -0,0 +1,46 @@ +bin/battalion +man/man6/battalion.6.gz +share/battalion/battalion.sho +share/battalion/DATA/road.data +share/battalion/DATA/tank.data +share/battalion/DATA/tree.data +share/battalion/MUSIC/1.au +share/battalion/MUSIC/2.au +share/battalion/MUSIC/3.au +share/battalion/MUSIC/4.au +share/battalion/MUSIC/5.au +share/battalion/MUSIC/d1.au +share/battalion/MUSIC/d2.au +share/battalion/MUSIC/d3.au +share/battalion/MUSIC/d4.au +share/battalion/MUSIC/d5.au +share/battalion/SOUNDS/beam.au +share/battalion/SOUNDS/boom.au +share/battalion/SOUNDS/crash.au +share/battalion/SOUNDS/monsterbeam.au +share/battalion/SOUNDS/rocket.au +share/battalion/SOUNDS/slag.au +share/battalion/SOUNDS/tank.au +share/battalion/SOUNDS/tech.au +share/battalion/TEXTURES/road.tex +share/battalion/TEXTURES/screenleft.tex +share/battalion/TEXTURES/screenright.tex +share/battalion/TEXTURES/treewood.tex +share/doc/battalion/README +share/doc/battalion/bathelp01.gif +share/doc/battalion/bathelp02.gif +share/doc/battalion/bathelp03.gif +share/doc/battalion/bathelp04.gif +share/doc/battalion/bathelp05.gif +share/doc/battalion/bathelp06.gif +share/doc/battalion/bathelp07.gif +share/doc/battalion/bathelp08.gif +share/doc/battalion/bathelp09.gif +share/doc/battalion/bathelp10.gif +share/doc/battalion/bathelp11.gif +@dirrm share/battalion/DATA +@dirrm share/battalion/MUSIC +@dirrm share/battalion/SOUNDS +@dirrm share/battalion/TEXTURES +@dirrm share/battalion +@dirrm share/doc/battalion |