From owner-svn-ports-head@freebsd.org Wed Oct 7 18:04:27 2015 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 977AE9D1DBE; Wed, 7 Oct 2015 18:04:27 +0000 (UTC) (envelope-from amdmi3@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 mx1.freebsd.org (Postfix) with ESMTPS id 4C42FBC3; Wed, 7 Oct 2015 18:04:27 +0000 (UTC) (envelope-from amdmi3@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t97I4QEQ013567; Wed, 7 Oct 2015 18:04:26 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t97I4Qe4013565; Wed, 7 Oct 2015 18:04:26 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201510071804.t97I4Qe4013565@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Wed, 7 Oct 2015 18:04:26 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r398779 - head/games/crafty-open-large X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Oct 2015 18:04:27 -0000 Author: amdmi3 Date: Wed Oct 7 18:04:26 2015 New Revision: 398779 URL: https://svnweb.freebsd.org/changeset/ports/398779 Log: - Pet portlint - Move not on warnings to where it belongs - Fix installation from non-root Modified: head/games/crafty-open-large/Makefile head/games/crafty-open-large/pkg-plist Modified: head/games/crafty-open-large/Makefile ============================================================================== --- head/games/crafty-open-large/Makefile Wed Oct 7 18:04:11 2015 (r398778) +++ head/games/crafty-open-large/Makefile Wed Oct 7 18:04:26 2015 (r398779) @@ -7,32 +7,30 @@ PORTREVISION= 2 CATEGORIES= games MASTER_SITES= LOCAL/dd/crafty DISTFILES= large1.zip large2.zip large3.zip large4.zip +DIST_SUBDIR= crafty MAINTAINER= ports@FreeBSD.org -COMMENT= The large opening book for crafty +COMMENT= Large opening book for crafty BUILD_DEPENDS= crafty:${PORTSDIR}/games/crafty RUN_DEPENDS= crafty:${PORTSDIR}/games/crafty -DIST_SUBDIR= crafty USES= zip NO_WRKSUBDIR= yes CONFLICTS= crafty-open-enormous-* crafty-open-medium-* crafty-open-default-* post-extract: - @${ECHO_MSG} '================================================================' - @${ECHO_MSG} 'Ignore warnings about illegal moves. These warnings are normal.' - @${ECHO_MSG} '================================================================' ${CAT} ${WRKDIR}/Book1.pgn ${WRKDIR}/Book2.pgn ${WRKDIR}/Book3.pgn ${WRKDIR}/Book4.pgn >${WRKDIR}/Book.pgn ${RM} ${WRKDIR}/Book1.pgn ${WRKDIR}/Book2.pgn ${WRKDIR}/Book3.pgn ${WRKDIR}/Book4.pgn do-build: - (${CHOWN} nobody ${WRKDIR}; cd ${WRKDIR}; crafty <${FILESDIR}/book-building) + @${ECHO_MSG} '================================================================' + @${ECHO_MSG} 'Ignore warnings about illegal moves. These warnings are normal.' + @${ECHO_MSG} '================================================================' + (cd ${WRKDIR} && crafty <${FILESDIR}/book-building) do-install: ${MKDIR} ${STAGEDIR}${PREFIX}/lib/crafty ${INSTALL_DATA} ${WRKDIR}/book.bin ${STAGEDIR}${PREFIX}/lib/crafty/book.bin - ${CHOWN} nobody:nogroup ${STAGEDIR}${PREFIX}/lib/crafty/book.bin - ${CHMOD} 664 ${STAGEDIR}${PREFIX}/lib/crafty/book.bin .include Modified: head/games/crafty-open-large/pkg-plist ============================================================================== --- head/games/crafty-open-large/pkg-plist Wed Oct 7 18:04:11 2015 (r398778) +++ head/games/crafty-open-large/pkg-plist Wed Oct 7 18:04:26 2015 (r398779) @@ -1 +1 @@ -lib/crafty/book.bin +@(nobody,nogroup,664) lib/crafty/book.bin