aboutsummaryrefslogtreecommitdiff
path: root/games/xboard/Makefile
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2011-04-23 15:47:51 +0000
committerJohan van Selst <johans@FreeBSD.org>2011-04-23 15:47:51 +0000
commit58f0a013d1df2a55eb53b227d1f7e8dd3931f117 (patch)
treefc83d0d9d4ea005bc9d3f7e9e2218034598263df /games/xboard/Makefile
parent0ed493422e450cd3aea1a20d98dbe19f1a746a88 (diff)
downloadports-58f0a013d1df2a55eb53b227d1f7e8dd3931f117.tar.gz
ports-58f0a013d1df2a55eb53b227d1f7e8dd3931f117.zip
Notes
Diffstat (limited to 'games/xboard/Makefile')
-rw-r--r--games/xboard/Makefile27
1 files changed, 26 insertions, 1 deletions
diff --git a/games/xboard/Makefile b/games/xboard/Makefile
index e22095cdcf6e..1c404a43dead 100644
--- a/games/xboard/Makefile
+++ b/games/xboard/Makefile
@@ -14,7 +14,12 @@ MASTER_SITE_SUBDIR= xboard
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 @@ CONFIGURE_ARGS+= "--with-Xaw3d"
LIB_DEPENDS+= Xaw3d.${XAWVER}:${PORTSDIR}/x11-toolkits/Xaw3d
.endif
+.ifdef WITH_CRAFTY
+RUN_DEPENDS+= crafty:${PORTSDIR}/games/crafty
+.endif
+
+.ifdef WITH_FAIRYMAX
+RUN_DEPENDS+= fairymax:${PORTSDIR}/games/fairymax
+.endif
+
+.ifdef WITH_GNUCHESS
+RUN_DEPENDS+= gnuchess:${PORTSDIR}/games/gnuchess
+.endif
+
+.ifdef WITH_KNIGHTCAP
+RUN_DEPENDS+= KnightCap:${PORTSDIR}/games/KnightCap
+.endif
+
+.ifdef WITH_PHALANX
+RUN_DEPENDS+= phalanx:${PORTSDIR}/games/phalanx
+.endif
+
.include <bsd.port.pre.mk>
.if ${ARCH} == "sparc64"