b71a1d488b
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
34 lines
821 B
Makefile
34 lines
821 B
Makefile
# $NetBSD: Makefile,v 1.11 2005/12/05 20:50:15 rillig Exp $
|
|
|
|
DISTNAME= book_large
|
|
PKGNAME= ${CHESS_ENGINE}-book-large-20000512
|
|
CATEGORIES= games
|
|
MASTER_SITES= http://www.ast.cam.ac.uk/~cmf/chess/
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
|
COMMENT= Chess opening book for ColChess (large)
|
|
|
|
DEPENDS+= colchess>=7.0:../../games/colchess
|
|
|
|
CONFLICTS= ${CHESS_ENGINE}-book-[0-9]*
|
|
|
|
WRKSRC= ${WRKDIR}
|
|
CHESS_ENGINE= colchess
|
|
DIST_SUBDIR= chessbooks
|
|
NO_CONFIGURE= yes
|
|
|
|
PLIST_SUBST+= CHESS_ENGINE=${CHESS_ENGINE:Q}
|
|
PLIST_SUBST+= BOOK_FILE=${BOOK_FILE:Q}
|
|
|
|
BOOKDIR= ${PREFIX}/share/${CHESS_ENGINE}
|
|
BOOK_FILE= book.dat
|
|
|
|
do-build:
|
|
cd ${WRKSRC}; ${LN} ${DISTNAME}.dat ${BOOK_FILE}
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${BOOKDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/${BOOK_FILE} ${BOOKDIR}
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|