svn commit: r344093 - head/games/smashbattle

Rusmir Dusko nemysis at FreeBSD.org
Thu Feb 13 13:00:37 UTC 2014


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
 


More information about the svn-ports-all mailing list