blob: dbec10c3ee7f6fd13196176bff0cee757100edd2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
PORTNAME= explosions
PORTVERSION= 0.2005.07.31
PORTREVISION= 16
CATEGORIES= misc
MASTER_SITES= ftp://ftp.tuxpaint.org/unix/x/${PORTNAME}/ \
SF/nemysisfreebsdp/${CATEGORIES}/:icons
DISTNAME= ${PORTNAME}-${PORTVERSION:S/^0.//}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
${PORTNAME}.png:icons
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= ports@FreeBSD.org
COMMENT= 3D objects flying around resembling explosions with various effects
WWW= http://www.newbreedsoftware.com/lab/explosions/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING.txt
USES= gmake perl5 sdl
USE_PERL5= build
USE_SDL= sdl image
PORTDOCS= BUGS.txt CHANGES.txt README.txt
OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="Explosions" "" "${PORTNAME}" \
"${PORTNAME}" "Game;Graphics;" ""
post-patch:
@${REINPLACE_CMD} -e 's|CFLAGS=-Wall -O2|CFLAGS+=-Wall|; \
s|sdl-config|${SDL_CONFIG}|' \
${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|spark%d.png|${DATADIR}/spark%d.png|' \
${WRKSRC}/explosions.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
@${MKDIR} ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${WRKSRC}/spark?.png ${STAGEDIR}${DATADIR}
${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
|