pkgsrc/games/colchess/Makefile

30 lines
813 B
Makefile
Raw Normal View History

2000-10-24 22:08:13 +02:00
# $NetBSD: Makefile,v 1.1.1.1 2000/10/24 20:08:13 jlam Exp $
DISTNAME= colchess
PKGNAME= ${DISTNAME}-7.0
WRKSRC= ${WRKDIR}/ColChess
CATEGORIES= games
MASTER_SITES= http://www.ast.cam.ac.uk/~cmf/chess/
EXTRACT_SUFX= .tgz
MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://www.ast.cam.ac.uk/~cmf/chess/
DIST_SUBDIR= ${PKGNAME}
NO_CONFIGURE= # defined
MAKE_ENV+= PREFIX="${PREFIX}"
DATADIR= ${PREFIX}/share/colchess
DOCDIR= ${PREFIX}/share/doc/colchess
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/colchess ${PREFIX}/bin
${INSTALL_DATA_DIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/chessdat.dat ${DATADIR}
${INSTALL_DATA_DIR} ${DATADIR}/tests
${INSTALL_DATA} ${WRKSRC}/tests/*.epd ${DATADIR}/tests
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
.include "../../mk/bsd.pkg.mk"