summaryrefslogtreecommitdiff
path: root/games/crafty-open-rock/Makefile
diff options
context:
space:
mode:
authorMatthew Hunt <mph@FreeBSD.org>1998-12-29 18:49:29 +0000
committerMatthew Hunt <mph@FreeBSD.org>1998-12-29 18:49:29 +0000
commitd88e9796228052e2e84be33ec95a6910ca6e592a (patch)
treee2810ff741f51134a8a28d43cac8e568e8ba4b4b /games/crafty-open-rock/Makefile
parentUpdate MAINTAINER to reflect my proper e-mail address. (diff)
Import of the "rock" opening book for the Crafty chess program.
This book is huge; it is considerably larger than crafty-open-large.
Notes
Notes: svn path=/head/; revision=15702
Diffstat (limited to 'games/crafty-open-rock/Makefile')
-rw-r--r--games/crafty-open-rock/Makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/games/crafty-open-rock/Makefile b/games/crafty-open-rock/Makefile
new file mode 100644
index 000000000000..10d37b0d1694
--- /dev/null
+++ b/games/crafty-open-rock/Makefile
@@ -0,0 +1,35 @@
+# New ports collection makefile for: crafty-open-rock
+# Version required: 7 July 1998
+# Date created: 28 December 1998
+# Whom: Matthew Hunt <mph@FreeBSD.org>
+# Based on ports by: Stefan Eggers <seggers@semyam.dinoco.de>
+#
+# $Id: Makefile,v 1.1.1.1 1998/06/04 02:37:37 mph Exp $
+#
+
+DISTNAME= crafty-open-rock-19980707
+CATEGORIES= games
+MASTER_SITES= ftp://ftp.cis.uab.edu/pub/hyatt/common/
+DISTFILES= rock.01 rock.02 rock.03 rock.04 rock.05 rock.06 rock.07 \
+ rock.08 rock.09 rock.10
+
+MAINTAINER= mph@FreeBSD.org
+
+BUILD_DEPENDS= crafty:${PORTSDIR}/games/crafty
+RUN_DEPENDS= crafty:${PORTSDIR}/games/crafty
+
+DIST_SUBDIR= crafty
+NO_WRKSUBDIR= yes
+EXTRACT_ONLY=
+
+do-build:
+ @${ECHO_MSG} '================================================================'
+ @${ECHO_MSG} 'Ignore warnings about illegal moves. These warnings are normal.'
+ @${ECHO_MSG} '================================================================'
+ (cd ${DISTDIR}/${DIST_SUBDIR} && ${CAT} ${DISTFILES} | ${GUNZIP_CMD}) | (cd ${WRKDIR}; crafty 3<&0 < ${FILESDIR}/book-building)
+
+do-install:
+ ${MKDIR} ${PREFIX}/lib/crafty
+ ${INSTALL_DATA} ${WRKDIR}/book.bin ${PREFIX}/lib/crafty/rock-book.bin
+
+.include <bsd.port.mk>