pkgsrc/games/gnuchess-book-chess/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

35 lines
865 B
Makefile

# $NetBSD: Makefile,v 1.4 2001/09/27 23:18:06 jlam Exp $
# FreeBSD Id: Makefile,v 1.6 1999/01/27 07:41:12 fenner Exp
#
DISTNAME= chess-5.00
PKGNAME= ${CHESS_ENGINE}-book-${DISTNAME}
WRKSRC= ${WRKDIR}/${DISTNAME}/book
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GNU:=chess/}
MAINTAINER= jlam@netbsd.org
COMMENT= chess opening book for GNU Chess (default)
DEPENDS+= gnuchess>=5.00nb1:../../games/gnuchess
CONFLICTS+= gnuchess-book-[0-9]*
CHESS_ENGINE= gnuchess
NO_CONFIGURE= # defined
PLIST_SUBST+= CHESS_ENGINE=${CHESS_ENGINE}
PLIST_SUBST+= BOOK_FILE=${BOOK_FILE}
BOOKDIR= ${PREFIX}/lib/${CHESS_ENGINE}
PGN_FILE= book.pgn
BOOK_FILE= book.dat
do-build:
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"