Date: Sat, 23 Apr 2011 03:31:37 GMT From: Kalten <kalten@gmx.at> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/156592: games/xboard: add knobs for chess engines Message-ID: <201104230331.p3N3Vbno073617@red.freebsd.org> Resent-Message-ID: <201104230340.p3N3e7L2057059@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 156592 >Category: ports >Synopsis: games/xboard: add knobs for chess engines >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: Sat Apr 23 03:40:07 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@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 >Description: I want to suggest to add knobs to games/xboard for some chess engines (see patch). At some (e.g. KnightCap) one does not even find out that they could be used, when searching in the ports with `make search key=xboard'. By sure it would be convenient. >How-To-Repeat: >Fix: Patch attached with submission follows: --- Makefile.orig 2011-04-09 00:54:47.000000000 +0200 +++ Makefile 2011-04-23 02:08:57.000000000 +0200 @@ -14,7 +14,12 @@ MAINTAINER= johans@FreeBSD.org COMMENT= X frontend for Crafty, GNUChess, Chess Servers, or e-mail chess -OPTIONS= XAW3D "Use Xaw3d widgets (instead of Xaw)" On +OPTIONS= XAW3D "Use Xaw3d widgets (instead of Xaw)" On \ + CRAFTY "Install crafty engine" Off \ + FAIRYMAX "Install fairymax engine" Off \ + GNUCHESS "Install GnuChess engine" Off \ + KNIGHTCAP "Install KnightCap engine" Off \ + PHALANX "Install phalanx engine" Off USE_XORG= xt xpm xaw GNU_CONFIGURE= yes @@ -32,6 +37,26 @@ LIB_DEPENDS+= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d .endif +.if defined(WITH_CRAFTY) +RUN_DEPENDS+= crafty:${PORTSDIR}/games/crafty +.endif + +.if defined(WITH_FAIRYMAX) +RUN_DEPENDS+= fairymax:${PORTSDIR}/games/fairymax +.endif + +.if defined(WITH_GNUCHESS) +RUN_DEPENDS+= gnuchess:${PORTSDIR}/games/gnuchess +.endif + +.if defined(WITH_KNIGHTCAP) +RUN_DEPENDS+= KnightCap:${PORTSDIR}/games/KnightCap +.endif + +.if defined(WITH_PHALANX) +RUN_DEPENDS+= phalanx:${PORTSDIR}/games/phalanx +.endif + .include <bsd.port.pre.mk> .if ${ARCH} == "sparc64" >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201104230331.p3N3Vbno073617>