View | Details | Raw Unified | Return to bug 192669
Collapse All | Expand All

(-)Makefile (-3 / +15 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	xboard
4
PORTNAME=	xboard
5
PORTVERSION=	4.7.3
5
PORTVERSION=	4.7.3
6
PORTREVISION=	1
6
CATEGORIES=	games
7
CATEGORIES=	games
7
MASTER_SITES=	GNU
8
MASTER_SITES=	GNU
8
9
Lines 11-19 Link Here
11
12
12
LIB_DEPENDS=	libcairo.so:${PORTSDIR}/graphics/cairo
13
LIB_DEPENDS=	libcairo.so:${PORTSDIR}/graphics/cairo
13
14
14
OPTIONS_DEFINE=	NLS CRAFTY FAIRYMAX GNUCHESS KNIGHTCAP PHALANX DOCS
15
OPTIONS_DEFINE=	NLS ZIPPY CRAFTY FAIRYMAX GNUCHESS KNIGHTCAP PHALANX DOCS
15
OPTIONS_DEFAULT=
16
OPTIONS_DEFAULT=
16
OPTIONS_SUB=	yes
17
OPTIONS_SUB=	yes
18
ZIPPY_DESC=	Add Zippy capability to xboard (computer player on ICS)
17
CRAFTY_DESC=	Install crafty engine
19
CRAFTY_DESC=	Install crafty engine
18
FAIRYMAX_DESC=	Install fairymax engine
20
FAIRYMAX_DESC=	Install fairymax engine
19
GNUCHESS_DESC=	Install GnuChess engine
21
GNUCHESS_DESC=	Install GnuChess engine
Lines 43-56 Link Here
43
45
44
BROKEN_sparc64=	Does not install on sparc64
46
BROKEN_sparc64=	Does not install on sparc64
45
47
48
ZIPPY_CONFIGURE_ON=	--enable-zippy
49
50
.include <bsd.port.options.mk>
51
52
.if ${PORT_OPTIONS:MZIPPY}
53
PORTDOCS+=	zippy.README
54
.endif
55
46
post-patch:
56
post-patch:
47
	@${REINPLACE_CMD} -e 's/fairymax/gnuchessx/' ${WRKSRC}/xboard.conf.in
57
	@${REINPLACE_CMD} -e 's/fairymax/gnuchessx/' ${WRKSRC}/xboard.conf.in
48
	@${REINPLACE_CMD} -e '/^#include..malloc.h/d' \
58
	@${REINPLACE_CMD} -e '/^#include..malloc.h/d' \
49
		${WRKSRC}/engineoutput.c ${WRKSRC}/uci.c
59
		${WRKSRC}/engineoutput.c ${WRKSRC}/uci.c
50
	@${REINPLACE_CMD} -e 's:INSTALL.*sysconfdir):&/$$$$files.dist:' \
60
	@${REINPLACE_CMD} -e 's:INSTALL.*sysconfdir):&/$$$$files.dist:' \
51
		${WRKSRC}/Makefile.in
61
		${WRKSRC}/Makefile.in
52
62
.if ${PORT_OPTIONS:MZIPPY}
53
.include <bsd.port.options.mk>
63
	@cd ${WRKSRC} && ${PATCH} < ${PATCHDIR}/OPTION_ZIPPY__patch-xboard.texi
64
	@${REINPLACE_CMD} -e 's|%%DOCSDIR%%|${DOCSDIR}|g' ${WRKSRC}/xboard.texi
65
.endif
54
66
55
post-install:
67
post-install:
56
	@${INSTALL_SCRIPT} ${WRKSRC}/cmail ${STAGEDIR}${PREFIX}/bin/
68
	@${INSTALL_SCRIPT} ${WRKSRC}/cmail ${STAGEDIR}${PREFIX}/bin/
(-)files/OPTION_ZIPPY__patch-xboard.texi (+25 lines)
Line 0 Link Here
1
--- xboard.texi.orig	2014-01-06 18:15:22.000000000 +0100
2
+++ xboard.texi	2014-08-14 23:43:17.000000000 +0200
3
@@ -64,6 +64,7 @@
4
 * Chess Servers::   Using XBoard with an Internet Chess Server (ICS).
5
 * Firewalls::       Connecting to a chess server through a firewall.
6
 * Environment::     Environment variables.
7
+* Zippy::           XBoard as computer player on an Internet Chess Server (ICS).
8
 * Limitations::     Known limitations and/or bugs.
9
 * Problems::        How and where to report any problems you run into.
10
 * Contributors::    People who have helped developing XBoard.
11
@@ -3805,6 +3806,14 @@
12
 but see the SOCKS Web site at http://www.socks.permeo.com/.
13
 If you are missing SOCKS, try http://www.funbureau.com/.
14
 
15
+@node Zippy
16
+@chapter Zippy
17
+@cindex Zippy
18
+@cindex ICS
19
+@cindex ICS computer player
20
+Be a computer player on an Internet Chess Server (ICS).
21
+See file @code{%%DOCSDIR%%/zippy.README} for description.
22
+
23
 @node Environment
24
 @chapter Environment variables
25
 @cindex Environment variables

Return to bug 192669