diff options
author | jlam <jlam@pkgsrc.org> | 2001-11-11 07:54:55 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-11-11 07:54:55 +0000 |
commit | 29c533f2d957b2c034b8be1eeb4fdbd608a00025 (patch) | |
tree | c2c062b17f60a02ef4feb8595f2032ad59955c85 /games/gnuchess/Makefile | |
parent | 09c1f15d9d3cd53091dbd3c8d646927692c4fada (diff) | |
download | pkgsrc-29c533f2d957b2c034b8be1eeb4fdbd608a00025.tar.gz |
Apply a patch from Tim Mann's chess site that fixes the following problem:
The "edit" function is not implemented in GNU Chess 5.00. This means
that XBoard's "Edit Position" feature will not work with it. Loading a
position from a file, loading a PGN game that starts from a nonstandard
position, or playing an ICS wild game in Zippy mode, etc., will also not
work.
Also fix the gnuchessx script to accept options and to pass them through to
the gnuchess binary.
Bump package version number to 5.00nb2.
Diffstat (limited to 'games/gnuchess/Makefile')
-rw-r--r-- | games/gnuchess/Makefile | 18 |
1 files changed, 11 insertions, 7 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 |