From owner-freebsd-ports Mon Mar 23 21:10:07 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA14178 for freebsd-ports-outgoing; Mon, 23 Mar 1998 21:10:07 -0800 (PST) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: (from gnats@localhost) by hub.freebsd.org (8.8.8/8.8.8) id VAA14159; Mon, 23 Mar 1998 21:10:04 -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 VAA12780 for ; Mon, 23 Mar 1998 21:03:43 -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 KAA13780 for ; Tue, 24 Mar 1998 10:03:30 +0500 (UST) Received: (from andy@localhost) by icc.surw.chel.su (8.8.5/8.8.4) id IAA00503; Tue, 24 Mar 1998 08:13:06 +0300 (MSK) Message-Id: <199803240513.IAA00503@icc.surw.chel.su> Date: Tue, 24 Mar 1998 08:13:06 +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/6119: New port: xmastermind-0.1 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 6119 >Category: ports >Synopsis: New port: xmastermind-0.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: Mon Mar 23 21:10: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 mastermind game for X Window System. The computer calculates a combination of five characters (each between A and J) and you have to try to find out the combination the computer has calculated. Your questions to the computer are also combinations of five characters (each between A and J). You get sets of black and/or white blocks as answers to your questions. If you get a black block as answer it means that there is one character in your try at the correct position (but you don't know which one it is). If you get a white block as answer it means that there is a character in your guess that also occurs in the solution, but at another position (but you don't know which one it is and at which position it would be correct). # 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: # # xmastermind-0.1 # xmastermind-0.1/Makefile # xmastermind-0.1/files # xmastermind-0.1/files/md5 # xmastermind-0.1/patches # xmastermind-0.1/patches/patch-aa # xmastermind-0.1/pkg # xmastermind-0.1/pkg/PLIST # xmastermind-0.1/pkg/COMMENT # xmastermind-0.1/pkg/DESCR # echo c - xmastermind-0.1 mkdir -p xmastermind-0.1 > /dev/null 2>&1 echo x - xmastermind-0.1/Makefile sed 's/^X//' >xmastermind-0.1/Makefile << 'END-of-xmastermind-0.1/Makefile' X# New ports collection makefile for: xmastermind X# Version required: 0.1 X# Date created: 23 March 1998 X# Whom: Andrey Zakhvatov X# X# $Id$ X# X XDISTNAME= xmastermind-0.1 XCATEGORIES= games x11 XMASTER_SITES= ${MASTER_SITE_SUNSITE} XMASTER_SITE_SUBDIR= games/strategy X XMAINTAINER= andy@icc.surw.chel.su X XLIB_DEPENDS= xforms\\.0\\.:${PORTSDIR}/x11/xforms X XUSE_X11= yes X Xdo-install: X @ ${INSTALL_PROGRAM} ${WRKSRC}/xmastermind ${PREFIX}/bin X @ ${MKDIR} ${PREFIX}/share/doc/xmastermind X.for file in BUGS COPYING README.for.developers README.for.users X @ ${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/share/doc/xmastermind X.endfor X X.include END-of-xmastermind-0.1/Makefile echo c - xmastermind-0.1/files mkdir -p xmastermind-0.1/files > /dev/null 2>&1 echo x - xmastermind-0.1/files/md5 sed 's/^X//' >xmastermind-0.1/files/md5 << 'END-of-xmastermind-0.1/files/md5' XMD5 (xmastermind-0.1.tar.gz) = 086e8b8d4ee0cb77c00060a354bbfe6a END-of-xmastermind-0.1/files/md5 echo c - xmastermind-0.1/patches mkdir -p xmastermind-0.1/patches > /dev/null 2>&1 echo x - xmastermind-0.1/patches/patch-aa sed 's/^X//' >xmastermind-0.1/patches/patch-aa << 'END-of-xmastermind-0.1/patches/patch-aa' X--- Makefile Tue Dec 30 10:30:25 1997 X+++ /home/andy/tmp/wrk/Makefile Mon Mar 23 23:20:18 1998 X@@ -1,10 +1,10 @@ X OBJS = main.o mymath.o mastermind.o guiglobal.o apptogui.o guitoapp.o mainwindowdesign.o X X CC = gcc X-CFLAGS = -O2 -Wall -Wpointer-arith -Wstrict-prototypes -pedantic -ansi X+CFLAGS+= -Wall -Wpointer-arith -Wstrict-prototypes -pedantic -ansi -I/usr/X11R6/include X CLIBS = -lm X #GRAPHLIBS = -lforms -L/usr/X11R6/lib/ -lX11 -static X-GRAPHLIBS = -lforms -L/usr/X11R6/lib/ -lX11 X+GRAPHLIBS = -lxforms -L/usr/X11R6/lib -lX11 X MF = Makefile X X ALLLIBS = $(GRAPHLIBS) $(CLIBS) END-of-xmastermind-0.1/patches/patch-aa echo c - xmastermind-0.1/pkg mkdir -p xmastermind-0.1/pkg > /dev/null 2>&1 echo x - xmastermind-0.1/pkg/PLIST sed 's/^X//' >xmastermind-0.1/pkg/PLIST << 'END-of-xmastermind-0.1/pkg/PLIST' Xbin/xmastermind Xshare/doc/xmastermind/BUGS Xshare/doc/xmastermind/COPYING Xshare/doc/xmastermind/README.for.developers Xshare/doc/xmastermind/README.for.users X@dirrm share/doc/xmastermind END-of-xmastermind-0.1/pkg/PLIST echo x - xmastermind-0.1/pkg/COMMENT sed 's/^X//' >xmastermind-0.1/pkg/COMMENT << 'END-of-xmastermind-0.1/pkg/COMMENT' Xmastermind game for X Window System. END-of-xmastermind-0.1/pkg/COMMENT echo x - xmastermind-0.1/pkg/DESCR sed 's/^X//' >xmastermind-0.1/pkg/DESCR << 'END-of-xmastermind-0.1/pkg/DESCR' XThe computer calculates a combination of five characters (each between XA and J) and you have to try to find out the combination the computer Xhas calculated. Your questions to the computer are also combinations Xof five characters (each between A and J). X XYou get sets of black and/or white blocks as answers to your Xquestions. X XIf you get a black block as answer it means that there is one Xcharacter in your try at the correct position (but you don't know Xwhich one it is). X XIf you get a white block as answer it means that there is a character Xin your guess that also occurs in the solution, but at another Xposition (but you don't know which one it is and at which position it Xwould be correct). END-of-xmastermind-0.1/pkg/DESCR 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