ports/156535: New port: games/fairy-Max
Kalten
kalten at gmx.at
Wed Apr 20 23:10:11 UTC 2011
>Number: 156535
>Category: ports
>Synopsis: New port: games/fairy-Max
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Apr 20 23:10:10 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Kalten
>Release: 8.2-RELEASE
>Organization:
>Environment:
FreeBSD freeHugin.Walhalla.Leben 8.2-RELEASE FreeBSD 8.2-RELEASE #0: Thu Feb 17 02:41:51 UTC 2011 root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
New port: games/fairy-Max It is a chess engine usable with e.g. xboard(6) and capable of e.g. courier chess or shatranj.
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
# 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:
#
# fairy-Max
# fairy-Max/Makefile
# fairy-Max/pkg-descr
# fairy-Max/distinfo
# fairy-Max/files
# fairy-Max/files/patch-Makefile
# fairy-Max/files/patch-fairy-Max.6
# fairy-Max/pkg-plist
#
echo c - fairy-Max
mkdir -p fairy-Max > /dev/null 2>&1
echo x - fairy-Max/Makefile
sed 's/^X//' >fairy-Max/Makefile << '4bbaa050a3989eece1cb8a176f8e6051'
X# New ports collection makefile for: fairy-max
X# Date created: 20 April 2011
X# Whom: Kalten <kalten at gmx.at>
X#
X# $FreeBSD$
X#
X
XPORTNAME= fairy-Max
XPORTVERSION= 4.8L
XCATEGORIES= games
XMASTER_SITES= http://home.hccnet.nl/h.g.muller/
XDISTNAME= fairy-Max-${PORTVERSION}
XDIST_SUBDIR= fairy-Max
XEXTRACT_ONLY=
X
X#MAINTAINER=
XCOMMENT= Chess engine (e.g. for xboard) for shatranj (middelage), courier chess
X
XDISTFILES= fmax4_8w.c fmax.ini
X
XMAN6= fairy-Max.6
X
Xpost-extract:
X ${MKDIR} ${WRKSRC}
X ${CP} ${DISTDIR}/${DIST_SUBDIR}/fmax4_8w.c ${WRKSRC}/fmax4_8w.c
X ${CP} ${DISTDIR}/${DIST_SUBDIR}/fmax.ini ${WRKSRC}/fmax.ini
X
Xpost-patch:
X ${CP} ${WRKSRC}/fmax4_8w.c ${WRKSRC}/fmax4_8w.c.ori
X ${SED} -e 's;#define INI_FILE "fmax.ini";#define INI_FILE "${PREFIX}/lib/fairy-Max/fmax.ini";' \
X ${WRKSRC}/fmax4_8w.c.ori > ${WRKSRC}/fmax4_8w.c
X ${CP} ${WRKSRC}/fairy-Max.6 ${WRKSRC}/fairy-Max.6.ori
X ${SED} -e 's;@PREFIX@;${PREFIX};' \
X ${WRKSRC}/fairy-Max.6.ori > ${WRKSRC}/fairy-Max.6
X
Xdo-install:
X ${INSTALL_PROGRAM} ${WRKSRC}/fairy-Max ${PREFIX}/bin
X ${MKDIR} ${PREFIX}/lib/fairy-Max
X ${INSTALL_DATA} ${WRKSRC}/fmax.ini ${PREFIX}/lib/fairy-Max/fmax.ini
X ${INSTALL_MAN} ${WRKSRC}/${MAN6} ${MANPREFIX}/man/man6
X
X.include <bsd.port.mk>
4bbaa050a3989eece1cb8a176f8e6051
echo x - fairy-Max/pkg-descr
sed 's/^X//' >fairy-Max/pkg-descr << '2a5f8ad6f32c9f1e8649f136870ceb4b'
Xfairy-Max is a version of micro-Max that reads the piece description
Xfrom a file fmax.ini, so that arbitrary fairy pieces can be implemen-
Xted. This version (4.8L) supports up to 15 piece types, and board
Xsizes upto 12x8 board. A Linux port exists in the format of a debian
Xpackage.
X
XYou can use it e.g. with games/xboard/:
Xe.g.: xboard -boardSize Middling -variant courier -fcp fairy-Max
X
XWWW: http://home.hccnet.nl/h.g.muller/fairy.html
2a5f8ad6f32c9f1e8649f136870ceb4b
echo x - fairy-Max/distinfo
sed 's/^X//' >fairy-Max/distinfo << '619937511a98317876abc4e472249353'
XSHA256 (fairy-Max/fmax4_8w.c) = 8a49fe080e65c6d0d84834fe36cbf5b5f39184a5bafef9661dc1804fd4857d07
XSIZE (fairy-Max/fmax4_8w.c) = 34286
XSHA256 (fairy-Max/fmax.ini) = 961da2bd7c788cd7569f7a53d5628a344be4550df525f743c7ebea371e389dff
XSIZE (fairy-Max/fmax.ini) = 16362
619937511a98317876abc4e472249353
echo c - fairy-Max/files
mkdir -p fairy-Max/files > /dev/null 2>&1
echo x - fairy-Max/files/patch-Makefile
sed 's/^X//' >fairy-Max/files/patch-Makefile << 'bdbb22d2ba5e6ae0be3ed17354315a5e'
X--- /dev/null 2011-04-20 21:07:53.000000000 +0200
X+++ Makefile 2011-04-20 21:10:18.000000000 +0200
X@@ -0,0 +1,15 @@
X+GCC=gcc
X+ExecName=fairy-Max
X+
X+# http://home.hccnet.nl/h.g.muller/fmax4_8w.c
X+# http://home.hccnet.nl/h.g.muller/fmax.ini
X+
X+all: ${ExecName}
X+
X+${ExecName}: fmax4_8w.c
X+ $(GCC) -o ${ExecName} fmax4_8w.c
X+
X+clean:
X+ rm -f ${ExecName}
X+
X+#End
bdbb22d2ba5e6ae0be3ed17354315a5e
echo x - fairy-Max/files/patch-fairy-Max.6
sed 's/^X//' >fairy-Max/files/patch-fairy-Max.6 << '83afadce01ce14593e0250d6ab3be65d'
X--- /dev/null 2011-04-20 23:50:06.000000000 +0200
X+++ fairy-Max.6 2011-04-20 23:49:49.000000000 +0200
X@@ -0,0 +1,83 @@
X+.TH fairy-Max 6 "September 3, 2009" "fairy-Max Version 4.8L" "fairy-Max chess engine"
X+.SH NAME
X+fairy-Max \- a chess engine for various chess types usable with xboard(6)
X+.SH DESCRIPTION
X+.B fairy-Max
X+is a version of micro-Max that reads the piece description
X+from a file fmax.ini, so that arbitrary fairy pieces can be
X+implemented. This version (4.8L) supports up to 15 piece types,
X+and board sizes upto 12x8 board.
X+.SH "VARIATIONS allready in fmax.ini"
X+.TP
X+.I normal
X+The common, modern, variation of chess, played on an 8x8 board.
X+.TP
X+.I shatranj
X+Arabic precursor of modern Chess, played on an 8x8 board. (Known as
X+Middle Age chess).
X+.TP
X+.I courier
X+Medieval intermediate between Shatranj and modern chess, played on a
X+12x8 board.
X+.TP
X+.I knightmate
X+The King moves as a Knight, and vice versa, played on an 8x8 board.
X+.TP
X+.I capablanca
X+Modern variant with two new pieces (Archbishop and Chancellor), played
X+on a 10x8 board.
X+.TP
X+.I gothic
X+(Protected through U.S. patent #6,481,716 by Ed Trice\ \- spreading it
X+without license might be a criminal offense), played on a 10x8 board.
X+.TP
X+.I falcon
X+(Protected through U.S. patent #5,690,334 by George W. Duke\ \- spreading it
X+without license might be a criminal offense), played on a 10x8 board.
X+.TP
X+.I cylinder
X+(WinBoard legality testing should be off toplay this!), played on an 8x8
X+board.
X+.TP
X+.I 8x8+0\_falcon
X+Played on an 8x8 board.
X+.TP
X+.I berolina
X+(WinBoard legality testing should be off toplay this! As well as other
X+issues: see fmax.ini), played on an 8x8 board.
X+.TP
X+.I super
X+Modern variant with four new pieces in randomly chosen setup, played on
X+an 8x8 board.
X+.TP
X+.I fairy
X+Played on an 8x8 board.
X+.TP
X+.I great
X+Modern variant with two new pieces (Archbishop and Chancellor), played
X+on a 10x8 board.
X+.SH FILES
X+ at PREFIX@/lib/fairy-Max/fmax.ini game variations data
X+.SH EXAMPLES
X+.TP
X+Modern-Chess in xboard:
X+xboard -boardSize Middling -variant normal -fcp fairy-Max
X+.TP
X+Courier-Chess in xboard:
X+xboard -boardSize Middling -variant courier -fcp fairy-Max
X+.TP
X+Shatranj-Chess in xboard:
X+xboard -boardSize Middling -variant shatranj -fcp fairy-Max
X+.SH AVAILABILITY
X+At \fIhttp://home.hccnet.nl/h.g.muller/dwnldpage.html\fP the source
X+files can be found.
X+.SH "SEE ALSO"
X+WWW: \fIhttp://home.hccnet.nl/h.g.muller/fairy.html\fP
X+.TP
X+micro-Max: \fIhttp://home.hccnet.nl/h.g.muller/max-src2.html\fP
X+.TP
X+\fIxboard\fP(6)
X+.SH STANDARDS
X+winboard, \fIxboard\fP(6) interface
X+.SH AUTHOR
X+H.G.Muller \fIhttp://home.hccnet.nl/h.g.muller/\fP
83afadce01ce14593e0250d6ab3be65d
echo x - fairy-Max/pkg-plist
sed 's/^X//' >fairy-Max/pkg-plist << '43cf3b3a8f23ba3e1cdc37caf238000e'
Xbin/fairy-Max
Xlib/fairy-Max/fmax.ini
X at dirrm lib/fairy-Max
43cf3b3a8f23ba3e1cdc37caf238000e
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list