[Midnightbsd-cvs] mports [24939] trunk/games: add gnuchess

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Sat Feb 9 16:41:15 EST 2019


Revision: 24939
          http://svnweb.midnightbsd.org/mports/?rev=24939
Author:   laffer1
Date:     2019-02-09 16:41:15 -0500 (Sat, 09 Feb 2019)
Log Message:
-----------
add gnuchess

Modified Paths:
--------------
    trunk/games/Makefile

Added Paths:
-----------
    trunk/games/gnuchess/
    trunk/games/gnuchess/Makefile
    trunk/games/gnuchess/distinfo
    trunk/games/gnuchess/pkg-descr
    trunk/games/gnuchess/pkg-plist

Modified: trunk/games/Makefile
===================================================================
--- trunk/games/Makefile	2019-02-09 19:37:11 UTC (rev 24938)
+++ trunk/games/Makefile	2019-02-09 21:41:15 UTC (rev 24939)
@@ -31,6 +31,7 @@
 SUBDIR += gnome-sudoku
 SUBDIR += gnome-taquin
 SUBDIR += gnome-tetravex
+SUBDIR += gnu-chess
 SUBDIR += gnugo
 SUBDIR += gnustep-ladder
 SUBDIR += gnustep-sudoku

Added: trunk/games/gnuchess/Makefile
===================================================================
--- trunk/games/gnuchess/Makefile	                        (rev 0)
+++ trunk/games/gnuchess/Makefile	2019-02-09 21:41:15 UTC (rev 24939)
@@ -0,0 +1,49 @@
+# $MidnightBSD$
+
+PORTNAME=	gnuchess
+PORTVERSION=	6.2.5
+CATEGORIES=	games
+MASTER_SITES=	GNU/chess
+# The DISTFILES here is explicitly needed because it can be extended later.
+DISTFILES=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
+
+MAINTAINER=	ports at MidnightBSD.org
+COMMENT=	"Classic" Gnu Chess
+
+LICENSE=	gpl3
+
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV=	MKDIR_P="${MKDIR}"
+INFO=		gnuchess
+USES=		cpe shebangfix
+SHEBANG_FILES=	doc/quotes.rb
+CPE_PRODUCT=	chess
+CPE_VENDOR=	gnu
+
+OPTIONS_DEFINE=		OPENING_BOOK DOCS NLS
+OPTIONS_DEFAULT=	OPENING_BOOK
+OPTIONS_SUB=		yes
+OPENING_BOOK_DESC=	Install opening book (25 MB download)
+NLS_USES=		gettext
+NLS_CONFIGURE_ENABLE=	nls
+
+.include <bsd.mport.options.mk>
+
+.if ${PORT_OPTIONS:MOPENING_BOOK}
+DISTFILES+=	book_1.02.pgn.gz
+EXTRACT_ONLY+=	${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX}
+.endif
+
+post-build:
+.if ${PORT_OPTIONS:MOPENING_BOOK}
+	zcat ${DISTDIR}/book_1.02.pgn.gz > ${WRKSRC}/src/book.pgn
+	cd ${WRKSRC}/src && ( ${ECHO} book add book.pgn; sleep 1; ${ECHO} quit ) | ./gnuchess
+	@${REINPLACE_CMD} -e '/Book =/s/false/true/' ${WRKSRC}/src/gnuchess.ini
+.endif
+
+post-install:
+	cd ${STAGEDIR}${PREFIX}/bin && ${LN} -f gnuchess gnuchessx
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/NEWS ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>


Property changes on: trunk/games/gnuchess/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/games/gnuchess/distinfo
===================================================================
--- trunk/games/gnuchess/distinfo	                        (rev 0)
+++ trunk/games/gnuchess/distinfo	2019-02-09 21:41:15 UTC (rev 24939)
@@ -0,0 +1,5 @@
+TIMESTAMP = 1518429717
+SHA256 (gnuchess-6.2.5.tar.gz) = 9a99e963355706cab32099d140b698eda9de164ebce40a5420b1b9772dd04802
+SIZE (gnuchess-6.2.5.tar.gz) = 782359
+SHA256 (book_1.02.pgn.gz) = deac77edb061a59249a19deb03da349cae051e52527a6cb5af808d9398d32d44
+SIZE (book_1.02.pgn.gz) = 26265281


Property changes on: trunk/games/gnuchess/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/games/gnuchess/pkg-descr
===================================================================
--- trunk/games/gnuchess/pkg-descr	                        (rev 0)
+++ trunk/games/gnuchess/pkg-descr	2019-02-09 21:41:15 UTC (rev 24939)
@@ -0,0 +1,7 @@
+       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.
+
+WWW: https://savannah.gnu.org/projects/chess


Property changes on: trunk/games/gnuchess/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/games/gnuchess/pkg-plist
===================================================================
--- trunk/games/gnuchess/pkg-plist	                        (rev 0)
+++ trunk/games/gnuchess/pkg-plist	2019-02-09 21:41:15 UTC (rev 24939)
@@ -0,0 +1,35 @@
+bin/gnuchess
+bin/gnuchessu
+bin/gnuchessx
+man/man1/gnuchess.1.gz
+%%PORTDOCS%%%%DOCSDIR%%/Makefile
+%%PORTDOCS%%%%DOCSDIR%%/Makefile.am
+%%PORTDOCS%%%%DOCSDIR%%/Makefile.in
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/fdl.texi
+%%PORTDOCS%%%%DOCSDIR%%/gnuchess.info
+%%PORTDOCS%%%%DOCSDIR%%/gnuchess.texi
+%%PORTDOCS%%%%DOCSDIR%%/mdate-sh
+%%PORTDOCS%%%%DOCSDIR%%/quotes.rb
+%%PORTDOCS%%%%DOCSDIR%%/stamp-vti
+%%PORTDOCS%%%%DOCSDIR%%/texinfo.tex
+%%PORTDOCS%%%%DOCSDIR%%/version.texi
+%%DATADIR%%/gnuchess.ini
+%%DATADIR%%/smallbook.bin
+share/games/plugins/logos/gnuchess.png
+share/games/plugins/xboard/gnuchess.eng
+%%NLS%%share/locale/da/LC_MESSAGES/gnuchess.mo
+%%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
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/gnuchess.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/gnuchess.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/gnuchess.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/gnuchess.mo
+%%NLS%%share/locale/vi/LC_MESSAGES/gnuchess.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/gnuchess.mo


Property changes on: trunk/games/gnuchess/pkg-plist
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property


More information about the Midnightbsd-cvs mailing list