From owner-svn-ports-all@FreeBSD.ORG Fri Oct 18 00:40:17 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 DC8DD9B3; Fri, 18 Oct 2013 00:40:16 +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 BA5C42E60; Fri, 18 Oct 2013 00:40:16 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9I0eGmc060424; Fri, 18 Oct 2013 00:40:16 GMT (envelope-from amdmi3@svn.freebsd.org) Received: (from amdmi3@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9I0eGdI060422; Fri, 18 Oct 2013 00:40:16 GMT (envelope-from amdmi3@svn.freebsd.org) Message-Id: <201310180040.r9I0eGdI060422@svn.freebsd.org> From: Dmitry Marakasov Date: Fri, 18 Oct 2013 00:40:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r330707 - head/games/pouetchess 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: Fri, 18 Oct 2013 00:40:17 -0000 Author: amdmi3 Date: Fri Oct 18 00:40:16 2013 New Revision: 330707 URL: http://svnweb.freebsd.org/changeset/ports/330707 Log: - Support staging - convert USE_GMAKE to USES Modified: head/games/pouetchess/Makefile head/games/pouetchess/pkg-plist Modified: head/games/pouetchess/Makefile ============================================================================== --- head/games/pouetchess/Makefile Fri Oct 18 00:31:22 2013 (r330706) +++ head/games/pouetchess/Makefile Fri Oct 18 00:40:16 2013 (r330707) @@ -12,10 +12,12 @@ COMMENT= Open-source 3D chess game USE_SDL= sdl image USE_GL= gl -USE_GMAKE= yes +USES= gmake WRKSRC= ${WRKDIR}/pouetChess_0.11 +PORTDATA= * + DESKTOP_ENTRIES="pouetChess" \ "Play chess" \ "${DATADIR}/textures/1.png" \ @@ -23,7 +25,6 @@ DESKTOP_ENTRIES="pouetChess" \ "Game;BoardGame;" \ false -NO_STAGE= yes post-patch: @${FIND} ${WRKSRC} \( -name "*.cpp" -o -name "*.h" -o -name Makefile \ -o -name config.ini \) -exec ${REINPLACE_CMD} -e \ @@ -40,14 +41,8 @@ post-patch: @${REINPLACE_CMD} -e 's|data/|${DATADIR}/|' ${WRKSRC}/src/globalInfos.h do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bin/pouetChess ${PREFIX}/bin - ${INSTALL_DATA} ${WRKSRC}/bin/config.ini ${PREFIX}/etc/pouetChess.conf.sample - if [ ! -f ${PREFIX}/etc/pouetChess.conf ]; then \ - ${INSTALL_DATA} ${WRKSRC}/bin/config.ini ${PREFIX}/etc/pouetChess.conf; \ - fi -.for i in objets3d textures icons - ${MKDIR} ${DATADIR}/${i} - ${INSTALL_DATA} ${WRKSRC}/bin/data/${i}/* ${DATADIR}/${i} -.endfor + ${INSTALL_PROGRAM} ${WRKSRC}/bin/pouetChess ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/bin/config.ini ${STAGEDIR}${PREFIX}/etc/pouetChess.conf.sample + cd ${WRKSRC}/bin/data && ${COPYTREE_SHARE} "*" ${STAGEDIR}${DATADIR} .include Modified: head/games/pouetchess/pkg-plist ============================================================================== --- head/games/pouetchess/pkg-plist Fri Oct 18 00:31:22 2013 (r330706) +++ head/games/pouetchess/pkg-plist Fri Oct 18 00:40:16 2013 (r330707) @@ -2,35 +2,3 @@ bin/pouetChess @unexec if cmp -s %D/etc/pouetChess.conf %D/etc/pouetChess.conf.sample; then rm -f %D/etc/pouetChess.conf; fi etc/pouetChess.conf.sample @exec if [ ! -f %D/etc/pouetChess.conf ]; then cp -p %D/etc/pouetChess.conf.sample %D/etc/pouetChess.conf; fi -%%DATADIR%%/icons/pouetChess.bmp -%%DATADIR%%/icons/pouetChess.png -%%DATADIR%%/objets3d/cavalier.lwo -%%DATADIR%%/objets3d/dame.lwo -%%DATADIR%%/objets3d/fleche.lwo -%%DATADIR%%/objets3d/fou.lwo -%%DATADIR%%/objets3d/pion.lwo -%%DATADIR%%/objets3d/plateau.lwo -%%DATADIR%%/objets3d/roi.lwo -%%DATADIR%%/objets3d/table.lwo -%%DATADIR%%/objets3d/tour.lwo -%%DATADIR%%/textures/1.png -%%DATADIR%%/textures/2.png -%%DATADIR%%/textures/blender.png -%%DATADIR%%/textures/camera.png -%%DATADIR%%/textures/credits.png -%%DATADIR%%/textures/damier.jpg -%%DATADIR%%/textures/exit.png -%%DATADIR%%/textures/font.png -%%DATADIR%%/textures/force.png -%%DATADIR%%/textures/gimp.png -%%DATADIR%%/textures/kate.png -%%DATADIR%%/textures/murs.jpg -%%DATADIR%%/textures/porte.jpg -%%DATADIR%%/textures/quitter.png -%%DATADIR%%/textures/sol.jpg -%%DATADIR%%/textures/titre.png -%%DATADIR%%/textures/tux.png -@dirrm %%DATADIR%%/icons -@dirrm %%DATADIR%%/objets3d -@dirrm %%DATADIR%%/textures -@dirrm %%DATADIR%%