summaryrefslogtreecommitdiff
path: root/games/crafty-open-small/Makefile
diff options
context:
space:
mode:
authorMatthew Hunt <mph@FreeBSD.org>1998-06-04 02:32:01 +0000
committerMatthew Hunt <mph@FreeBSD.org>1998-06-04 02:32:01 +0000
commit59b167b80ac3234bde653ad2c2b54257563e1c37 (patch)
tree3a087648f0b01e4d801a4b2590afe85a4b80b9c7 /games/crafty-open-small/Makefile
parentInstall xemacs.sh into ${PREFIX}/etc/rc.d to create /var/run/xemacs (diff)
Import of crafty-open-small, the small opening book for the Crafty
chess program. PR: 6817 Submitted by: Stefan Eggers <seggers@semyam.dinoco.de>
Notes
Notes: svn path=/head/; revision=11231
Diffstat (limited to 'games/crafty-open-small/Makefile')
-rw-r--r--games/crafty-open-small/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/games/crafty-open-small/Makefile b/games/crafty-open-small/Makefile
new file mode 100644
index 000000000000..8fa24333670d
--- /dev/null
+++ b/games/crafty-open-small/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: crafty-open-small
+# Version required: 1 March 1997
+# Date created: 1 June 1998
+# Whom: Stefan Eggers <seggers@semyam.dinoco.de>
+#
+# $Id$
+#
+
+DISTNAME= small
+PKGNAME= crafty-open-small-19970301
+CATEGORIES= games
+MASTER_SITES= ftp://ftp.cis.uab.edu/pub/hyatt/common/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= seggers@semyam.dinoco.de
+
+BUILD_DEPENDS= unzip:${PORTSDIR}/archivers/unzip \
+ crafty:${PORTSDIR}/games/crafty
+RUN_DEPENDS= crafty:${PORTSDIR}/games/crafty
+
+DIST_SUBDIR= crafty
+EXTRACT_AFTER_ARGS=
+EXTRACT_BEFORE_ARGS=
+EXTRACT_CMD= unzip
+NO_WRKSUBDIR= yes
+
+do-build:
+ @${ECHO_MSG} '================================================================'
+ @${ECHO_MSG} 'Ignore warnings about illegal moves. These warnings are normal.'
+ @${ECHO_MSG} '================================================================'
+ (cd ${WRKDIR}; crafty <${FILESDIR}/book-building)
+
+do-install:
+ ${MKDIR} ${PREFIX}/lib/crafty
+ ${INSTALL_DATA} ${WRKDIR}/book.bin ${PREFIX}/lib/crafty/small-book.bin
+
+.include <bsd.port.mk>