Index: head/games/stockfish/Makefile =================================================================== --- head/games/stockfish/Makefile (revision 454798) +++ head/games/stockfish/Makefile (revision 454799) @@ -1,80 +1,69 @@ # Created by: Gautam Mani # $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 LICENSE= GPLv3 NOT_FOR_ARCHS= sparc64 BROKEN_aarch64= Fails to build: cannot detect architecture BROKEN_armv6= Fails to configure: config-sanity: Error 1 BROKEN_mips64= Fails to build: cannot detect architecture 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 -.if ${PORT_OPTIONS:MPROFILE} -TGTBLD= profile-build -.endif - .if ${PORT_OPTIONS:MPOPCNT} && ${ARCH} != amd64 BROKEN= POPCNT compiles only on amd64 .endif # workaround the ARCH usage in the stockfish Makefile .if ${ARCH} == "i386" MYARCH= x86-32 .elif ${ARCH} == "amd64" . if ${PORT_OPTIONS:MPOPCNT} MYARCH= x86-64-modern . else MYARCH= x86-64 . endif .elif ${ARCH} == powerpc MYARCH= ppc-32 .elif ${ARCH} == powerpc64 MYARCH= ppc-64 .endif ALL_TARGET= ${TGTBLD} ARCH=${MYARCH} COMP=${MYCC} post-patch: @${REINPLACE_CMD} -e "s/^PREFIX =/PREFIX ?=/" ${WRKSRC}/Makefile 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 Index: head/games/stockfish/distinfo =================================================================== --- head/games/stockfish/distinfo (revision 454798) +++ head/games/stockfish/distinfo (revision 454799) @@ -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 Index: head/games/stockfish/files/patch-Makefile =================================================================== --- head/games/stockfish/files/patch-Makefile (nonexistent) +++ head/games/stockfish/files/patch-Makefile (revision 454799) @@ -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) Property changes on: head/games/stockfish/files/patch-Makefile ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property 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