View | Details | Raw Unified | Return to bug 174069 | Differences between
and this patch

Collapse All | Expand All

(-)./Makefile (-17 / +33 lines)
Lines 7-40 Link Here
7
7
8
PORTNAME=	explosions
8
PORTNAME=	explosions
9
PORTVERSION=	0.2005.07.31
9
PORTVERSION=	0.2005.07.31
10
PORTREVISION=	12
10
PORTREVISION=	13
11
CATEGORIES=	misc
11
CATEGORIES=	misc games graphics
12
MASTER_SITES=	ftp://ftp.billsgames.com/unix/x/explosions/
12
MASTER_SITES=	ftp://ftp.tuxpaint.org/unix/x/explosions/ \
13
DISTNAME=	${PORTNAME}-${PORTVERSION:S/^0.//}
13
		ftp://ftp.billsgames.com/unix/x/explosions/ \
14
		SF/nemysisfreebsdp/:icons
15
DISTFILES=	${PORTNAME}-${DISTVERSION:S/^0.//}${EXTRACT_SUFX} \
16
		${PORTNAME}.png:icons
17
DIST_SUBDIR=	${PORTNAME}
18
EXTRACT_ONLY=	${PORTNAME}-${DISTVERSION:S/^0.//}${EXTRACT_SUFX}
14
19
15
MAINTAINER=	ports@FreeBSD.org
20
MAINTAINER=	nemysis@gmx.ch
16
COMMENT=	3D objects flying around resembling explosions with various effects
21
COMMENT=	3D objects flying around resembling explosions with various effects
17
22
23
LICENSE=	GPLv2
24
25
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION:S/^0.//}
26
18
USE_SDL=	sdl image
27
USE_SDL=	sdl image
19
USE_GMAKE=	yes
28
USE_GMAKE=	yes
20
USE_PERL5_BUILD=yes
29
30
PORTDOCS=	BUGS.txt CHANGES.txt README.txt
31
32
DESKTOP_ENTRIES="Explosions" "${COMMENT}" "${PORTNAME}" \
33
		"${PORTNAME}" "Application;Game;Graphics;" ${FALSE}
34
35
.include <bsd.port.options.mk>
21
36
22
post-patch:
37
post-patch:
23
	@${PERL} -pi -e 's!CFLAGS=-Wall -O2!CFLAGS+=-Wall!; \
38
	@${REINPLACE_CMD} \
24
		s!sdl-config!${SDL_CONFIG}!' \
39
	-e 's|CFLAGS=-Wall -O2|CFLAGS=-Wall|' \
40
	-e 's|sdl-config|${SDL_CONFIG}|g' \
25
		${WRKSRC}/Makefile
41
		${WRKSRC}/Makefile
26
	@${PERL} -pi -e 's!spark%d.png!${DATADIR}/spark%d.png!' \
42
	@${REINPLACE_CMD} -e 's|spark%d.png|${DATADIR}/spark%d.png|' \
27
		${WRKSRC}/explosions.c
43
		${WRKSRC}/explosions.c
28
44
29
do-install:
45
do-install:
30
	${INSTALL_PROGRAM} ${WRKSRC}/explosions ${PREFIX}/bin
46
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
31
	@${MKDIR} ${DATADIR}
47
	${MKDIR} ${DATADIR}
32
	${INSTALL_DATA} ${WRKSRC}/spark?.png ${DATADIR}
48
	${INSTALL_DATA} ${WRKSRC}/*.png ${DATADIR}
33
.if !defined(NOPORTDOCS)
49
	${INSTALL_DATA} ${DISTDIR}/${DIST_SUBDIR}/${PORTNAME}.png ${PREFIX}/share/pixmaps
34
	@${MKDIR} ${DOCSDIR}
50
35
.for file in BUGS.txt CHANGES.txt README.txt
51
.if ${PORT_OPTIONS:MDOCS}
36
	${INSTALL_DATA} ${WRKSRC}/${file} ${DOCSDIR}
52
	${MKDIR} ${DOCSDIR}
37
.endfor
53
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
38
.endif
54
.endif
39
55
40
.include <bsd.port.mk>
56
.include <bsd.port.mk>
(-)./distinfo (-2 / +4 lines)
Lines 1-2 Link Here
1
SHA256 (explosions-2005.07.31.tar.gz) = 8203ed455caee9c0ad0e75b31462bb7c7a9c2860079deb7671c914d5cde37ae8
1
SHA256 (explosions/explosions-2005.07.31.tar.gz) = 8203ed455caee9c0ad0e75b31462bb7c7a9c2860079deb7671c914d5cde37ae8
2
SIZE (explosions-2005.07.31.tar.gz) = 40219
2
SIZE (explosions/explosions-2005.07.31.tar.gz) = 40219
3
SHA256 (explosions/explosions.png) = 3f5c330d41b5bf46598a00f8d75ebbe2bfa08bbbb9a649f0e96833331d727a87
4
SIZE (explosions/explosions.png) = 1740
(-)./pkg-descr (-6 / +5 lines)
Lines 1-9 Link Here
1
This is a simplified 3D world with alpha-blended objects that look
1
Explosions is a simplified 3D world with alpha-blended objects that look
2
kind of like fireworks or sparks. It also has a number of effects
2
kind of like fireworks or sparks. It also has a number of effects built in,
3
built in, such as fading, blurring, fire ("heat"), and zooming.
3
such as fading, blurring, fire ("heat"), and zooming.
4
4
5
It serves no purpose except to look pretty. The source-code is also
5
It serves no purpose except to look pretty. The source-code is also
6
well-documented, so someone might find it useful in learning SDL
6
well-documented, so someone might find it useful in learning SDL routines.
7
routines.
7
 
8
9
WWW: http://www.newbreedsoftware.com/lab/explosions/
8
WWW: http://www.newbreedsoftware.com/lab/explosions/
(-)./pkg-plist (-4 / +1 lines)
Lines 1-7 Link Here
1
bin/explosions
1
bin/explosions
2
%%PORTDOCS%%%%DOCSDIR%%/BUGS.txt
3
%%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt
4
%%PORTDOCS%%%%DOCSDIR%%/README.txt
5
%%DATADIR%%/spark1.png
2
%%DATADIR%%/spark1.png
6
%%DATADIR%%/spark2.png
3
%%DATADIR%%/spark2.png
7
%%DATADIR%%/spark3.png
4
%%DATADIR%%/spark3.png
Lines 9-13 Link Here
9
%%DATADIR%%/spark5.png
6
%%DATADIR%%/spark5.png
10
%%DATADIR%%/spark6.png
7
%%DATADIR%%/spark6.png
11
%%DATADIR%%/spark7.png
8
%%DATADIR%%/spark7.png
9
share/pixmaps/explosions.png
12
@dirrm %%DATADIR%%
10
@dirrm %%DATADIR%%
13
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 174069