summaryrefslogtreecommitdiff
path: root/games/gnuchess/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'games/gnuchess/Makefile')
-rw-r--r--games/gnuchess/Makefile18
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