1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/misc/explosions/Makefile
Florent Thoumie d4f0d0048a - Welcome X.org 7.2 \o/.
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}.
- Bump PORTREVISION for ports intalling files in ${X11BASE}.
2007-05-19 20:36:56 +00:00

42 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.2005.07.31
PORTREVISION= 4
CATEGORIES= misc
MASTER_SITES= ftp://ftp.billsgames.com/unix/x/explosions/
DISTNAME= ${PORTNAME}-${PORTVERSION:S/^0.//}
MAINTAINER= ports@FreeBSD.org
COMMENT= 3D objects flying around resembling explosions with various effects
USE_SDL= sdl image
USE_GMAKE= yes
USE_PERL5_BUILD=yes
USE_X_PREFIX= yes
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>