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

Collapse All | Expand All

(-)./Makefile (-13 / +6 lines)
Lines 7-19 Link Here
7
7
8
PORTNAME=	madbomber
8
PORTNAME=	madbomber
9
PORTVERSION=	0.2.5
9
PORTVERSION=	0.2.5
10
PORTREVISION=	12
10
PORTREVISION=	13
11
CATEGORIES=	games
11
CATEGORIES=	games
12
MASTER_SITES=	ftp://ftp.tuxpaint.org/unix/x/madbomber/src/ \
12
MASTER_SITES=	ftp://ftp.tuxpaint.org/unix/x/madbomber/src/ \
13
		ftp://ftp.billsgames.com/unix/x/madbomber/src/
13
		ftp://ftp.billsgames.com/unix/x/madbomber/src/
14
14
15
MAINTAINER=	nemysis@gmx.ch
15
MAINTAINER=	nemysis@gmx.ch
16
COMMENT=	A clone of Activision's classic Atari 2600 console game "Kaboom!"
16
COMMENT=	Clone of Activision's classic Atari 2600 console game "Kaboom!"
17
17
18
LICENSE=	GPLv2
18
LICENSE=	GPLv2
19
19
Lines 22-33 Link Here
22
CPPFLAGS+=	`${SDL_CONFIG} --cflags` -DDATA_PREFIX=\"${DATADIR}/\"
22
CPPFLAGS+=	`${SDL_CONFIG} --cflags` -DDATA_PREFIX=\"${DATADIR}/\"
23
LDFLAGS+=	`${SDL_CONFIG} --libs`
23
LDFLAGS+=	`${SDL_CONFIG} --libs`
24
24
25
PLIST_FILES=	bin/${PORTNAME} \
26
		share/pixmaps/${PORTNAME}.png
27
28
PORTDATA=	*
29
PORTDOCS=	AUTHORS.txt CHANGES.txt README.txt TODO.txt
25
PORTDOCS=	AUTHORS.txt CHANGES.txt README.txt TODO.txt
30
26
27
DESKTOP_ENTRIES="Mad Bomber" "${COMMENT}" "${PORTNAME}" \
28
		"${PORTNAME}" "Game;ArcadeGame;" ${FALSE}
29
31
.include <bsd.port.options.mk>
30
.include <bsd.port.options.mk>
32
31
33
do-build:
32
do-build:
Lines 35-58 Link Here
35
		${PORTNAME}.c ${LDFLAGS} -lSDL_mixer -lSDL_image
34
		${PORTNAME}.c ${LDFLAGS} -lSDL_mixer -lSDL_image
36
35
37
do-install:
36
do-install:
38
# Executable
39
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
37
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
40
38
41
# Data
42
	${MKDIR} ${DATADIR}
39
	${MKDIR} ${DATADIR}
43
.for d in images music sounds
40
.for d in images music sounds
44
	@(cd ${WRKSRC}/data && ${COPYTREE_SHARE} ${d} ${DATADIR})
41
	@(cd ${WRKSRC}/data && ${COPYTREE_SHARE} ${d} ${DATADIR})
45
.endfor
42
.endfor
46
43
47
# Pixmaps
48
	${INSTALL_DATA} ${WRKSRC}/data/images/icon.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
44
	${INSTALL_DATA} ${WRKSRC}/data/images/icon.png ${PREFIX}/share/pixmaps/${PORTNAME}.png
49
45
50
# Documentation
51
.if ${PORT_OPTIONS:MDOCS}
46
.if ${PORT_OPTIONS:MDOCS}
52
	${MKDIR} ${DOCSDIR}
47
	${MKDIR} ${DOCSDIR}
53
.  for f in ${PORTDOCS}
48
	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
54
	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
55
.  endfor
56
.endif
49
.endif
57
50
58
.include <bsd.port.mk>
51
.include <bsd.port.mk>
(-)./pkg-plist (+141 lines)
Line 0 Link Here
1
bin/madbomber
2
%%DATADIR%%/images/bar.png
3
%%DATADIR%%/images/game/background.png
4
%%DATADIR%%/images/game/bomb/bomb0.png
5
%%DATADIR%%/images/game/bomb/bomb1.png
6
%%DATADIR%%/images/game/bomb/bomb2.png
7
%%DATADIR%%/images/game/bomb/bomb3.png
8
%%DATADIR%%/images/game/bomb/explosion1.png
9
%%DATADIR%%/images/game/bomb/explosion2.png
10
%%DATADIR%%/images/game/bomber/bomber-amazed.png
11
%%DATADIR%%/images/game/bomber/bomber-happy.png
12
%%DATADIR%%/images/game/bomber/bomber-sad.png
13
%%DATADIR%%/images/game/bucket/bucket1.png
14
%%DATADIR%%/images/game/bucket/bucket1red.png
15
%%DATADIR%%/images/game/bucket/bucket2.png
16
%%DATADIR%%/images/game/bucket/bucket2red.png
17
%%DATADIR%%/images/game/bucket/bucket3.png
18
%%DATADIR%%/images/game/bucket/bucket3red.png
19
%%DATADIR%%/images/game/bucket/small-bucket1.png
20
%%DATADIR%%/images/game/bucket/small-bucket1red.png
21
%%DATADIR%%/images/game/bucket/small-bucket2.png
22
%%DATADIR%%/images/game/bucket/small-bucket2red.png
23
%%DATADIR%%/images/game/bucket/small-bucket3.png
24
%%DATADIR%%/images/game/bucket/small-bucket3red.png
25
%%DATADIR%%/images/game/drop/drop-down.png
26
%%DATADIR%%/images/game/drop/drop-left-down.png
27
%%DATADIR%%/images/game/drop/drop-left-up.png
28
%%DATADIR%%/images/game/drop/drop-left.png
29
%%DATADIR%%/images/game/drop/drop-right-down.png
30
%%DATADIR%%/images/game/drop/drop-right-up.png
31
%%DATADIR%%/images/game/drop/drop-right.png
32
%%DATADIR%%/images/game/drop/drop-up.png
33
%%DATADIR%%/images/game/game-over.png
34
%%DATADIR%%/images/game/highscore.png
35
%%DATADIR%%/images/game/numbers/0.png
36
%%DATADIR%%/images/game/numbers/0red.png
37
%%DATADIR%%/images/game/numbers/1.png
38
%%DATADIR%%/images/game/numbers/1red.png
39
%%DATADIR%%/images/game/numbers/2.png
40
%%DATADIR%%/images/game/numbers/2red.png
41
%%DATADIR%%/images/game/numbers/3.png
42
%%DATADIR%%/images/game/numbers/3red.png
43
%%DATADIR%%/images/game/numbers/4.png
44
%%DATADIR%%/images/game/numbers/4red.png
45
%%DATADIR%%/images/game/numbers/5.png
46
%%DATADIR%%/images/game/numbers/5red.png
47
%%DATADIR%%/images/game/numbers/6.png
48
%%DATADIR%%/images/game/numbers/6red.png
49
%%DATADIR%%/images/game/numbers/7.png
50
%%DATADIR%%/images/game/numbers/7red.png
51
%%DATADIR%%/images/game/numbers/8.png
52
%%DATADIR%%/images/game/numbers/8red.png
53
%%DATADIR%%/images/game/numbers/9.png
54
%%DATADIR%%/images/game/numbers/9red.png
55
%%DATADIR%%/images/game/paused.png
56
%%DATADIR%%/images/game/press-escape.png
57
%%DATADIR%%/images/game/press-fire.png
58
%%DATADIR%%/images/highscore/highscore.png
59
%%DATADIR%%/images/highscore/letters.png
60
%%DATADIR%%/images/icon.png
61
%%DATADIR%%/images/loading.png
62
%%DATADIR%%/images/make-offs.sh
63
%%DATADIR%%/images/options/0percent-off.png
64
%%DATADIR%%/images/options/0percent.png
65
%%DATADIR%%/images/options/100percent-off.png
66
%%DATADIR%%/images/options/100percent.png
67
%%DATADIR%%/images/options/25percent-off.png
68
%%DATADIR%%/images/options/25percent.png
69
%%DATADIR%%/images/options/50percent-off.png
70
%%DATADIR%%/images/options/50percent.png
71
%%DATADIR%%/images/options/75percent-off.png
72
%%DATADIR%%/images/options/75percent.png
73
%%DATADIR%%/images/options/detail.png
74
%%DATADIR%%/images/options/difficulty.png
75
%%DATADIR%%/images/options/effects.png
76
%%DATADIR%%/images/options/hard-off.png
77
%%DATADIR%%/images/options/hard.png
78
%%DATADIR%%/images/options/music.png
79
%%DATADIR%%/images/options/normal-off.png
80
%%DATADIR%%/images/options/normal.png
81
%%DATADIR%%/images/options/ok-off.png
82
%%DATADIR%%/images/options/ok.png
83
%%DATADIR%%/images/options/options.png
84
%%DATADIR%%/images/options/player-one.png
85
%%DATADIR%%/images/options/player-two.png
86
%%DATADIR%%/images/options/volume.png
87
%%DATADIR%%/images/options/zen-off.png
88
%%DATADIR%%/images/options/zen.png
89
%%DATADIR%%/images/spray-black.png
90
%%DATADIR%%/images/spray-blue.png
91
%%DATADIR%%/images/spray-cyan.png
92
%%DATADIR%%/images/title/exit-off.png
93
%%DATADIR%%/images/title/exit.png
94
%%DATADIR%%/images/title/highscore-off.png
95
%%DATADIR%%/images/title/highscore.png
96
%%DATADIR%%/images/title/one-player-off.png
97
%%DATADIR%%/images/title/one-player.png
98
%%DATADIR%%/images/title/options-off.png
99
%%DATADIR%%/images/title/options.png
100
%%DATADIR%%/images/title/title.png
101
%%DATADIR%%/images/title/two-player-vs-off.png
102
%%DATADIR%%/images/title/two-player-vs.png
103
%%DATADIR%%/images/title/two-players-off.png
104
%%DATADIR%%/images/title/two-players.png
105
%%DATADIR%%/music/astraltr.mod
106
%%DATADIR%%/music/bizjung.it
107
%%DATADIR%%/music/fdn-arab.s3m
108
%%DATADIR%%/music/gluppobe.mod
109
%%DATADIR%%/music/waterfal.mod
110
%%DATADIR%%/sounds/bigexplosion.wav
111
%%DATADIR%%/sounds/can-shake.wav
112
%%DATADIR%%/sounds/confirm.wav
113
%%DATADIR%%/sounds/explosion.wav
114
%%DATADIR%%/sounds/fuse.wav
115
%%DATADIR%%/sounds/highscore.wav
116
%%DATADIR%%/sounds/level8.wav
117
%%DATADIR%%/sounds/oneup.wav
118
%%DATADIR%%/sounds/select.wav
119
%%DATADIR%%/sounds/splash1.wav
120
%%DATADIR%%/sounds/splash2.wav
121
%%DATADIR%%/sounds/splash3.wav
122
%%DATADIR%%/sounds/splash4.wav
123
%%DATADIR%%/sounds/splash5.wav
124
%%DATADIR%%/sounds/splash6.wav
125
%%DATADIR%%/sounds/splash7.wav
126
%%DATADIR%%/sounds/splash8.wav
127
%%DATADIR%%/sounds/spray.wav
128
share/pixmaps/madbomber.png
129
@dirrm %%DATADIR%%/sounds
130
@dirrm %%DATADIR%%/music
131
@dirrm %%DATADIR%%/images/title
132
@dirrm %%DATADIR%%/images/options
133
@dirrm %%DATADIR%%/images/highscore
134
@dirrm %%DATADIR%%/images/game/numbers
135
@dirrm %%DATADIR%%/images/game/drop
136
@dirrm %%DATADIR%%/images/game/bucket
137
@dirrm %%DATADIR%%/images/game/bomber
138
@dirrm %%DATADIR%%/images/game/bomb
139
@dirrm %%DATADIR%%/images/game
140
@dirrm %%DATADIR%%/images
141
@dirrm %%DATADIR%%

Return to bug 173431