View | Details | Raw Unified | Return to bug 207989
Collapse All | Expand All

(-)games/lbreakout2/Makefile (-5 / +10 lines)
Lines 2-9 Link Here
2
# $FreeBSD: head/games/lbreakout2/Makefile 405891 2016-01-12 16:20:31Z amdmi3 $
2
# $FreeBSD: head/games/lbreakout2/Makefile 405891 2016-01-12 16:20:31Z amdmi3 $
3
3
4
PORTNAME=	lbreakout2
4
PORTNAME=	lbreakout2
5
PORTVERSION=	2.6.4
5
PORTVERSION=	2.6.5
6
PORTREVISION=	3
7
CATEGORIES=	games
6
CATEGORIES=	games
8
MASTER_SITES=	SF/lgames/${PORTNAME}/${PORTVERSION:R}
7
MASTER_SITES=	SF/lgames/${PORTNAME}/${PORTVERSION:R}
9
8
Lines 11-17 Link Here
11
COMMENT=	Breakout-style arcade game
10
COMMENT=	Breakout-style arcade game
12
11
13
LICENSE=	GPLv2+
12
LICENSE=	GPLv2+
13
LICENSE_FILE=	${WRKSRC}/COPYING
14
14
15
BUILD_DEPENDS=	gif2png:${PORTSDIR}/graphics/gif2png
15
LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png
16
LIB_DEPENDS=	libpng.so:${PORTSDIR}/graphics/png
16
17
17
USES=		gmake
18
USES=		gmake
Lines 24-31 Link Here
24
CPPFLAGS+=	$$(libpng-config --I_opts)
25
CPPFLAGS+=	$$(libpng-config --I_opts)
25
LDFLAGS+=	$$(libpng-config --L_opts)
26
LDFLAGS+=	$$(libpng-config --L_opts)
26
27
27
PKGDEINSTALL=	${PKGINSTALL}
28
29
OPTIONS_DEFINE=		DOCS NLS
28
OPTIONS_DEFINE=		DOCS NLS
30
OPTIONS_SUB=		yes
29
OPTIONS_SUB=		yes
31
30
Lines 36-48 Link Here
36
	@${REINPLACE_CMD} -e \
35
	@${REINPLACE_CMD} -e \
37
		'/if test/s|==|=|' ${WRKSRC}/configure
36
		'/if test/s|==|=|' ${WRKSRC}/configure
38
	@${REINPLACE_CMD} -e \
37
	@${REINPLACE_CMD} -e \
39
		's|/icons|/pixmaps|' ${WRKSRC}/Makefile.in
38
		'/^icondir/s|icons|pixmaps| ; \
39
		 /^icon_DATA/s|48.gif|2.png| ; \
40
		 /Icon=/s|$$(datadir).*.gif|lbreakout2|' ${WRKSRC}/Makefile.in
40
	@${REINPLACE_CMD} -e \
41
	@${REINPLACE_CMD} -e \
41
		'/LDADD =/s|$$| @INTLLIBS@| ; \
42
		'/LDADD =/s|$$| @INTLLIBS@| ; \
42
		 s|: install-data-local|:|' ${WRKSRC}/client/Makefile.in
43
		 s|: install-data-local|:|' ${WRKSRC}/client/Makefile.in
43
	@${REINPLACE_CMD} -e \
44
	@${REINPLACE_CMD} -e \
44
		'/LDADD =/s|$$| @INTLLIBS@|' ${WRKSRC}/server/Makefile.in
45
		'/LDADD =/s|$$| @INTLLIBS@|' ${WRKSRC}/server/Makefile.in
45
46
47
pre-build:
48
	(cd ${WRKSRC} && ${CAT} lbreakout48.gif | gif2png -O -f \
49
		> lbreakout2.png)
50
46
post-install:
51
post-install:
47
	(cd ${WRKSRC}/client && ${INSTALL_DATA} empty.hscr \
52
	(cd ${WRKSRC}/client && ${INSTALL_DATA} empty.hscr \
48
		${STAGEDIR}${DATADIR})
53
		${STAGEDIR}${DATADIR})
(-)games/lbreakout2/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (lbreakout2-2.6.4.tar.gz) = 0b90716d52e67c27ff41ab7aa5c09dad4f5f19a78076cc57dd4b4d7ed2c1dbd9
1
SHA256 (lbreakout2-2.6.5.tar.gz) = 9104d6175553da3442dc6a5fc407a669e2f5aff3eedc5d30409eb003b7a78d6f
2
SIZE (lbreakout2-2.6.4.tar.gz) = 3470380
2
SIZE (lbreakout2-2.6.5.tar.gz) = 3491519
(-)games/lbreakout2/pkg-install (-23 lines)
Lines 1-23 Link Here
1
#!/bin/sh
2
3
SCOREDIR=/var/games
4
SCOREFILE=lbreakout2.hscr
5
6
if [ "$2" = "POST-INSTALL" -a -d "$SCOREDIR" ]; then
7
   if [ ! -f "$SCOREDIR/$SCOREFILE" ]; then
8
   echo "===>   Creating initial high score file $SCOREDIR/$SCOREFILE"
9
   install -o root -g games -m 664 ${PKG_PREFIX}/share/lbreakout2/empty.hscr $SCOREDIR/$SCOREFILE
10
   fi
11
fi
12
13
if [ "$2" = "DEINSTALL" -a -d "$SCOREDIR" ]; then
14
   if cmp -s ${PKG_PREFIX}/share/lbreakout2/empty.hscr $SCOREDIR/$SCOREFILE; then
15
      rm -f $SCOREDIR/$SCOREFILE
16
   else
17
      echo "To completely remove the port, please remove the following"
18
      echo "file manually, if it's no longer needed:"
19
      echo
20
      echo "	$SCOREDIR/$SCOREFILE"
21
      echo
22
   fi
23
fi
(-)games/lbreakout2/pkg-plist (-22 / +3 lines)
Lines 35-41 Link Here
35
%%PORTDOCS%%%%DOCSDIR%%/x7.jpg
35
%%PORTDOCS%%%%DOCSDIR%%/x7.jpg
36
%%PORTDOCS%%%%DOCSDIR%%/x8.jpg
36
%%PORTDOCS%%%%DOCSDIR%%/x8.jpg
37
%%PORTDOCS%%%%DOCSDIR%%/x9.jpg
37
%%PORTDOCS%%%%DOCSDIR%%/x9.jpg
38
%%DATADIR%%/empty.hscr
38
@sample(,games,664) %%DATADIR%%/empty.hscr /var/games/lbreakout2.hscr
39
%%DATADIR%%/gfx/AbsoluteB/ABOUT
39
%%DATADIR%%/gfx/AbsoluteB/ABOUT
40
%%DATADIR%%/gfx/AbsoluteB/README
40
%%DATADIR%%/gfx/AbsoluteB/README
41
%%DATADIR%%/gfx/AbsoluteB/back0.png
41
%%DATADIR%%/gfx/AbsoluteB/back0.png
Lines 157-166 Link Here
157
%%DATADIR%%/levels/Alex
157
%%DATADIR%%/levels/Alex
158
%%DATADIR%%/levels/Alexandre
158
%%DATADIR%%/levels/Alexandre
159
%%DATADIR%%/levels/AllNighter
159
%%DATADIR%%/levels/AllNighter
160
%%DATADIR%%/levels/AllWorld
161
%%DATADIR%%/levels/Arcade
160
%%DATADIR%%/levels/Arcade
162
%%DATADIR%%/levels/Arkanoid
161
%%DATADIR%%/levels/Arkanoid
163
%%DATADIR%%/levels/Asteroids
164
%%DATADIR%%/levels/BeOS-4ever
162
%%DATADIR%%/levels/BeOS-4ever
165
%%DATADIR%%/levels/Bertrand
163
%%DATADIR%%/levels/Bertrand
166
%%DATADIR%%/levels/BigBang
164
%%DATADIR%%/levels/BigBang
Lines 180-187 Link Here
180
%%DATADIR%%/levels/D2K
178
%%DATADIR%%/levels/D2K
181
%%DATADIR%%/levels/Daves
179
%%DATADIR%%/levels/Daves
182
%%DATADIR%%/levels/Demons
180
%%DATADIR%%/levels/Demons
183
%%DATADIR%%/levels/EastAsia
184
%%DATADIR%%/levels/EastEurope
185
%%DATADIR%%/levels/Family
181
%%DATADIR%%/levels/Family
186
%%DATADIR%%/levels/Fantaisie
182
%%DATADIR%%/levels/Fantaisie
187
%%DATADIR%%/levels/FatalDoomsday
183
%%DATADIR%%/levels/FatalDoomsday
Lines 191-197 Link Here
191
%%DATADIR%%/levels/Freek
187
%%DATADIR%%/levels/Freek
192
%%DATADIR%%/levels/FunCity
188
%%DATADIR%%/levels/FunCity
193
%%DATADIR%%/levels/Gatinha
189
%%DATADIR%%/levels/Gatinha
194
%%DATADIR%%/levels/GreenBricks
195
%%DATADIR%%/levels/GreenWall
190
%%DATADIR%%/levels/GreenWall
196
%%DATADIR%%/levels/GreenWall2
191
%%DATADIR%%/levels/GreenWall2
197
%%DATADIR%%/levels/GreenWall3
192
%%DATADIR%%/levels/GreenWall3
Lines 202-208 Link Here
202
%%DATADIR%%/levels/HighBall
197
%%DATADIR%%/levels/HighBall
203
%%DATADIR%%/levels/Holidays
198
%%DATADIR%%/levels/Holidays
204
%%DATADIR%%/levels/Hommage
199
%%DATADIR%%/levels/Hommage
205
%%DATADIR%%/levels/Horror
206
%%DATADIR%%/levels/Impossibility
200
%%DATADIR%%/levels/Impossibility
207
%%DATADIR%%/levels/Invisible
201
%%DATADIR%%/levels/Invisible
208
%%DATADIR%%/levels/IoriYagami
202
%%DATADIR%%/levels/IoriYagami
Lines 216-248 Link Here
216
%%DATADIR%%/levels/LBreakout1
210
%%DATADIR%%/levels/LBreakout1
217
%%DATADIR%%/levels/LBreakout2
211
%%DATADIR%%/levels/LBreakout2
218
%%DATADIR%%/levels/Lapis
212
%%DATADIR%%/levels/Lapis
219
%%DATADIR%%/levels/Lattices
220
%%DATADIR%%/levels/Lattsville
213
%%DATADIR%%/levels/Lattsville
221
%%DATADIR%%/levels/LinuxFun
214
%%DATADIR%%/levels/LinuxFun
222
%%DATADIR%%/levels/Lord
215
%%DATADIR%%/levels/Lord
223
%%DATADIR%%/levels/Madness
224
%%DATADIR%%/levels/Maze
216
%%DATADIR%%/levels/Maze
225
%%DATADIR%%/levels/MegaMan2
217
%%DATADIR%%/levels/MegaMan2
226
%%DATADIR%%/levels/Megadoomer
218
%%DATADIR%%/levels/Megadoomer
227
%%DATADIR%%/levels/Memory
228
%%DATADIR%%/levels/MiddleAfrica
229
%%DATADIR%%/levels/MontyHall
219
%%DATADIR%%/levels/MontyHall
230
%%DATADIR%%/levels/NES
220
%%DATADIR%%/levels/NES
231
%%DATADIR%%/levels/N_Arenas
221
%%DATADIR%%/levels/N_Arenas
232
%%DATADIR%%/levels/N_Snapshots
222
%%DATADIR%%/levels/N_Snapshots
233
%%DATADIR%%/levels/Nations
223
%%DATADIR%%/levels/Nations
234
%%DATADIR%%/levels/Negundoid
224
%%DATADIR%%/levels/Negundoid
235
%%DATADIR%%/levels/NewBricks
236
%%DATADIR%%/levels/NewOERG1
225
%%DATADIR%%/levels/NewOERG1
237
%%DATADIR%%/levels/NorthAfrica
238
%%DATADIR%%/levels/NorthAmerica
239
%%DATADIR%%/levels/ObiWan
226
%%DATADIR%%/levels/ObiWan
240
%%DATADIR%%/levels/Oceania
241
%%DATADIR%%/levels/OldGames
242
%%DATADIR%%/levels/OpenSource
227
%%DATADIR%%/levels/OpenSource
243
%%DATADIR%%/levels/OurWorld
228
%%DATADIR%%/levels/OurWorld
244
%%DATADIR%%/levels/P.I.T.A.
229
%%DATADIR%%/levels/P.I.T.A.
245
%%DATADIR%%/levels/PCGames
246
%%DATADIR%%/levels/Pabelo
230
%%DATADIR%%/levels/Pabelo
247
%%DATADIR%%/levels/Patience
231
%%DATADIR%%/levels/Patience
248
%%DATADIR%%/levels/Pawset
232
%%DATADIR%%/levels/Pawset
Lines 258-265 Link Here
258
%%DATADIR%%/levels/SkillShot
242
%%DATADIR%%/levels/SkillShot
259
%%DATADIR%%/levels/Smilies
243
%%DATADIR%%/levels/Smilies
260
%%DATADIR%%/levels/SnyMaxx
244
%%DATADIR%%/levels/SnyMaxx
261
%%DATADIR%%/levels/SouthAfrica
262
%%DATADIR%%/levels/SouthAmerica
263
%%DATADIR%%/levels/StarWars
245
%%DATADIR%%/levels/StarWars
264
%%DATADIR%%/levels/Symmetry
246
%%DATADIR%%/levels/Symmetry
265
%%DATADIR%%/levels/Symmetry-MKII
247
%%DATADIR%%/levels/Symmetry-MKII
Lines 273-280 Link Here
273
%%DATADIR%%/levels/Vader
255
%%DATADIR%%/levels/Vader
274
%%DATADIR%%/levels/WTF
256
%%DATADIR%%/levels/WTF
275
%%DATADIR%%/levels/Weirdness
257
%%DATADIR%%/levels/Weirdness
276
%%DATADIR%%/levels/WestAsia
277
%%DATADIR%%/levels/WestEurope
278
%%DATADIR%%/levels/Wizi
258
%%DATADIR%%/levels/Wizi
279
%%DATADIR%%/levels/Wolvie
259
%%DATADIR%%/levels/Wolvie
280
%%DATADIR%%/levels/WonderWalls
260
%%DATADIR%%/levels/WonderWalls
Lines 320-326 Link Here
320
%%DATADIR%%/sounds/wall.wav
300
%%DATADIR%%/sounds/wall.wav
321
%%DATADIR%%/sounds/weak_ball.wav
301
%%DATADIR%%/sounds/weak_ball.wav
322
%%DATADIR%%/sounds/wontgiveup.wav
302
%%DATADIR%%/sounds/wontgiveup.wav
303
%%NLS%%share/locale/da/LC_MESSAGES/lbreakout2.mo
323
%%NLS%%share/locale/de/LC_MESSAGES/lbreakout2.mo
304
%%NLS%%share/locale/de/LC_MESSAGES/lbreakout2.mo
324
%%NLS%%share/locale/fr/LC_MESSAGES/lbreakout2.mo
305
%%NLS%%share/locale/fr/LC_MESSAGES/lbreakout2.mo
325
%%NLS%%share/locale/tr/LC_MESSAGES/lbreakout2.mo
306
%%NLS%%share/locale/tr/LC_MESSAGES/lbreakout2.mo
326
share/pixmaps/lbreakout48.gif
307
share/pixmaps/lbreakout2.png

Return to bug 207989