2019-12-28 14:26:44 +01:00
|
|
|
# $NetBSD: Makefile,v 1.23 2019/12/28 13:26:44 wiz Exp $
|
2000-10-15 03:57:43 +02:00
|
|
|
|
|
|
|
DISTNAME= medium
|
2017-09-21 13:20:04 +02:00
|
|
|
PKGNAME= gnuchess-book-${DISTNAME}-20000511
|
|
|
|
PKGREVISION= 4
|
2000-10-15 03:57:43 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ftp://ftp.cis.uab.edu/pub/hyatt/common/${DISTNAME}/
|
|
|
|
EXTRACT_SUFX= .zip
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2003-07-21 18:45:54 +02:00
|
|
|
COMMENT= Chess opening book for GNU Chess (medium)
|
2017-09-21 13:20:04 +02:00
|
|
|
LICENSE= public-domain
|
2000-10-15 03:57:43 +02:00
|
|
|
|
2019-12-28 14:26:44 +01:00
|
|
|
BROKEN= "pgn_next_game(): malformed tag at line 32140, column 7"
|
2019-12-28 13:37:28 +01:00
|
|
|
|
2017-09-21 13:20:04 +02:00
|
|
|
DEPENDS+= gnuchess>=6:../../games/gnuchess
|
2000-10-15 03:57:43 +02:00
|
|
|
|
2017-09-21 13:20:04 +02:00
|
|
|
CONFLICTS= gnuchess-book-[0-9]*
|
2000-10-22 00:36:33 +02:00
|
|
|
|
2004-01-20 13:07:06 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
2000-10-15 03:57:43 +02:00
|
|
|
DIST_SUBDIR= chessbooks
|
2005-09-28 22:52:18 +02:00
|
|
|
NO_CONFIGURE= yes
|
2000-10-15 03:57:43 +02:00
|
|
|
|
2017-09-21 13:20:04 +02:00
|
|
|
BOOKDIR= ${PREFIX}/lib/gnuchess
|
2000-10-15 03:57:43 +02:00
|
|
|
|
2017-09-21 13:20:04 +02:00
|
|
|
INSTALLATION_DIRS+= ${BOOKDIR}
|
2000-10-15 03:57:43 +02:00
|
|
|
|
|
|
|
do-build:
|
2017-09-21 13:20:04 +02:00
|
|
|
cd ${WRKSRC} && ${PREFIX}/bin/gnuchess -a book.txt </dev/null
|
2000-10-15 03:57:43 +02:00
|
|
|
|
|
|
|
do-install:
|
2017-09-21 13:20:04 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/book.dat ${DESTDIR}${BOOKDIR}
|
2000-10-15 03:57:43 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|