From owner-svn-ports-all@FreeBSD.ORG Thu Feb 13 13:00:37 2014 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 A3A5A8F1; Thu, 13 Feb 2014 13:00:37 +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 8FFC01159; Thu, 13 Feb 2014 13:00:37 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s1DD0bim066347; Thu, 13 Feb 2014 13:00:37 GMT (envelope-from nemysis@svn.freebsd.org) Received: (from nemysis@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s1DD0bld066346; Thu, 13 Feb 2014 13:00:37 GMT (envelope-from nemysis@svn.freebsd.org) Message-Id: <201402131300.s1DD0bld066346@svn.freebsd.org> From: Rusmir Dusko Date: Thu, 13 Feb 2014 13:00:37 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r344093 - head/games/smashbattle 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.17 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: Thu, 13 Feb 2014 13:00:37 -0000 Author: nemysis Date: Thu Feb 13 13:00:37 2014 New Revision: 344093 URL: http://svnweb.freebsd.org/changeset/ports/344093 QAT: https://qat.redports.org/buildarchive/r344093/ Log: - Simplify REINPLACE, don't silence warnings - Use tabulator instead of whitespace PR: ports/186710 Submitted by: amdmi3@ Modified: head/games/smashbattle/Makefile Modified: head/games/smashbattle/Makefile ============================================================================== --- head/games/smashbattle/Makefile Thu Feb 13 12:17:12 2014 (r344092) +++ head/games/smashbattle/Makefile Thu Feb 13 13:00:37 2014 (r344093) @@ -16,7 +16,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/battle/Ba USE_ZIP= yes EXTRACT_AFTER_ARGS= -d ${WRKDIR}/${DISTNAME} USES= dos2unix gmake -DOS2UNIX_FILES= *.cpp *.h Makefile +DOS2UNIX_FILES= *.cpp *.h Makefile USE_SDL= sdl image mixer ALL_TARGET= battle @@ -26,12 +26,11 @@ pre-extract: SUB_FILES= ${PORTNAME} post-patch: - @${REINPLACE_CMD} \ - -e 's|CC=|CC?=| ; \ - s|CFLAGS=-c -Wall|CFLAGS += $$(shell sdl-config --cflags) -c -w| ; \ + @${REINPLACE_CMD} -e 's|CC=|CC?=|; \ + s|CFLAGS=-c -Wall|CFLAGS += $$(shell sdl-config --cflags) -c -Wall|; \ s|LDFLAGS=-lSDL -lSDL_mixer -lz -lstdc++|LDFLAGS += $$(shell $${SDL_CONFIG} --libs) -lSDL -lSDL_mixer -lz -lstdc++ -lm|' \ ${WRKSRC}/Makefile - @${REINPLACE_CMD} -e 's|/usr/share/games/smashbattle/gfx/SB.png|${PORTNAME}| ; \ + @${REINPLACE_CMD} -e 's|/usr/share/games/smashbattle/gfx/SB.png|${PORTNAME}|; \ s|/usr/local/bin/smashbattle|${PORTNAME}|' \ ${WRKSRC}/linux/*.desktop