Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Dec 1998 10:20:00 +0300 (MSK)
From:      Andrey Zakhvatov <andy@icc.surw.chel.su>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/8959: New port: antipolix-2.1
Message-ID:  <199812040720.KAA20843@icc.surw.chel.su>

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

>Number:         8959
>Category:       ports
>Synopsis:       New port: antipolix-2.1
>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:   Thu Dec  3 23:30:01 PST 1998
>Last-Modified:
>Originator:     Andrey Zakhvatov
>Organization:
South Ural Railway ICC
>Release:        FreeBSD 2.2.7-RELEASE i386
>Environment:

>Description:

   This is a port of simple multiplayer game for X Window System.
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.


# 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:
#
#	antipolix-2.1
#	antipolix-2.1/Makefile
#	antipolix-2.1/files
#	antipolix-2.1/files/md5
#	antipolix-2.1/pkg
#	antipolix-2.1/pkg/PLIST
#	antipolix-2.1/pkg/COMMENT
#	antipolix-2.1/pkg/DESCR
#	antipolix-2.1/patches
#	antipolix-2.1/patches/patch-ae
#	antipolix-2.1/patches/patch-ad
#	antipolix-2.1/patches/patch-ac
#	antipolix-2.1/patches/patch-ab
#	antipolix-2.1/patches/patch-aa
#
echo c - antipolix-2.1
mkdir -p antipolix-2.1 > /dev/null 2>&1
echo x - antipolix-2.1/Makefile
sed 's/^X//' >antipolix-2.1/Makefile << 'END-of-antipolix-2.1/Makefile'
X# New ports collection makefile for:	antipolix
X# Version required:			2.1
X# Date created:				2 December 1998
X# Whom:					Andrey Zakhvatov
X#
X# $Id$
X#
X
XDISTNAME=		AntipoliX_2.1
XPKGNAME=		antipolix-2.1
XCATEGORIES=		games
XMASTER_SITES=		${MASTER_SITE_XCONTRIB}
XMASTER_SITE_SUBDIR=	games/multiplayer
X
XMAINTAINER=		andy@icc.surw.chel.su
X
XWRKSRC=			${WRKDIR}
XUSE_IMAKE=		yes
X
Xdo-install:
X	@ ${INSTALL_PROGRAM} ${WRKSRC}/client ${PREFIX}/bin/antipolix-client
X	@ ${INSTALL_PROGRAM} ${WRKSRC}/server ${PREFIX}/bin/antipolix-server
X	@ ${MKDIR} ${PREFIX}/share/examples/antipolix
X	@ ${INSTALL_DATA} ${WRKSRC}/.motd ${PREFIX}/share/examples/antipolix/dot.motd.sample
X	@ ${INSTALL_DATA} ${WRKSRC}/.players ${PREFIX}/share/examples/antipolix/dot.players.sample
X	@ ${INSTALL_DATA} ${WRKSRC}/.server_defaults ${PREFIX}/share/examples/antipolix/dot.server_defaults.sample
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X	@ ${MKDIR} ${PREFIX}/share/doc/antipolix
X.for file in ANTIPOLIX_RULES CLIENT_USE COPYRIGHT SERVER_USE
X	@ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/antipolix
X.endfor
X.endif
X
X.include <bsd.port.mk>
END-of-antipolix-2.1/Makefile
echo c - antipolix-2.1/files
mkdir -p antipolix-2.1/files > /dev/null 2>&1
echo x - antipolix-2.1/files/md5
sed 's/^X//' >antipolix-2.1/files/md5 << 'END-of-antipolix-2.1/files/md5'
XMD5 (AntipoliX_2.1.tar.gz) = 559dac2489422a7e5cd944f399ec2615
END-of-antipolix-2.1/files/md5
echo c - antipolix-2.1/pkg
mkdir -p antipolix-2.1/pkg > /dev/null 2>&1
echo x - antipolix-2.1/pkg/PLIST
sed 's/^X//' >antipolix-2.1/pkg/PLIST << 'END-of-antipolix-2.1/pkg/PLIST'
Xbin/antipolix-client
Xbin/antipolix-server
Xshare/doc/antipolix/ANTIPOLIX_RULES
Xshare/doc/antipolix/CLIENT_USE
Xshare/doc/antipolix/COPYRIGHT
Xshare/doc/antipolix/SERVER_USE
Xshare/examples/antipolix/dot.motd.sample
Xshare/examples/antipolix/dot.players.sample
Xshare/examples/antipolix/dot.server_defaults.sample
X@dirrm share/doc/antipolix
X@dirrm share/examples/antipolix
END-of-antipolix-2.1/pkg/PLIST
echo x - antipolix-2.1/pkg/COMMENT
sed 's/^X//' >antipolix-2.1/pkg/COMMENT << 'END-of-antipolix-2.1/pkg/COMMENT'
XSimple multiplayer game for X Window System.
END-of-antipolix-2.1/pkg/COMMENT
echo x - antipolix-2.1/pkg/DESCR
sed 's/^X//' >antipolix-2.1/pkg/DESCR << 'END-of-antipolix-2.1/pkg/DESCR'
XThis game is played in a parallelepipede containing PxNxN little
Xcubes. You can first consider this 3D board as P 2D checkerboards of
XNxN squares.  From 2 up to 10 players can confront each other.
XEach player begins with a certain number of pieces (or armies) that
Xhe has to move and make attack. One of his pieces represents him-self
X(or the chief, or the king, or anything you want). If this piece die,
Xthe player is eliminated. The last player staying alive wins.
XMessages can be sent to the other players , so that alliances can be
Ximplemented.  A special timer assures that the game remains dynamic.
END-of-antipolix-2.1/pkg/DESCR
echo c - antipolix-2.1/patches
mkdir -p antipolix-2.1/patches > /dev/null 2>&1
echo x - antipolix-2.1/patches/patch-ae
sed 's/^X//' >antipolix-2.1/patches/patch-ae << 'END-of-antipolix-2.1/patches/patch-ae'
X--- server.c	Thu Aug  3 22:29:37 1995
X+++ /home/andy/tmp/wrk/server.c	Wed Dec  2 21:04:18 1998
X@@ -9,7 +9,11 @@
X #include <math.h>
X #include <memory.h>
X #include <signal.h>
X+#ifdef __FreeBSD__
X+#include <limits.h>
X+#else
X #include <values.h>
X+#endif
X 
X #include "messages.h"
X #include "creation.h"
END-of-antipolix-2.1/patches/patch-ae
echo x - antipolix-2.1/patches/patch-ad
sed 's/^X//' >antipolix-2.1/patches/patch-ad << 'END-of-antipolix-2.1/patches/patch-ad'
X--- messages.c	Thu Aug  3 22:29:37 1995
X+++ /home/andy/tmp/wrk/messages.c	Wed Dec  2 21:03:17 1998
X@@ -3,7 +3,11 @@
X #include <sys/time.h>
X #include <sys/resource.h>
X #include <string.h>
X+#ifdef __FreeBSD__
X+#include <stdlib.h>
X+#else
X #include <malloc.h>
X+#endif
X #include <memory.h>
X #include <sys/types.h>
X #include <netinet/in.h>
END-of-antipolix-2.1/patches/patch-ad
echo x - antipolix-2.1/patches/patch-ac
sed 's/^X//' >antipolix-2.1/patches/patch-ac << 'END-of-antipolix-2.1/patches/patch-ac'
X--- creation.c	Thu Aug  3 22:29:37 1995
X+++ /home/andy/tmp/wrk/creation.c	Wed Dec  2 21:02:24 1998
X@@ -1,7 +1,11 @@
X #include "creation.h"
X #include "game.h"
X 
X+#ifdef __FreeBSD__
X+#include <stdlib.h>
X+#else
X #include <malloc.h>
X+#endif
X 
X void CreateUniverse(Univers *U, int NbNiveaux, int Taille)
X {
END-of-antipolix-2.1/patches/patch-ac
echo x - antipolix-2.1/patches/patch-ab
sed 's/^X//' >antipolix-2.1/patches/patch-ab << 'END-of-antipolix-2.1/patches/patch-ab'
X--- client.c	Thu Aug  3 22:29:37 1995
X+++ /home/andy/tmp/wrk/client.c	Wed Dec  2 21:05:02 1998
X@@ -5,7 +5,11 @@
X #include <stdlib.h>
X #include <netdb.h>
X #include <stdio.h>
X+#ifdef __FreeBSD__
X+#include <stdlib.h>
X+#else
X #include <malloc.h>
X+#endif
X #include <string.h>
X #include <unistd.h>
X #include <signal.h>
END-of-antipolix-2.1/patches/patch-ab
echo x - antipolix-2.1/patches/patch-aa
sed 's/^X//' >antipolix-2.1/patches/patch-aa << 'END-of-antipolix-2.1/patches/patch-aa'
X--- Imakefile	Thu Aug  3 22:29:38 1995
X+++ /home/andy/tmp/wrk/Imakefile	Wed Dec  2 21:01:22 1998
X@@ -1,6 +1,6 @@
X-EXTRA_LIBRARIES=-lX11 -lm -lsocket
X-CC=gcc
X-CDEBUGFLAGS = -g
X+EXTRA_LIBRARIES=-lX11 -lm
X+CC?=cc
X+CDEBUGFLAGS = -I${X11BASE}/include
X 
X PROGRAMS = client server
X 
END-of-antipolix-2.1/patches/patch-aa
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?199812040720.KAA20843>