aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2007-09-10 09:12:45 +0800
committeredwin <edwin@FreeBSD.org>2007-09-10 09:12:45 +0800
commite42f091536f3f7cf336aee499769cdd044f5c0c1 (patch)
tree7758a4dbe52103aafe6ec152e07a8ed46c39b136 /games
parentcc60215323507ae5501fb231c3f0ed9c961309b8 (diff)
downloadfreebsd-ports-e42f091536f3f7cf336aee499769cdd044f5c0c1.tar.gz
freebsd-ports-e42f091536f3f7cf336aee499769cdd044f5c0c1.tar.zst
freebsd-ports-e42f091536f3f7cf336aee499769cdd044f5c0c1.zip
update games/crafty (Also solves pr ports/116163)
Crafty is an open source chess engine. The former version is very old, not to mention broken when compiling enormous opening books (see pr ports/116163) This updates to the newest version, and solves the problem as well. Sorry about the prior pr with this topic - the makefile had a couple typos. This seems to be an abandoned port. If the maintainer is no longer interested, I will volunteer to take over this port. The maintainers email address bounced, so Jonathan is now the happy maintainer of this port. PR: ports/116241 Submitted by: shoemaker@bluebottle.com (Jonathan Shoemaker)
Diffstat (limited to 'games')
-rw-r--r--games/crafty/pkg-message7
-rw-r--r--games/crafty/scripts/configure16
2 files changed, 23 insertions, 0 deletions
diff --git a/games/crafty/pkg-message b/games/crafty/pkg-message
new file mode 100644
index 000000000000..fe5415dcfeb0
--- /dev/null
+++ b/games/crafty/pkg-message
@@ -0,0 +1,7 @@
+
+This package is set to allow per-user config files, and a shared
+books directory. To accomplish this, crafty is setuid nobody, and
+the books and learning information is owned by the user 'nobody.'
+
+The location values are tunable, see message when make is issued.
+
diff --git a/games/crafty/scripts/configure b/games/crafty/scripts/configure
new file mode 100644
index 000000000000..56677e49d8d7
--- /dev/null
+++ b/games/crafty/scripts/configure
@@ -0,0 +1,16 @@
+ echo ""
+ echo ""
+ echo "This port has the following tunables:"
+ echo "WITH_BOOKDIR (default: ${PREFIX}/lib/crafty"
+ echo "WITH_LOGDIR (default: /tmp)"
+ echo "WITH_RCDIR (default: ~/)"
+ echo "WITH_TBDIR (default: ${PREFIX}/lib/crafty/TB)"
+ echo ""
+ echo "To alter any of these, press CTRL-C now, and "
+ echo "simply set your desired variable with one or more of:"
+ echo ""
+ echo "<setenv WITH_BOOKDIR|LOGDIR|RCDIR|TBDIR path> (csh) or"
+ echo "<export WITH_BOOKDIR|LOGDIR|RCDIR|TBDIR=path> (sh)"
+ echo ""
+ echo "Changing BOOKDIR or TBDIR is not recommended, as other"
+ echo "ports depend on these being in a standard location"