2018-01-14 16:26:46 +01:00
|
|
|
# $NetBSD: Makefile,v 1.18 2018/01/14 15:26:46 rillig Exp $
|
2000-10-24 22:08:13 +02:00
|
|
|
|
|
|
|
DISTNAME= colchess
|
|
|
|
PKGNAME= ${DISTNAME}-7.0
|
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= http://www.ast.cam.ac.uk/~cmf/chess/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2017-08-01 19:40:08 +02:00
|
|
|
#HOMEPAGE= http://www.ast.cam.ac.uk/~cmf/chess/colchess/
|
2003-07-21 18:45:54 +02:00
|
|
|
COMMENT= Chess analysis engine
|
2000-10-24 22:08:13 +02:00
|
|
|
|
2005-11-10 07:32:38 +01:00
|
|
|
DIST_SUBDIR= ${PKGNAME_NOREV}
|
2018-01-14 16:26:46 +01:00
|
|
|
MAKE_ENV+= PREFIX=${PREFIX}
|
2005-09-28 22:52:18 +02:00
|
|
|
NO_CONFIGURE= yes
|
2004-05-02 22:17:05 +02:00
|
|
|
WRKSRC= ${WRKDIR}/ColChess
|
2000-10-24 22:08:13 +02:00
|
|
|
|
|
|
|
DATADIR= ${PREFIX}/share/colchess
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/colchess
|
2005-06-16 08:57:37 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
2000-10-24 22:08:13 +02:00
|
|
|
|
|
|
|
do-install:
|
2008-03-04 07:59:03 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/colchess ${DESTDIR}${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/chessdat.dat ${DESTDIR}${DATADIR}
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${DATADIR}/tests
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tests/*.epd ${DESTDIR}${DATADIR}/tests
|
|
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${DOCDIR}
|
2000-10-24 22:08:13 +02:00
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|