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> |