1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/misc/explosions/Makefile
Mario Sergio Fujikawa Ferreira d79868927d New port explosions version 0.2001.08.05: 3D objects flying around
resembling explosions with various effects.

Submitted by:	Pete Fritchman <petef@databits.net>
2001-08-08 17:56:08 +00:00

43 lines
1.0 KiB
Makefile

# New ports collection makefile for: explosions
# Date created: 8 August 2001
# Whom: Pete Fritchman <petef@databits.net>
#
# $FreeBSD$
#
PORTNAME= explosions
PORTVERSION= 0.2001.08.05
CATEGORIES= misc
MASTER_SITES= ftp://ftp.sonic.net/pub/users/nbs/unix/x/explosions/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/^0.//}
MAINTAINER= petef@databits.net
LIB_DEPENDS= SDL-1.1.3:${PORTSDIR}/devel/sdl12 \
SDL_image.10:${PORTSDIR}/graphics/sdl_image
USE_GMAKE= yes
USE_X_PREFIX= yes
SDL_CONFIG= ${LOCALBASE}/bin/sdl11-config
post-patch:
@${PERL} -pi -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!' \
${WRKSRC}/explosions.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/explosions ${PREFIX}/bin
@${MKDIR} ${DATADIR}
${INSTALL_DATA} ${WRKSRC}/spark?.png ${DATADIR}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
.for file in BUGS.txt CHANGES.txt README.txt
${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
.endfor
.endif
.include <bsd.port.mk>