Index: head/games/stockfish/Makefile =================================================================== --- head/games/stockfish/Makefile (revision 529207) +++ head/games/stockfish/Makefile (revision 529208) @@ -1,75 +1,75 @@ # Created by: Gautam Mani # $FreeBSD$ PORTNAME= stockfish -DISTVERSION= 10 -PORTREVISION= 1 -DISTVERSIONSUFFIX= -src +DISTVERSIONPREFIX= sf_ +DISTVERSION= 11 CATEGORIES= games -MASTER_SITES= http://stockfish.s3.amazonaws.com/ MAINTAINER= execve@gmail.com COMMENT= Open source chess engine LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/../Copying.txt -NOT_FOR_ARCHS= sparc64 BROKEN_aarch64= Fails to build: cannot detect architecture BROKEN_armv6= Fails to configure: config-sanity: Error 1 BROKEN_armv7= Fails to configure: config-sanity: Error 1 BROKEN_mips64= Fails to build: cannot detect architecture +NOT_FOR_ARCHS= sparc64 -USES= compiler:c++11-lang gmake zip +USES= compiler:c++11-lang gmake +USE_GITHUB= yes +GH_ACCOUNT= official-stockfish +GH_PROJECT= Stockfish -NO_WRKSUBDIR= yes WRKSRC_SUBDIR= src MYARCH= ${ARCH} MYCC= ${CHOSEN_COMPILER_TYPE} TGTBLD= build LDFLAGS+= -fuse-ld=lld PLIST_FILES= bin/stockfish PORTDOCS= Readme.md OPTIONS_DEFINE= DOCS POPCNT POPCNT_DESC= Use the POPCNT instruction .include .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 @${REINPLACE_CMD} -e "s/CXX=g++/CXX=g++${GCC_DEFAULT}/" \ ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/stockfish ${STAGEDIR}${PREFIX}/bin do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/../Readme.md ${STAGEDIR}${DOCSDIR} .include Index: head/games/stockfish/distinfo =================================================================== --- head/games/stockfish/distinfo (revision 529207) +++ head/games/stockfish/distinfo (revision 529208) @@ -1,3 +1,3 @@ -TIMESTAMP = 1545156168 -SHA256 (stockfish-10-src.zip) = 29bd01e7407098aa9e851b82f6ea4bf2b46d26e9075a48a269cb1e40c582a073 -SIZE (stockfish-10-src.zip) = 174377 +TIMESTAMP = 1579984671 +SHA256 (official-stockfish-Stockfish-sf_11_GH0.tar.gz) = 802261cc601b67bed00c0ef7d21e2125959630f0852a06db9fc9bd74f440b199 +SIZE (official-stockfish-Stockfish-sf_11_GH0.tar.gz) = 145868