From owner-svn-ports-all@FreeBSD.ORG Sat Nov 16 16:21:55 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 23DB5B17; Sat, 16 Nov 2013 16:21:55 +0000 (UTC) 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 ED8A9288A; Sat, 16 Nov 2013 16:21:54 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rAGGLsuN075362; Sat, 16 Nov 2013 16:21:54 GMT (envelope-from danilo@svn.freebsd.org) Received: (from danilo@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rAGGLsSm075360; Sat, 16 Nov 2013 16:21:54 GMT (envelope-from danilo@svn.freebsd.org) Message-Id: <201311161621.rAGGLsSm075360@svn.freebsd.org> From: Danilo Egea Gondolfo Date: Sat, 16 Nov 2013 16:21:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r334012 - head/games/rockdodger 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.16 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: Sat, 16 Nov 2013 16:21:55 -0000 Author: danilo Date: Sat Nov 16 16:21:54 2013 New Revision: 334012 URL: http://svnweb.freebsd.org/changeset/ports/334012 Log: - Convert USE_GMAKE to USES - Add stage support Modified: head/games/rockdodger/Makefile head/games/rockdodger/pkg-plist Modified: head/games/rockdodger/Makefile ============================================================================== --- head/games/rockdodger/Makefile Sat Nov 16 16:11:08 2013 (r334011) +++ head/games/rockdodger/Makefile Sat Nov 16 16:21:54 2013 (r334012) @@ -11,21 +11,25 @@ MAINTAINER= ports@FreeBSD.org COMMENT= Addictive rock-dodging greeblie-killing platform game USE_SDL= mixer image sdl -USE_GMAKE= yes +USES= gmake GAMESDIR?= /var/games -NO_STAGE= yes pre-patch: @${REINPLACE_CMD} \ -e "s%/usr/share/rockdodger/.highscore%${GAMESDIR}/rockdodger.highscore%" \ -e "s%/usr/share/rockdodger%${PREFIX}/share/rockdodger%" \ -e "s%/usr/games%${PREFIX}/bin%" \ + ${WRKSRC}/main.c + @${REINPLACE_CMD} \ + -e "s%/usr/share/rockdodger/.highscore%${STAGEDIR}${GAMESDIR}/rockdodger.highscore%" \ + -e "s%/usr/games%${STAGEDIR}${PREFIX}/bin%" \ + -e "s%/usr/share/rockdodger%${STAGEDIR}${PREFIX}/share/rockdodger%" \ -e "s%data/\*.{bmp,png,wav,mod}%data/*%" \ - ${WRKSRC}/Makefile ${WRKSRC}/main.c + ${WRKSRC}/Makefile @cd ${WRKSRC} && ${REINPLACE_CMD} -e "s%#include Modified: head/games/rockdodger/pkg-plist ============================================================================== --- head/games/rockdodger/pkg-plist Sat Nov 16 16:11:08 2013 (r334011) +++ head/games/rockdodger/pkg-plist Sat Nov 16 16:21:54 2013 (r334012) @@ -1,4 +1,10 @@ +@group games +@mode 2755 bin/rockdodger +@mode +@group +@exec touch /var/games/rockdodger.highscore ; chmod 664 /var/games/rockdodger.highscore +@unexec if [ -f /var/games/rockdodger.highscore ] ; then rm /var/games/rockdodger.highscore; fi %%DATADIR%%/data/20P_Betadance.png %%DATADIR%%/data/4est_fulla3s.mod %%DATADIR%%/data/boom.wav