From owner-svn-ports-all@freebsd.org Fri Jun 10 09:03:55 2016 Return-Path: Delivered-To: svn-ports-all@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 BF20EB6FBEF; Fri, 10 Jun 2016 09:03:55 +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 905FA1871; Fri, 10 Jun 2016 09:03:55 +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 u5A93s3R018091; Fri, 10 Jun 2016 09:03:54 GMT (envelope-from amdmi3@FreeBSD.org) Received: (from amdmi3@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u5A93s3H018090; Fri, 10 Jun 2016 09:03:54 GMT (envelope-from amdmi3@FreeBSD.org) Message-Id: <201606100903.u5A93s3H018090@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: amdmi3 set sender to amdmi3@FreeBSD.org using -f From: Dmitry Marakasov Date: Fri, 10 Jun 2016 09:03:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r416660 - head/games/capicity 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.22 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: Fri, 10 Jun 2016 09:03:55 -0000 Author: amdmi3 Date: Fri Jun 10 09:03:54 2016 New Revision: 416660 URL: https://svnweb.freebsd.org/changeset/ports/416660 Log: - Switch to options helpers Modified: head/games/capicity/Makefile Modified: head/games/capicity/Makefile ============================================================================== --- head/games/capicity/Makefile Fri Jun 10 08:56:30 2016 (r416659) +++ head/games/capicity/Makefile Fri Jun 10 09:03:54 2016 (r416660) @@ -42,20 +42,12 @@ OPTIONS_SUB= yes NLS_CONFIGURE_ENABLE= nls NLS_USES= gettext -.include - do-install: ${INSTALL_PROGRAM} ${WRKSRC}/CapiCity \ ${STAGEDIR}${PREFIX}/bin/${PORTNAME} - .for d in games images @(cd ${WRKSRC} && ${COPYTREE_SHARE} ${d} ${STAGEDIR}${DATADIR}) .endfor - -.if ${PORT_OPTIONS:MNLS} - @(cd ${WRKSRC} && ${COPYTREE_SHARE} ts ${STAGEDIR}${DATADIR}) -.endif - .for s in ${ICON_SIZES} @${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps ${INSTALL_DATA} ${WRKSRC}/icons/${s}.png \ @@ -64,6 +56,10 @@ do-install: ${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \ ${STAGEDIR}${PREFIX}/share/pixmaps/ +do-install-NLS-on: + @(cd ${WRKSRC} && ${COPYTREE_SHARE} ts ${STAGEDIR}${DATADIR}) + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}