summaryrefslogtreecommitdiff
path: root/games/knightcap-brain/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2000-10-15 08:39:18 +0000
committerjlam <jlam>2000-10-15 08:39:18 +0000
commit1fb5c82ba6b0e2ea6074a858b4e90d5132f9ac3c (patch)
tree77e2c1ad01e0bc715d2684641e95faf5e1de6309 /games/knightcap-brain/Makefile
parent81372f87d97b1ef71b7910f0bce4befd34ba6f84 (diff)
downloadpkgsrc-1fb5c82ba6b0e2ea6074a858b4e90d5132f9ac3c.tar.gz
knightcap-brain: book of losing moves for KnightCap
Diffstat (limited to 'games/knightcap-brain/Makefile')
-rw-r--r--games/knightcap-brain/Makefile31
1 files changed, 31 insertions, 0 deletions
diff --git a/games/knightcap-brain/Makefile b/games/knightcap-brain/Makefile
new file mode 100644
index 00000000000..769107a2504
--- /dev/null
+++ b/games/knightcap-brain/Makefile
@@ -0,0 +1,31 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/10/15 08:39:18 jlam Exp $
+
+DISTNAME= knightcap-brain-19980616
+CATEGORIES= games
+MASTER_SITES= ftp://samba.anu.edu.au/pub/KnightCap/
+DISTFILES= new_brain.dat
+
+MAINTAINER= jlam@netbsd.org
+HOMEPAGE= http://anu.samba.org/KnightCap/
+
+ONLY_FOR_PLATFORMS= *-*-i386
+
+DIST_SUBDIR= ${PKGNAME}
+
+EXTRACT_ONLY= # empty
+NO_WRKSUBDIR= # defined
+NO_CONFIGURE= # defined
+
+EGDIR= ${PREFIX}/share/examples/knightcap
+
+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"