Date: Sat, 18 Jan 2014 09:35:15 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r340159 - head/games/stockfish Message-ID: <201401180935.s0I9ZFRL078424@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Sat Jan 18 09:35:15 2014 New Revision: 340159 URL: http://svnweb.freebsd.org/changeset/ports/340159 QAT: https://qat.redports.org/buildarchive/r340159/ Log: Remove reference to NOPORTDATA Use USES=compiler.mk to determine the compiler that will be in use Use bsdtar to extract the zip file Modified: head/games/stockfish/Makefile Modified: head/games/stockfish/Makefile ============================================================================== --- head/games/stockfish/Makefile Sat Jan 18 09:26:33 2014 (r340158) +++ head/games/stockfish/Makefile Sat Jan 18 09:35:15 2014 (r340159) @@ -11,15 +11,15 @@ MASTER_SITES= https://s3.amazonaws.com/s DISTNAME= stockfish-${PORTVERSION:S/.//g}-win DISTFILES= stockfish-${PORTVERSION:S/.//g}-win.zip:src \ stockfish-231-book.zip:book +EXTRACT_SUFX= .zip MAINTAINER= execve@gmail.com COMMENT= Open source chess engine LICENSE= GPLv3 -USE_ZIP= yes WRKSRC= ${WRKDIR}/${DISTNAME}/src -USES= gmake +USES= gmake compiler MYARCH= ${ARCH} BOOKDIR= . PORTDOCS= Readme.md polyglot.ini @@ -28,11 +28,7 @@ PORTDATA= Book.bin PLIST_FILES= bin/stockfish TGTBLD= build -MYCC= gcc - -.if ${CC} == "clang" || ${CXX} == "clang++" -MYCC= clang -.endif +MYCC= ${COMPILER_TYPE} OPTIONS_DEFINE= DOCS POPCNT_ENABLED PROFILE_BUILD POPCNT_ENABLED_DESC= Use the POPCNT instruction @@ -50,8 +46,6 @@ BROKEN= POPCNT_ENABLED compiles only on .endif .endif -.include <bsd.port.pre.mk> - # workaround the ARCH usage in the stockfish Makefile .if ${ARCH} == "i386" MYARCH= x86-32 @@ -68,10 +62,6 @@ ALL_TARGET= ${TGTBLD} ARCH=${MYARCH} COM BROKEN= Does not compile on ia64, powerpc, or sparc64 .endif -.if exists(/usr/bin/clang) && ${OSVERSION} > 1000024 -MYCC= clang -.endif - post-patch: @${REINPLACE_CMD} -e "s/^PREFIX =/PREFIX ?=/" ${WRKSRC}/Makefile @@ -81,9 +71,7 @@ do-install: ${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/Readme.md ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/polyglot.ini ${STAGEDIR}${DOCSDIR} -.if !defined(NOPORTDATA) ${MKDIR} ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKDIR}/${BOOKDIR}/${PORTDATA} ${STAGEDIR}${DATADIR}/ -.endif -.include <bsd.port.post.mk> +.include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401180935.s0I9ZFRL078424>