From owner-svn-ports-head@FreeBSD.ORG Mon Nov 11 00:30:28 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1DA7E793; Mon, 11 Nov 2013 00:30:28 +0000 (UTC) (envelope-from danilo@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 08CD82CB8; Mon, 11 Nov 2013 00:30:28 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAB0URmB008856; Mon, 11 Nov 2013 00:30:27 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAB0URPe008854; Mon, 11 Nov 2013 00:30:27 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201311110030.rAB0URPe008854@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Mon, 11 Nov 2013 00:30:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r333458 - head/games/seabattle 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.14 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: Mon, 11 Nov 2013 00:30:28 -0000 Author: danilo Date: Mon Nov 11 00:30:27 2013 New Revision: 333458 URL: http://svnweb.freebsd.org/changeset/ports/333458 Log: - Add stage support - Add DOCS option Modified: head/games/seabattle/Makefile head/games/seabattle/pkg-plist Modified: head/games/seabattle/Makefile ============================================================================== --- head/games/seabattle/Makefile Sun Nov 10 23:31:45 2013 (r333457) +++ head/games/seabattle/Makefile Mon Nov 11 00:30:27 2013 (r333458) @@ -12,18 +12,13 @@ MASTER_SITE_SUBDIR= games/strategy MAINTAINER= ports@FreeBSD.org COMMENT= Curses based battleship type game -PORTDOCS= readme.txt - -NO_STAGE= yes -.include +OPTIONS_DEFINE= DOCS do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/seabattle ${PREFIX}/bin - @${MKDIR} ${PREFIX}/share/seabattle - ${INSTALL_DATA} ${WRKSRC}/*.au ${DATADIR} -.if ${PORT_OPTIONS:MDOCS} - @${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/readme.txt ${DOCSDIR} -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/seabattle ${STAGEDIR}${PREFIX}/bin + @${MKDIR} ${STAGEDIR}${PREFIX}/share/seabattle + ${INSTALL_DATA} ${WRKSRC}/*.au ${STAGEDIR}${DATADIR} + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/readme.txt ${STAGEDIR}${DOCSDIR} .include Modified: head/games/seabattle/pkg-plist ============================================================================== --- head/games/seabattle/pkg-plist Sun Nov 10 23:31:45 2013 (r333457) +++ head/games/seabattle/pkg-plist Mon Nov 11 00:30:27 2013 (r333458) @@ -1,8 +1,10 @@ bin/seabattle +%%PORTDOCS%%%%DOCSDIR%%/readme.txt %%DATADIR%%/hit1.au %%DATADIR%%/hit2.au %%DATADIR%%/miss1.au %%DATADIR%%/miss2.au %%DATADIR%%/opening.au %%DATADIR%%/sunkit.au -@dirrm %%DATADIR%% +@dirrmtry %%DATADIR%% +@dirrmtry %%PORTDOCS%%%%DOCSDIR%%