From owner-freebsd-ports Fri Mar 13 21:50:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA16848 for freebsd-ports-outgoing; Fri, 13 Mar 1998 21:50:03 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA16834; Fri, 13 Mar 1998 21:50:02 -0800 (PST) (envelope-from gnats) Received: from rich.chel.su (root@mobil.surnet.ru [195.54.2.7]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id VAA15465 for ; Fri, 13 Mar 1998 21:40:01 -0800 (PST) (envelope-from andy@icc.surw.chel.su) Received: from icc.surw.chel.su (surw.chel.su [195.54.2.162]) by rich.chel.su (8.7.2/Murphy) with ESMTP id KAA13537 for ; Sat, 14 Mar 1998 10:42:45 +0500 (UST) Received: (from andy@localhost) by icc.surw.chel.su (8.8.5/8.8.4) id IAA28880; Sat, 14 Mar 1998 08:46:02 +0300 (MSK) Message-Id: <199803140546.IAA28880@icc.surw.chel.su> Date: Sat, 14 Mar 1998 08:46:02 +0300 (MSK) From: Andrey Zakhvatov Reply-To: andy@icc.surw.chel.su To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: ports/5998: New port: xchain-1.0.2 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 5998 >Category: ports >Synopsis: New port: xchain-1.0.2 >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: Fri Mar 13 21:50:01 PST 1998 >Last-Modified: >Originator: Andrey Zakhvatov >Organization: South Ural Railway ICC >Release: FreeBSD 2.2.2-RELEASE i386 >Environment: >Description: This is a port of Chain Reaction - strategy game for 2-4 players. Chain Reaction is played on an 8 by 8 board. Players take turns to move. On each move, the player may select an empty square, or one they already own. Squares belonging to other players may not be chosen. If the square was unowned, it becomes the property of the player, and is given a value of 1. If the square was owned by the player, the value is incremented. If the value of a square ever exceeds the maximum permitted of that square, it explodes. Squares in the corner have a maximum of 1, squares touching an edge, but not on a corner have a maximum of 2, and squares in the interior have a maximum of 3. When a square explodes, it becomes unowned, and it's value is reset to 0. The 4 squares touching it become owned by the owner of the exploding square, and their values are incremented. If any of these are above their maximum, they explode, giving rise to the chain reaction. If, at the end of a move, any of the players have no squares, they are dead, and get no more turns. When there is only one person left, they are the winner. # 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: # # xchain-1.0.2 # xchain-1.0.2/Makefile # xchain-1.0.2/files # xchain-1.0.2/files/md5 # xchain-1.0.2/patches # xchain-1.0.2/patches/patch-aa # xchain-1.0.2/pkg # xchain-1.0.2/pkg/PLIST # xchain-1.0.2/pkg/DESCR # xchain-1.0.2/pkg/COMMENT # echo c - xchain-1.0.2 mkdir -p xchain-1.0.2 > /dev/null 2>&1 echo x - xchain-1.0.2/Makefile sed 's/^X//' >xchain-1.0.2/Makefile << 'END-of-xchain-1.0.2/Makefile' X# New ports collection makefile for: xchain X# Version required: 1.0.2 X# Date created: 13 March 1998 X# Whom: Andrey Zakhvatov X# X# $Id$ X# X XDISTNAME= xchain_1.0-2 XPKGNAME= xchain-1.0.2 XCATEGORIES= games x11 XMASTER_SITES= http://thor.cam.ac.uk/~ac212/xchain/ X XMAINTAINER= andy@icc.surw.chel.su X XRUN_DEPENDS= wish8.0:${PORTSDIR}/x11/tk X XUSE_X11= yes XWRKSRC= ${WRKDIR}/xchain-1.0 X XMAN6= xchain.6 X Xdo-install: X @ ${INSTALL_PROGRAM} ${WRKSRC}/xchain ${PREFIX}/bin X @ ${INSTALL_MAN} ${WRKSRC}/xchain.6 ${PREFIX}/man/man6 X @ ${MKDIR} ${PREFIX}/share/doc/xchain X @ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xchain X @ ${INSTALL_DATA} ${WRKSRC}/copyright ${PREFIX}/share/doc/xchain X X.include END-of-xchain-1.0.2/Makefile echo c - xchain-1.0.2/files mkdir -p xchain-1.0.2/files > /dev/null 2>&1 echo x - xchain-1.0.2/files/md5 sed 's/^X//' >xchain-1.0.2/files/md5 << 'END-of-xchain-1.0.2/files/md5' XMD5 (xchain_1.0-2.tar.gz) = d212b847d05e3be5b7b0ed713a07ee64 END-of-xchain-1.0.2/files/md5 echo c - xchain-1.0.2/patches mkdir -p xchain-1.0.2/patches > /dev/null 2>&1 echo x - xchain-1.0.2/patches/patch-aa sed 's/^X//' >xchain-1.0.2/patches/patch-aa << 'END-of-xchain-1.0.2/patches/patch-aa' X--- xchain.c Wed Feb 25 15:10:15 1998 X+++ /home/andy/tmp/wrk/xchain.c Fri Mar 13 21:53:20 1998 X@@ -29,7 +29,7 @@ X #include X #include X X-#define DEF_WISH_PATH "/usr/bin/wish" X+#define DEF_WISH_PATH "/usr/local/bin/wish8.0" X X void wprintf(char *, ...); X void draw_screen(void); END-of-xchain-1.0.2/patches/patch-aa echo c - xchain-1.0.2/pkg mkdir -p xchain-1.0.2/pkg > /dev/null 2>&1 echo x - xchain-1.0.2/pkg/PLIST sed 's/^X//' >xchain-1.0.2/pkg/PLIST << 'END-of-xchain-1.0.2/pkg/PLIST' Xbin/xchain Xman/man6/xchain.6.gz Xshare/doc/xchain/README Xshare/doc/xchain/copyright X@dirrm share/doc/xchain END-of-xchain-1.0.2/pkg/PLIST echo x - xchain-1.0.2/pkg/DESCR sed 's/^X//' >xchain-1.0.2/pkg/DESCR << 'END-of-xchain-1.0.2/pkg/DESCR' X Chain Reaction is played on an 8 by 8 board. Players take turns to move. XOn each move, the player may select an empty square, or one they already Xown. Squares belonging to other players may not be chosen. If the square Xwas unowned, it becomes the property of the player, and is given a value of X1. If the square was owned by the player, the value is incremented. X X If the value of a square ever exceeds the maximum permitted of that Xsquare, it explodes. Squares in the corner have a maximum of 1, squares Xtouching an edge, but not on a corner have a maximum of 2, and squares in Xthe interior have a maximum of 3. X X When a square explodes, it becomes unowned, and it's value is reset to X0. The 4 squares touching it become owned by the owner of the exploding Xsquare, and their values are incremented. If any of these are above their Xmaximum, they explode, giving rise to the chain reaction. X X If, at the end of a move, any of the players have no squares, they are Xdead, and get no more turns. When there is only one person left, they are Xthe winner. END-of-xchain-1.0.2/pkg/DESCR echo x - xchain-1.0.2/pkg/COMMENT sed 's/^X//' >xchain-1.0.2/pkg/COMMENT << 'END-of-xchain-1.0.2/pkg/COMMENT' XChain Reaction - strategy game for 2-4 players. END-of-xchain-1.0.2/pkg/COMMENT 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