pkgsrc/games/gnuchess-book-medium/Makefile
2019-12-28 13:26:44 +00:00

34 lines
811 B
Makefile

# $NetBSD: Makefile,v 1.23 2019/12/28 13:26:44 wiz Exp $
DISTNAME= medium
PKGNAME= gnuchess-book-${DISTNAME}-20000511
PKGREVISION= 4
CATEGORIES= games
MASTER_SITES= ftp://ftp.cis.uab.edu/pub/hyatt/common/${DISTNAME}/
EXTRACT_SUFX= .zip
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Chess opening book for GNU Chess (medium)
LICENSE= public-domain
BROKEN= "pgn_next_game(): malformed tag at line 32140, column 7"
DEPENDS+= gnuchess>=6:../../games/gnuchess
CONFLICTS= gnuchess-book-[0-9]*
WRKSRC= ${WRKDIR}
DIST_SUBDIR= chessbooks
NO_CONFIGURE= yes
BOOKDIR= ${PREFIX}/lib/gnuchess
INSTALLATION_DIRS+= ${BOOKDIR}
do-build:
cd ${WRKSRC} && ${PREFIX}/bin/gnuchess -a book.txt </dev/null
do-install:
${INSTALL_DATA} ${WRKSRC}/book.dat ${DESTDIR}${BOOKDIR}
.include "../../mk/bsd.pkg.mk"