pkgsrc/games/gnuchess-book-small/Makefile
jlam f79573370a Mechanical changes to 375 files to change dependency patterns of the form
foo-* to foo-[0-9]*.  This is to cause the dependencies to match only the
packages whose base package name is "foo", and not those named "foo-bar".
A concrete example is p5-Net-* matching p5-Net-DNS as well as p5-Net.  Also
change dependency examples in Packages.txt to reflect this.
2001-09-27 23:17:41 +00:00

39 lines
1,006 B
Makefile

# $NetBSD: Makefile,v 1.6 2001/09/27 23:18:07 jlam Exp $
DISTNAME= small
PKGNAME= ${CHESS_ENGINE}-book-${DISTNAME}-20000511
CATEGORIES= games
MASTER_SITES= ftp://ftp.cis.uab.edu/pub/hyatt/common/${DISTNAME}/
EXTRACT_SUFX= .zip
MAINTAINER= jlam@netbsd.org
COMMENT= chess opening book for GNU Chess (small)
DEPENDS+= gnuchess>=5.00nb1:../../games/gnuchess
CONFLICTS= ${CHESS_ENGINE}-book-[0-9]*
CHESS_ENGINE= gnuchess
DIST_SUBDIR= chessbooks
WRKSRC= ${WRKDIR}
NO_CONFIGURE= # defined
PLIST_SUBST+= CHESS_ENGINE=${CHESS_ENGINE}
PLIST_SUBST+= BOOK_FILE=${BOOK_FILE}
BOOKDIR= ${PREFIX}/lib/${CHESS_ENGINE}
PGN_FILE= ${DISTNAME}.txt
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}
do-install:
${INSTALL_DATA_DIR} ${BOOKDIR}
${INSTALL_DATA} ${WRKSRC}/${BOOK_FILE} ${BOOKDIR}
.include "../../mk/bsd.pkg.mk"