From owner-svn-ports-all@freebsd.org Sat Feb 24 07:48:17 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4ADD4F1FFD3; Sat, 24 Feb 2018 07:48:17 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EF9B073664; Sat, 24 Feb 2018 07:48:16 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EA91222938; Sat, 24 Feb 2018 07:48:16 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w1O7mGgx091813; Sat, 24 Feb 2018 07:48:16 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w1O7mG08091810; Sat, 24 Feb 2018 07:48:16 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201802240748.w1O7mG08091810@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sat, 24 Feb 2018 07:48:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r462773 - in head/games/stockfish: . files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/games/stockfish: . files X-SVN-Commit-Revision: 462773 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Feb 2018 07:48:17 -0000 Author: yuri Date: Sat Feb 24 07:48:16 2018 New Revision: 462773 URL: https://svnweb.freebsd.org/changeset/ports/462773 Log: games/stockfish: Update to 9 Additional port changes: * Changed to DISTVERSION * Added DISTVERSIONSUFFIX * Removed DISTNAME/DISTFILES * Added LICENSE_FILE * Removed WRKSRC * Added NO_WRKSUBDIR * Added WRKSRC_SUBDIR * Removed the blank PORTDATA * Updated the path in do-install-DOCS-on PR: 226129 Submitted by: m.ne@gmx.net Approved by: Gautam Mani , tcberner (mentor, implicit) Modified: head/games/stockfish/Makefile head/games/stockfish/distinfo head/games/stockfish/files/patch-Makefile Modified: head/games/stockfish/Makefile ============================================================================== --- head/games/stockfish/Makefile Sat Feb 24 07:41:03 2018 (r462772) +++ head/games/stockfish/Makefile Sat Feb 24 07:48:16 2018 (r462773) @@ -2,16 +2,16 @@ # $FreeBSD$ PORTNAME= stockfish -PORTVERSION= 8 +DISTVERSION= 9 +DISTVERSIONSUFFIX= -src CATEGORIES= games -MASTER_SITES= http://stockfish.s3.amazonaws.com/:src -DISTNAME= ${PORTNAME}-${PORTVERSION}-src -DISTFILES= ${PORTNAME}-${PORTVERSION}-src.zip:src +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 @@ -21,13 +21,13 @@ BROKEN_mips64= Fails to build: cannot detect architect USES= compiler gmake zip -WRKSRC= ${WRKDIR}/${DISTNAME}/src +NO_WRKSUBDIR= yes +WRKSRC_SUBDIR= src MYARCH= ${ARCH} MYCC= ${COMPILER_TYPE} TGTBLD= build PLIST_FILES= bin/stockfish -PORTDATA= PORTDOCS= Readme.md OPTIONS_DEFINE= DOCS POPCNT @@ -65,6 +65,6 @@ do-install: do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/Readme.md ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/../Readme.md ${STAGEDIR}${DOCSDIR} .include Modified: head/games/stockfish/distinfo ============================================================================== --- head/games/stockfish/distinfo Sat Feb 24 07:41:03 2018 (r462772) +++ head/games/stockfish/distinfo Sat Feb 24 07:48:16 2018 (r462773) @@ -1,3 +1,3 @@ -TIMESTAMP = 1499583495 -SHA256 (stockfish-8-src.zip) = 7bad36f21f649ab24f6d7786bbb1b74b3e4037f165f32e3d42d1ae19c8874ce9 -SIZE (stockfish-8-src.zip) = 159017 +TIMESTAMP = 1519331941 +SHA256 (stockfish-9-src.zip) = ba2e72d6973479c8c839c7f4a095d121829ebe8df39b71ebf291c84e5cb3e36e +SIZE (stockfish-9-src.zip) = 171925 Modified: head/games/stockfish/files/patch-Makefile ============================================================================== --- head/games/stockfish/files/patch-Makefile Sat Feb 24 07:41:03 2018 (r462772) +++ head/games/stockfish/files/patch-Makefile Sat Feb 24 07:48:16 2018 (r462773) @@ -1,18 +1,15 @@ ---- Makefile.orig 2017-07-09 16:40:08 UTC +--- Makefile.orig 2018-02-22 21:13:38 UTC +++ Makefile -@@ -149,7 +149,6 @@ endif - - ifeq ($(COMP),gcc) - comp=gcc -- CXX=g++ +@@ -205,10 +205,12 @@ ifeq ($(COMP),clang) + CXX=clang++ CXXFLAGS += -pedantic -Wextra -Wshadow + ifneq ($(KERNEL),Darwin) ++ifneq ($(KERNEL),FreeBSD) + ifneq ($(KERNEL),OpenBSD) + LDFLAGS += -latomic + endif + endif ++endif ifeq ($(ARCH),armv7) -@@ -198,7 +197,6 @@ endif - - ifeq ($(COMP),clang) - comp=clang -- CXX=clang++ - CXXFLAGS += -pedantic -Wextra -Wshadow - - ifeq ($(ARCH),armv7) + ifeq ($(OS),Android)