diff options
author | Seiichirou Hiraoka <flathill@FreeBSD.org> | 1998-12-05 17:08:12 +0000 |
---|---|---|
committer | Seiichirou Hiraoka <flathill@FreeBSD.org> | 1998-12-05 17:08:12 +0000 |
commit | aadf6ff1dff163247a9b9757e4c2ef2a602a3fa1 (patch) | |
tree | 46ccf486cee1b4b12cf2ffd88e30abf5628e91d8 /games/antipolix | |
parent | 88d402146382016fb783d30c91a212a7ea981b2e (diff) | |
download | ports-aadf6ff1dff163247a9b9757e4c2ef2a602a3fa1.tar.gz ports-aadf6ff1dff163247a9b9757e4c2ef2a602a3fa1.zip |
Notes
Diffstat (limited to 'games/antipolix')
-rw-r--r-- | games/antipolix/Makefile | 36 | ||||
-rw-r--r-- | games/antipolix/distinfo | 1 | ||||
-rw-r--r-- | games/antipolix/files/patch-aa | 12 | ||||
-rw-r--r-- | games/antipolix/files/patch-ab | 14 | ||||
-rw-r--r-- | games/antipolix/files/patch-ac | 14 | ||||
-rw-r--r-- | games/antipolix/files/patch-ad | 14 | ||||
-rw-r--r-- | games/antipolix/files/patch-ae | 14 | ||||
-rw-r--r-- | games/antipolix/pkg-comment | 1 | ||||
-rw-r--r-- | games/antipolix/pkg-descr | 9 | ||||
-rw-r--r-- | games/antipolix/pkg-plist | 11 |
10 files changed, 126 insertions, 0 deletions
diff --git a/games/antipolix/Makefile b/games/antipolix/Makefile new file mode 100644 index 000000000000..96154f38b4b9 --- /dev/null +++ b/games/antipolix/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: antipolix +# Version required: 2.1 +# Date created: 2 December 1998 +# Whom: Andrey Zakhvatov +# +# $Id$ +# + +DISTNAME= AntipoliX_2.1 +PKGNAME= antipolix-2.1 +CATEGORIES= games +MASTER_SITES= ${MASTER_SITE_XCONTRIB} +MASTER_SITE_SUBDIR= games/multiplayer + +MAINTAINER= andy@icc.surw.chel.su + +WRKSRC= ${WRKDIR} +USE_IMAKE= yes + +do-install: + @ ${INSTALL_PROGRAM} ${WRKSRC}/client ${PREFIX}/bin/antipolix-client + @ ${INSTALL_PROGRAM} ${WRKSRC}/server ${PREFIX}/bin/antipolix-server + @ ${MKDIR} ${PREFIX}/share/examples/antipolix + @ ${INSTALL_DATA} ${WRKSRC}/.motd ${PREFIX}/share/examples/antipolix/dot.motd.sample + @ ${INSTALL_DATA} ${WRKSRC}/.players ${PREFIX}/share/examples/antipolix/dot.players.sample + @ ${INSTALL_DATA} ${WRKSRC}/.server_defaults ${PREFIX}/share/examples/antipolix/dot.server_defaults.sample + +post-install: +.if !defined(NOPORTDOCS) + @ ${MKDIR} ${PREFIX}/share/doc/antipolix +.for file in ANTIPOLIX_RULES CLIENT_USE COPYRIGHT SERVER_USE + @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/antipolix +.endfor +.endif + +.include <bsd.port.mk> diff --git a/games/antipolix/distinfo b/games/antipolix/distinfo new file mode 100644 index 000000000000..54dfe276dc12 --- /dev/null +++ b/games/antipolix/distinfo @@ -0,0 +1 @@ +MD5 (AntipoliX_2.1.tar.gz) = 559dac2489422a7e5cd944f399ec2615 diff --git a/games/antipolix/files/patch-aa b/games/antipolix/files/patch-aa new file mode 100644 index 000000000000..a788e87dd31b --- /dev/null +++ b/games/antipolix/files/patch-aa @@ -0,0 +1,12 @@ +--- Imakefile Thu Aug 3 22:29:38 1995 ++++ /home/andy/tmp/wrk/Imakefile Wed Dec 2 21:01:22 1998 +@@ -1,6 +1,6 @@ +-EXTRA_LIBRARIES=-lX11 -lm -lsocket +-CC=gcc +-CDEBUGFLAGS = -g ++EXTRA_LIBRARIES=-lX11 -lm ++CC?=cc ++CDEBUGFLAGS = -I${X11BASE}/include + + PROGRAMS = client server + diff --git a/games/antipolix/files/patch-ab b/games/antipolix/files/patch-ab new file mode 100644 index 000000000000..1dc899bbc906 --- /dev/null +++ b/games/antipolix/files/patch-ab @@ -0,0 +1,14 @@ +--- client.c Thu Aug 3 22:29:37 1995 ++++ /home/andy/tmp/wrk/client.c Wed Dec 2 21:05:02 1998 +@@ -5,7 +5,11 @@ + #include <stdlib.h> + #include <netdb.h> + #include <stdio.h> ++#ifdef __FreeBSD__ ++#include <stdlib.h> ++#else + #include <malloc.h> ++#endif + #include <string.h> + #include <unistd.h> + #include <signal.h> diff --git a/games/antipolix/files/patch-ac b/games/antipolix/files/patch-ac new file mode 100644 index 000000000000..b55890dc43ab --- /dev/null +++ b/games/antipolix/files/patch-ac @@ -0,0 +1,14 @@ +--- creation.c Thu Aug 3 22:29:37 1995 ++++ /home/andy/tmp/wrk/creation.c Wed Dec 2 21:02:24 1998 +@@ -1,7 +1,11 @@ + #include "creation.h" + #include "game.h" + ++#ifdef __FreeBSD__ ++#include <stdlib.h> ++#else + #include <malloc.h> ++#endif + + void CreateUniverse(Univers *U, int NbNiveaux, int Taille) + { diff --git a/games/antipolix/files/patch-ad b/games/antipolix/files/patch-ad new file mode 100644 index 000000000000..f2b4925c126a --- /dev/null +++ b/games/antipolix/files/patch-ad @@ -0,0 +1,14 @@ +--- messages.c Thu Aug 3 22:29:37 1995 ++++ /home/andy/tmp/wrk/messages.c Wed Dec 2 21:03:17 1998 +@@ -3,7 +3,11 @@ + #include <sys/time.h> + #include <sys/resource.h> + #include <string.h> ++#ifdef __FreeBSD__ ++#include <stdlib.h> ++#else + #include <malloc.h> ++#endif + #include <memory.h> + #include <sys/types.h> + #include <netinet/in.h> diff --git a/games/antipolix/files/patch-ae b/games/antipolix/files/patch-ae new file mode 100644 index 000000000000..a1c228540282 --- /dev/null +++ b/games/antipolix/files/patch-ae @@ -0,0 +1,14 @@ +--- server.c Thu Aug 3 22:29:37 1995 ++++ /home/andy/tmp/wrk/server.c Wed Dec 2 21:04:18 1998 +@@ -9,7 +9,11 @@ + #include <math.h> + #include <memory.h> + #include <signal.h> ++#ifdef __FreeBSD__ ++#include <limits.h> ++#else + #include <values.h> ++#endif + + #include "messages.h" + #include "creation.h" diff --git a/games/antipolix/pkg-comment b/games/antipolix/pkg-comment new file mode 100644 index 000000000000..5aadf535621a --- /dev/null +++ b/games/antipolix/pkg-comment @@ -0,0 +1 @@ +Simple multiplayer game for X Window System. diff --git a/games/antipolix/pkg-descr b/games/antipolix/pkg-descr new file mode 100644 index 000000000000..d5939e5d1354 --- /dev/null +++ b/games/antipolix/pkg-descr @@ -0,0 +1,9 @@ +This game is played in a parallelepipede containing PxNxN little +cubes. You can first consider this 3D board as P 2D checkerboards of +NxN squares. From 2 up to 10 players can confront each other. +Each player begins with a certain number of pieces (or armies) that +he has to move and make attack. One of his pieces represents him-self +(or the chief, or the king, or anything you want). If this piece die, +the player is eliminated. The last player staying alive wins. +Messages can be sent to the other players , so that alliances can be +implemented. A special timer assures that the game remains dynamic. diff --git a/games/antipolix/pkg-plist b/games/antipolix/pkg-plist new file mode 100644 index 000000000000..91db34533312 --- /dev/null +++ b/games/antipolix/pkg-plist @@ -0,0 +1,11 @@ +bin/antipolix-client +bin/antipolix-server +share/doc/antipolix/ANTIPOLIX_RULES +share/doc/antipolix/CLIENT_USE +share/doc/antipolix/COPYRIGHT +share/doc/antipolix/SERVER_USE +share/examples/antipolix/dot.motd.sample +share/examples/antipolix/dot.players.sample +share/examples/antipolix/dot.server_defaults.sample +@dirrm share/doc/antipolix +@dirrm share/examples/antipolix |