aboutsummaryrefslogtreecommitdiffstats
path: root/misc/explosions
diff options
context:
space:
mode:
authoraz <az@FreeBSD.org>2013-07-26 15:33:41 +0800
committeraz <az@FreeBSD.org>2013-07-26 15:33:41 +0800
commit665183f53eb74ec3fb00d82d5e4d998804f85ad2 (patch)
treee2c71147def7c03ff268350288657b4e7692d180 /misc/explosions
parente80ef1fc474e04a3b1999f45fd39114572d34f44 (diff)
downloadfreebsd-ports-gnome-665183f53eb74ec3fb00d82d5e4d998804f85ad2.tar.gz
freebsd-ports-gnome-665183f53eb74ec3fb00d82d5e4d998804f85ad2.tar.zst
freebsd-ports-gnome-665183f53eb74ec3fb00d82d5e4d998804f85ad2.zip
- switch simple inline replacement from perl to sed
and remove where is no need in this anymore. - trim Makefile header Approved by: bapt@ (portmrg@)
Diffstat (limited to 'misc/explosions')
-rw-r--r--misc/explosions/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/misc/explosions/Makefile b/misc/explosions/Makefile
index 92f853a21f2d..bc474112746a 100644
--- a/misc/explosions/Makefile
+++ b/misc/explosions/Makefile
@@ -18,10 +18,10 @@ USE_PERL5_BUILD=yes
.include <bsd.port.options.mk>
post-patch:
- @${PERL} -pi -e 's!CFLAGS=-Wall -O2!CFLAGS+=-Wall!; \
- s!sdl-config!${SDL_CONFIG}!' \
+ @${REINPLACE_CMD} -i '' -e 's!CFLAGS=-Wall -O2!CFLAGS+=-Wall!; \
+ s!sdl-config!${SDL_CONFIG}!' \
${WRKSRC}/Makefile
- @${PERL} -pi -e 's!spark%d.png!${DATADIR}/spark%d.png!' \
+ @${REINPLACE_CMD} -i '' -e 's!spark%d.png!${DATADIR}/spark%d.png!' \
${WRKSRC}/explosions.c
do-install: