2001-11-29 02:12:24 +01:00
|
|
|
# $NetBSD: Makefile,v 1.4 2001/11/29 01:12:33 hubertf Exp $
|
2000-10-15 10:38:22 +02:00
|
|
|
|
|
|
|
DISTNAME= KnightCap-3.6
|
2001-11-29 02:12:24 +01:00
|
|
|
PKGNAME= knightcap-3.6
|
|
|
|
PKGREVISION= 1
|
2000-10-15 10:38:22 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ftp://samba.anu.edu.au/pub/KnightCap/
|
|
|
|
|
|
|
|
MAINTAINER= jlam@netbsd.org
|
|
|
|
HOMEPAGE= http://anu.samba.org/KnightCap/
|
2001-02-16 16:10:41 +01:00
|
|
|
COMMENT= chess engine with 3D OpenGL-rendered chessboard
|
2000-10-15 10:38:22 +02:00
|
|
|
|
2001-09-28 01:17:41 +02:00
|
|
|
DEPENDS+= Mesa-[0-9]*:../../graphics/Mesa
|
2000-10-15 10:38:22 +02:00
|
|
|
|
|
|
|
USE_X11= # defined
|
|
|
|
NO_CONFIGURE= # defined
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/Export
|
|
|
|
ALL_TARGET= KnightCap
|
|
|
|
|
|
|
|
EVAL_PREFIX+= MESADIR=Mesa
|
|
|
|
MAKE_ENV+= MESA=${MESADIR}
|
|
|
|
MAKE_ENV+= DEFINES="${DEFINES}"
|
|
|
|
|
|
|
|
DEFINES= -DTB_DIR=\\\"${TBDIR}\\\"
|
|
|
|
|
|
|
|
TBDIR= ${PREFIX}/share/egtb
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/knightcap
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/KnightCap ${PREFIX}/bin
|
|
|
|
${INSTALL_DATA_DIR} ${DOCDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DOCDIR}
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|