summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRusmir Dusko <nemysis@FreeBSD.org>2014-02-13 13:00:37 +0000
committerRusmir Dusko <nemysis@FreeBSD.org>2014-02-13 13:00:37 +0000
commit54ffbb0949dad821f9d67b19c3a62f6dd17efafa (patch)
tree0459e79b5c3c80d8604f82e8635081a2b0dbf02d
parent- Simplify REINPLACE, don't silence warnings (diff)
- Simplify REINPLACE, don't silence warnings
- Use tabulator instead of whitespace PR: ports/186710 Submitted by: amdmi3@
Notes
Notes: svn path=/head/; revision=344093
-rw-r--r--games/smashbattle/Makefile9
1 files changed, 4 insertions, 5 deletions
diff --git a/games/smashbattle/Makefile b/games/smashbattle/Makefile
index 72e4171c23a5..b9e716c9826e 100644
--- a/games/smashbattle/Makefile
+++ b/games/smashbattle/Makefile
@@ -16,7 +16,7 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/battle/Battle
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