2005-06-16 08:57:37 +02:00
|
|
|
# $NetBSD: Makefile,v 1.10 2005/06/16 06:57:54 jlam Exp $
|
2000-10-15 10:39:18 +02:00
|
|
|
|
2000-10-22 01:15:24 +02:00
|
|
|
DISTNAME= new_brain
|
|
|
|
PKGNAME= knightcap-brain-19980616
|
2000-10-15 10:39:18 +02:00
|
|
|
CATEGORIES= games
|
|
|
|
MASTER_SITES= ftp://samba.anu.edu.au/pub/KnightCap/
|
2000-10-22 01:15:24 +02:00
|
|
|
EXTRACT_SUFX= .dat
|
2000-10-15 10:39:18 +02:00
|
|
|
|
2004-04-25 00:46:08 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2000-10-15 10:39:18 +02:00
|
|
|
HOMEPAGE= http://anu.samba.org/KnightCap/
|
2003-07-21 18:45:54 +02:00
|
|
|
COMMENT= Book of losing moves for KnightCap
|
2000-10-15 10:39:18 +02:00
|
|
|
|
|
|
|
ONLY_FOR_PLATFORMS= *-*-i386
|
|
|
|
|
2004-01-20 13:07:06 +01:00
|
|
|
WRKSRC= ${WRKDIR}
|
2000-10-15 10:39:18 +02:00
|
|
|
DIST_SUBDIR= ${PKGNAME}
|
|
|
|
|
|
|
|
EXTRACT_ONLY= # empty
|
|
|
|
NO_CONFIGURE= # defined
|
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/knightcap
|
2005-06-16 08:57:37 +02:00
|
|
|
INSTALLATION_DIRS= bin
|
2000-10-15 10:39:18 +02:00
|
|
|
|
|
|
|
do-build:
|
|
|
|
${SED} -e "s,@PREFIX@,${PREFIX},g" < ${FILESDIR}/newbrain.sh \
|
|
|
|
> ${WRKSRC}/newbrain.sh
|
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_SCRIPT} ${WRKSRC}/newbrain.sh ${PREFIX}/bin/newbrain
|
|
|
|
${INSTALL_DATA_DIR} ${EGDIR}
|
|
|
|
${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/new_brain.dat \
|
|
|
|
${EGDIR}/brain.dat
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|