Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Nov 2017 21:16:45 +0000 (UTC)
From:      Jason Unovitch <junovitch@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r454799 - in head/games/stockfish: . files
Message-ID:  <201711232116.vANLGj0W014112@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: junovitch
Date: Thu Nov 23 21:16:45 2017
New Revision: 454799
URL: https://svnweb.freebsd.org/changeset/ports/454799

Log:
  games/stockfish: update 5 -> 8
  
  - Book support removed; it was removed from latest stockfish version
  - PROFILE option support is no longer functional and was removed
  
  PR:		206096
  Submitted by:	Gautam Mani <execve@gmail.com> (maintainer)

Added:
  head/games/stockfish/files/
  head/games/stockfish/files/patch-Makefile   (contents, props changed)
Modified:
  head/games/stockfish/Makefile
  head/games/stockfish/distinfo

Modified: head/games/stockfish/Makefile
==============================================================================
--- head/games/stockfish/Makefile	Thu Nov 23 21:12:22 2017	(r454798)
+++ head/games/stockfish/Makefile	Thu Nov 23 21:16:45 2017	(r454799)
@@ -2,14 +2,11 @@
 # $FreeBSD$
 
 PORTNAME=	stockfish
-PORTVERSION=	5
+PORTVERSION=	8
 CATEGORIES=	games
-MASTER_SITES=	http://stockfish.s3.amazonaws.com/:src \
-		http://cl.ly/3x333m0G173F/download/:book \
-		http://www.execve.net/sf/:book
+MASTER_SITES=	http://stockfish.s3.amazonaws.com/:src
 DISTNAME=	${PORTNAME}-${PORTVERSION}-src
-DISTFILES=	${PORTNAME}-${PORTVERSION}-src.zip:src \
-		${PORTNAME}-231-book.zip:book
+DISTFILES=	${PORTNAME}-${PORTVERSION}-src.zip:src
 
 MAINTAINER=	execve@gmail.com
 COMMENT=	Open source chess engine
@@ -24,25 +21,20 @@ BROKEN_mips64=	Fails to build: cannot detect architect
 USES=		compiler gmake zip
 
 WRKSRC=		${WRKDIR}/${DISTNAME}/src
-BOOKDIR=	.
 MYARCH=		${ARCH}
 MYCC=		${COMPILER_TYPE}
 TGTBLD=		build
 
 PLIST_FILES=	bin/stockfish
-PORTDATA=	Book.bin
-PORTDOCS=	Readme.md polyglot.ini
+PORTDATA=
+PORTDOCS=	Readme.md
 
-OPTIONS_DEFINE=	DOCS POPCNT PROFILE
+OPTIONS_DEFINE=	DOCS POPCNT
 
 POPCNT_DESC=	Use the POPCNT instruction
 
 .include <bsd.port.options.mk>
 
-.if ${PORT_OPTIONS:MPROFILE}
-TGTBLD=		profile-build
-.endif
-
 .if ${PORT_OPTIONS:MPOPCNT} && ${ARCH} != amd64
 BROKEN=		POPCNT compiles only on amd64
 .endif
@@ -69,12 +61,9 @@ post-patch:
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/stockfish ${STAGEDIR}${PREFIX}/bin
-	@${MKDIR} ${STAGEDIR}${DATADIR}
-	${INSTALL_DATA} ${WRKDIR}/${BOOKDIR}/${PORTDATA} ${STAGEDIR}${DATADIR}
 
 do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/Readme.md ${STAGEDIR}${DOCSDIR}
-	${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/polyglot.ini ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/games/stockfish/distinfo
==============================================================================
--- head/games/stockfish/distinfo	Thu Nov 23 21:12:22 2017	(r454798)
+++ head/games/stockfish/distinfo	Thu Nov 23 21:16:45 2017	(r454799)
@@ -1,4 +1,3 @@
-SHA256 (stockfish-5-src.zip) = 071f5f9cc5c461e42462c3bc2f65ea96b8ca3de5048b927f82c609017c9392c2
-SIZE (stockfish-5-src.zip) = 319574
-SHA256 (stockfish-231-book.zip) = 07ee06bcd3fe1c5e0d90a2d0aede8bac2dd31d52fb4e1c9bc477bb5a8939e414
-SIZE (stockfish-231-book.zip) = 3479786
+TIMESTAMP = 1499583495
+SHA256 (stockfish-8-src.zip) = 7bad36f21f649ab24f6d7786bbb1b74b3e4037f165f32e3d42d1ae19c8874ce9
+SIZE (stockfish-8-src.zip) = 159017

Added: head/games/stockfish/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/games/stockfish/files/patch-Makefile	Thu Nov 23 21:16:45 2017	(r454799)
@@ -0,0 +1,18 @@
+--- Makefile.orig	2017-07-09 16:40:08 UTC
++++ Makefile
+@@ -149,7 +149,6 @@ endif
+ 
+ ifeq ($(COMP),gcc)
+ 	comp=gcc
+-	CXX=g++
+ 	CXXFLAGS += -pedantic -Wextra -Wshadow
+ 
+ 	ifeq ($(ARCH),armv7)
+@@ -198,7 +197,6 @@ endif
+ 
+ ifeq ($(COMP),clang)
+ 	comp=clang
+-	CXX=clang++
+ 	CXXFLAGS += -pedantic -Wextra -Wshadow
+ 
+ 	ifeq ($(ARCH),armv7)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711232116.vANLGj0W014112>