From owner-svn-ports-all@FreeBSD.ORG Tue Oct 29 01:26:52 2013 Return-Path: Delivered-To: svn-ports-all@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 8BEC24A7; Tue, 29 Oct 2013 01:26:52 +0000 (UTC) (envelope-from amdmi3@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 798CF2DFD; Tue, 29 Oct 2013 01:26:52 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9T1Qqbk026127; Tue, 29 Oct 2013 01:26:52 GMT (envelope-from amdmi3@svn.freebsd.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9T1QqdH026126; Tue, 29 Oct 2013 01:26:52 GMT (envelope-from amdmi3@svn.freebsd.org) Message-Id: <201310290126.r9T1QqdH026126@svn.freebsd.org> From: Dmitry Marakasov Date: Tue, 29 Oct 2013 01:26:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r331919 - head/games/funnyboat X-SVN-Group: ports-head 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.14 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: Tue, 29 Oct 2013 01:26:52 -0000 Author: amdmi3 Date: Tue Oct 29 01:26:51 2013 New Revision: 331919 URL: http://svnweb.freebsd.org/changeset/ports/331919 Log: - Support staging Modified: head/games/funnyboat/Makefile Modified: head/games/funnyboat/Makefile ============================================================================== --- head/games/funnyboat/Makefile Tue Oct 29 01:11:25 2013 (r331918) +++ head/games/funnyboat/Makefile Tue Oct 29 01:26:51 2013 (r331919) @@ -22,24 +22,15 @@ NO_BUILD= yes SUB_FILES= funnyboat_ SUB_LIST= PROGRAM_DIR="${PREFIX}/lib/${PORTNAME}" -PORTDOCS= README.txt +PORTDOCS= * -NO_STAGE= yes -.include +OPTIONS_DEFINE= DOCS +OPTIONS_DEFAULT=DOCS do-install: - ${MKDIR} ${PREFIX}/lib/${PORTNAME} - ${MKDIR} ${PREFIX}/lib/${PORTNAME}/data - ${INSTALL_DATA} ${WRKSRC}/*.py ${PREFIX}/lib/${PORTNAME} - ${INSTALL_DATA} ${WRKSRC}/data/* ${PREFIX}/lib/${PORTNAME}/data - ${INSTALL_SCRIPT} ${WRKDIR}/funnyboat_ ${PREFIX}/bin/funnyboat - -post-install: -.if ${PORT_OPTIONS:MDOCS} - ${MKDIR} ${DOCSDIR} -.for f in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} -.endfor -.endif + cd ${WRKSRC} && ${COPYTREE_SHARE} "*.py data" ${STAGEDIR}${PREFIX}/lib/${PORTNAME} + ${INSTALL_SCRIPT} ${WRKDIR}/funnyboat_ ${STAGEDIR}${PREFIX}/bin/funnyboat + ${MKDIR} ${STAGEDIR}${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/README.txt ${STAGEDIR}${DOCSDIR}/ .include