diff options
Diffstat (limited to 'games/gnuchess')
-rw-r--r-- | games/gnuchess/Makefile | 18 | ||||
-rw-r--r-- | games/gnuchess/distinfo | 6 | ||||
-rw-r--r-- | games/gnuchess/files/gnuchessx.sh | 4 | ||||
-rw-r--r-- | games/gnuchess/patches/patch-ad | 14 |
4 files changed, 26 insertions, 16 deletions
diff --git a/games/gnuchess/Makefile b/games/gnuchess/Makefile index 2b9f2f2c7f5..1277c51351d 100644 --- a/games/gnuchess/Makefile +++ b/games/gnuchess/Makefile @@ -1,27 +1,31 @@ -# $NetBSD: Makefile,v 1.11 2001/02/16 15:10:51 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2001/11/11 07:54:55 jlam Exp $ # FreeBSD Id: Makefile,v 1.6 1999/01/27 07:41:12 fenner Exp # DISTNAME= chess-5.00 -PKGNAME= gnuchess-5.00nb1 -WRKSRC= ${WRKDIR}/${DISTNAME}/src +PKGNAME= gnuchess-5.00nb2 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_GNU:=chess/} +PATCHFILES= gnu500+.patch +PATCH_SITES= http://www.tim-mann.org/xboard/ +PATCH_DIST_ARGS= -d ${WRKDIR}/${DISTNAME} --quiet -E ${PATCH_STRIP} + MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.gnu.org/software/chess/chess.html COMMENT= GNU chess engine -GNU_CONFIGURE= yes -USE_GMAKE= yes +GNU_CONFIGURE= YES +USE_GMAKE= YES ALL_TARGET= gnuchess +WRKSRC= ${WRKDIR}/${DISTNAME}/src BOOKDIR= ${PREFIX}/lib/gnuchess DOCDIR= ${PREFIX}/share/doc/gnuchess post-build: - ${SED} -e "s,@PREFIX@,${PREFIX},g" ${FILESDIR}/gnuchessx.sh \ - > ${WRKDIR}/gnuchessx.sh + ${SED} -e "s|@PREFIX@|${PREFIX}|g" \ + ${FILESDIR}/gnuchessx.sh > ${WRKDIR}/gnuchessx.sh do-install: ${INSTALL_PROGRAM} ${WRKSRC}/gnuchess ${PREFIX}/bin/gnuchess diff --git a/games/gnuchess/distinfo b/games/gnuchess/distinfo index bcb65020565..6a635764b77 100644 --- a/games/gnuchess/distinfo +++ b/games/gnuchess/distinfo @@ -1,11 +1,13 @@ -$NetBSD: distinfo,v 1.2 2001/04/21 02:08:26 wiz Exp $ +$NetBSD: distinfo,v 1.3 2001/11/11 07:54:55 jlam Exp $ SHA1 (chess-5.00.tar.gz) = 86b364d60aab4a2ec5932fb800ef4857251a84cd Size (chess-5.00.tar.gz) = 157211 bytes +SHA1 (gnu500+.patch) = 3ca10daf2beff6f0c03dd9f6c66bea52b8aca6cd +Size (gnu500+.patch) = 9293 bytes SHA1 (patch-aa) = 186f8b8eeed1457f4ea50e353d09f1bd039795e8 SHA1 (patch-ab) = 093285e9955f23f6ab324cae3e768779a28010ff SHA1 (patch-ac) = f027b84d724ce0380784f2a6a67b1998fd119eee -SHA1 (patch-ad) = 15187825fbbef7eceebcf9a22b090edf97f41764 +SHA1 (patch-ad) = 186f7ff808f105cc58f4ea32853dd7bc31faedef SHA1 (patch-ae) = 8e423476cc661952c5252ceb7fb721beef620db9 SHA1 (patch-af) = 55c51f597607726895635024f5646009f8364a1c SHA1 (patch-ag) = f78fe990d448ed8c5b5bcd29c038b86ec0b4bc40 diff --git a/games/gnuchess/files/gnuchessx.sh b/games/gnuchess/files/gnuchessx.sh index ec583a4f79f..fdd9e569ba9 100644 --- a/games/gnuchess/files/gnuchessx.sh +++ b/games/gnuchess/files/gnuchessx.sh @@ -1,7 +1,7 @@ #!/bin/sh # -# $NetBSD: gnuchessx.sh,v 1.1 2000/03/26 08:29:25 jlam Exp $ +# $NetBSD: gnuchessx.sh,v 1.2 2001/11/11 07:54:55 jlam Exp $ # # Wrapper script for gnuchess to interface with xboard. -exec @PREFIX@/bin/gnuchess xboard +exec @PREFIX@/bin/gnuchess xboard $* diff --git a/games/gnuchess/patches/patch-ad b/games/gnuchess/patches/patch-ad index b5d1bb79b8a..58397cea6f3 100644 --- a/games/gnuchess/patches/patch-ad +++ b/games/gnuchess/patches/patch-ad @@ -1,17 +1,21 @@ -$NetBSD: patch-ad,v 1.5 2000/12/27 00:24:43 dmcmahill Exp $ +$NetBSD: patch-ad,v 1.6 2001/11/11 07:54:56 jlam Exp $ ---- cmd.c.orig Sat Oct 23 06:07:32 1999 -+++ cmd.c Tue Dec 26 17:16:44 2000 -@@ -27,4 +27,5 @@ +--- cmd.c.orig Sun Nov 11 02:44:56 2001 ++++ cmd.c +@@ -26,6 +26,7 @@ + #include <stdio.h> #include <stdlib.h> +#include <string.h> #include <signal.h> #include <unistd.h> -@@ -155,5 +156,5 @@ + #include "version.h" +@@ -160,7 +161,7 @@ + printf("inputstr = %s\n",inputstr); if (strncmp (inputstr, "compile", 7) == 0) { printf("calling genbook.\n"); - genbook (); + genbook (booksrc, bookbin); } else if (strcmp (inputstr, "on") == 0) { bookmode = BOOKBEST; + printf("book now on.\n"); |