aboutsummaryrefslogtreecommitdiff
path: root/games/gnuchess
diff options
context:
space:
mode:
authorJohan van Selst <johans@FreeBSD.org>2015-10-26 21:11:42 +0000
committerJohan van Selst <johans@FreeBSD.org>2015-10-26 21:11:42 +0000
commit3ee5b3be61aecfadba1dfeadaafced76ff83f3ff (patch)
tree794ed28236a23dc129751c7159f0e387a02328a9 /games/gnuchess
parent2d3f2a43395528862fbc81aa64518fb5a7b5d9b9 (diff)
downloadports-3ee5b3be61aecfadba1dfeadaafced76ff83f3ff.tar.gz
ports-3ee5b3be61aecfadba1dfeadaafced76ff83f3ff.zip
Update to GNU Chess 6.2.2
Notes
Notes: svn path=/head/; revision=400208
Diffstat (limited to 'games/gnuchess')
-rw-r--r--games/gnuchess/Makefile6
-rw-r--r--games/gnuchess/distinfo4
-rw-r--r--games/gnuchess/pkg-plist1
3 files changed, 5 insertions, 6 deletions
diff --git a/games/gnuchess/Makefile b/games/gnuchess/Makefile
index 60ed9ea7f9d7..fcfa70bcddeb 100644
--- a/games/gnuchess/Makefile
+++ b/games/gnuchess/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= gnuchess
-PORTVERSION= 6.2.1
+PORTVERSION= 6.2.2
CATEGORIES= games
MASTER_SITES= GNU/chess
# The DISTFILES here is explicitly needed because it can be extended later.
@@ -36,15 +36,13 @@ EXTRACT_ONLY+= ${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
post-build:
.if ${PORT_OPTIONS:MOPENING_BOOK}
zcat ${DISTDIR}/book_1.02.pgn.gz > ${WRKSRC}/src/book.pgn
- cd ${WRKSRC}/src && ./gnuchess --addbook book.pgn
+ cd ${WRKSRC}/src && ${PRINTF} "book add book.pgn\nquit\n" | ./gnuchess
@${REINPLACE_CMD} -e '/Book =/s/false/true/' ${WRKSRC}/src/gnuchess.ini
.endif
post-install:
cd ${STAGEDIR}${PREFIX}/bin && ${LN} -f gnuchess gnuchessx
-.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/NEWS ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>
diff --git a/games/gnuchess/distinfo b/games/gnuchess/distinfo
index ce3f2ad12ccf..2cfaff4ca01a 100644
--- a/games/gnuchess/distinfo
+++ b/games/gnuchess/distinfo
@@ -1,4 +1,4 @@
-SHA256 (gnuchess-6.2.1.tar.gz) = 17caab725539447bcb17a14b17905242cbf287087e53a6777524feb7bbaeed06
-SIZE (gnuchess-6.2.1.tar.gz) = 730761
+SHA256 (gnuchess-6.2.2.tar.gz) = 7776c114eeb5889dea69dc4715a3622ec57f65efab667987e7d7183cc05381a8
+SIZE (gnuchess-6.2.2.tar.gz) = 747054
SHA256 (book_1.02.pgn.gz) = deac77edb061a59249a19deb03da349cae051e52527a6cb5af808d9398d32d44
SIZE (book_1.02.pgn.gz) = 26265281
diff --git a/games/gnuchess/pkg-plist b/games/gnuchess/pkg-plist
index a593b3200d7f..db376018369d 100644
--- a/games/gnuchess/pkg-plist
+++ b/games/gnuchess/pkg-plist
@@ -22,6 +22,7 @@ share/games/plugins/xboard/gnuchess.eng
%%NLS%%share/locale/de/LC_MESSAGES/gnuchess.mo
%%NLS%%share/locale/eo/LC_MESSAGES/gnuchess.mo
%%NLS%%share/locale/es/LC_MESSAGES/gnuchess.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/gnuchess.mo
%%NLS%%share/locale/gl/LC_MESSAGES/gnuchess.mo
%%NLS%%share/locale/nb/LC_MESSAGES/gnuchess.mo
%%NLS%%share/locale/nl/LC_MESSAGES/gnuchess.mo