pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/gnuchess Read in default an opening book install...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f1eb9e5de806
branches: trunk
changeset: 470324:f1eb9e5de806
user: minskim <minskim%pkgsrc.org@localhost>
date: Mon Mar 08 06:03:10 2004 +0000
description:
Read in default an opening book installed by gnuchess-book-*. Also
note opening book packages in DESCR. Bump PKGREVISION.
diffstat:
games/gnuchess/DESCR | 11 ++++++-----
games/gnuchess/Makefile | 9 ++++++++-
2 files changed, 14 insertions(+), 6 deletions(-)
diffs (43 lines):
diff -r b6acdd1c4446 -r f1eb9e5de806 games/gnuchess/DESCR
--- a/games/gnuchess/DESCR Mon Mar 08 05:52:34 2004 +0000
+++ b/games/gnuchess/DESCR Mon Mar 08 06:03:10 2004 +0000
@@ -1,6 +1,7 @@
- Gnuchess plays a game of chess against the user or it
- plays against itself.
+Gnuchess plays a game of chess against the user or it plays against
+itself.
- Gnuchess is an updated version of the GNU chess playing
- program. It has a simple alpha-numeric board display or
- can be run with the xboard program under X-windows.
+Gnuchess is an updated version of the GNU chess playing program. It
+has a simple alpha-numeric board display or can be run with the xboard
+program under X-windows. It can use an opening book provided by one
+of gnuchess-book-* packages.
diff -r b6acdd1c4446 -r f1eb9e5de806 games/gnuchess/Makefile
--- a/games/gnuchess/Makefile Mon Mar 08 05:52:34 2004 +0000
+++ b/games/gnuchess/Makefile Mon Mar 08 06:03:10 2004 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.21 2004/03/08 03:04:36 minskim Exp $
+# $NetBSD: Makefile,v 1.22 2004/03/08 06:03:10 minskim Exp $
# FreeBSD Id: Makefile,v 1.6 1999/01/27 07:41:12 fenner Exp
#
DISTNAME= gnuchess-5.07
+PKGREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_GNU:=chess/}
@@ -26,6 +27,12 @@
CONFIGURE_ENV+= CFLAGS="-O3 -Winline -Wmissing-prototypes -funroll-loops -fomit-frame-pointer"
.endif
+SUBST_CLASSES+= paths
+SUBST_MESSAGE.paths= "Fixing hardcoded paths."
+SUBST_STAGE.paths= post-patch
+SUBST_FILES.paths= src/book.h
+SUBST_SED.paths= -e 's,/usr/lib/games/,${LOCALBASE}/lib/,g' \
+
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/doc/README ${DOCDIR}
Home |
Main Index |
Thread Index |
Old Index