pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/gnuchess-book-small Make this package build with...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8cb0869d8bc9
branches: trunk
changeset: 470326:8cb0869d8bc9
user: minskim <minskim%pkgsrc.org@localhost>
date: Mon Mar 08 06:09:40 2004 +0000
description:
Make this package build with gnuchess-5.07. Due to the data format
incompatibility, this package installs an empty opening book. Since
the distfile is not available any more and gnuchess-book-medium is
small enough on today's machines, this package should probably be
removed.
Bump PKGREVISION.
diffstat:
games/gnuchess-book-small/Makefile | 15 +++++++--------
1 files changed, 7 insertions(+), 8 deletions(-)
diffs (40 lines):
diff -r 593c93924267 -r 8cb0869d8bc9 games/gnuchess-book-small/Makefile
--- a/games/gnuchess-book-small/Makefile Mon Mar 08 06:05:31 2004 +0000
+++ b/games/gnuchess-book-small/Makefile Mon Mar 08 06:09:40 2004 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.10 2004/01/20 12:15:40 agc Exp $
+# $NetBSD: Makefile,v 1.11 2004/03/08 06:09:40 minskim Exp $
DISTNAME= small
PKGNAME= ${CHESS_ENGINE}-book-${DISTNAME}-20000511
+PKGREVISION= 1
CATEGORIES= games
MASTER_SITES= ftp://ftp.cis.uab.edu/pub/hyatt/common/${DISTNAME}/
EXTRACT_SUFX= .zip
@@ -9,9 +10,9 @@
MAINTAINER= jlam%NetBSD.org@localhost
COMMENT= Chess opening book for GNU Chess (small)
-DEPENDS+= gnuchess>=5.00nb1:../../games/gnuchess
+DEPENDS+= gnuchess>=5.07:../../games/gnuchess
-CONFLICTS= ${CHESS_ENGINE}-book-[0-9]*
+CONFLICTS= ${CHESS_ENGINE}-book-*
WRKSRC= ${WRKDIR}
CHESS_ENGINE= gnuchess
@@ -26,11 +27,9 @@
BOOK_FILE= book.dat
do-build:
- @${ECHO} ""
- @${ECHO} " ** Get yourself a shower and a big mug of coffee,"
- @${ECHO} " ** this will take _very_ long!"
- @${ECHO} ""
- cd ${WRKSRC} && gnuchess compile ${PGN_FILE} ${BOOK_FILE}
+ @${ECHO} "book add ${PGN_FILE}" > ${WRKSRC}/makebook.gnuchess
+ @${ECHO} "quit" >> ${WRKSRC}/makebook.gnuchess
+ @cd ${WRKSRC} && ${CAT} makebook.gnuchess | ${PREFIX}/bin/gnuchess
do-install:
${INSTALL_DATA_DIR} ${BOOKDIR}
Home |
Main Index |
Thread Index |
Old Index