FreeBSD Bugzilla – Attachment 168168 Details for
Bug 207989
[PATCH] games/lbreakout2: Update to version 2.6.5
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
games_lbreakout2.diff
games_lbreakout2.diff (text/plain), 6.31 KB, created by
tkato432
on 2016-03-14 18:33:06 UTC
(
hide
)
Description:
games_lbreakout2.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2016-03-14 18:33:06 UTC
Size:
6.31 KB
patch
obsolete
>diff -urN /usr/ports/games/lbreakout2/Makefile games/lbreakout2/Makefile >--- /usr/ports/games/lbreakout2/Makefile 2016-01-13 07:48:02.301678000 +0900 >+++ games/lbreakout2/Makefile 2016-03-15 00:00:00.000000000 +0900 >@@ -2,8 +2,7 @@ > # $FreeBSD: head/games/lbreakout2/Makefile 405891 2016-01-12 16:20:31Z amdmi3 $ > > PORTNAME= lbreakout2 >-PORTVERSION= 2.6.4 >-PORTREVISION= 3 >+PORTVERSION= 2.6.5 > CATEGORIES= games > MASTER_SITES= SF/lgames/${PORTNAME}/${PORTVERSION:R} > >@@ -11,7 +10,9 @@ > COMMENT= Breakout-style arcade game > > LICENSE= GPLv2+ >+LICENSE_FILE= ${WRKSRC}/COPYING > >+BUILD_DEPENDS= gif2png:${PORTSDIR}/graphics/gif2png > LIB_DEPENDS= libpng.so:${PORTSDIR}/graphics/png > > USES= gmake >@@ -24,8 +25,6 @@ > CPPFLAGS+= $$(libpng-config --I_opts) > LDFLAGS+= $$(libpng-config --L_opts) > >-PKGDEINSTALL= ${PKGINSTALL} >- > OPTIONS_DEFINE= DOCS NLS > OPTIONS_SUB= yes > >@@ -36,13 +35,19 @@ > @${REINPLACE_CMD} -e \ > '/if test/s|==|=|' ${WRKSRC}/configure > @${REINPLACE_CMD} -e \ >- 's|/icons|/pixmaps|' ${WRKSRC}/Makefile.in >+ '/^icondir/s|icons|pixmaps| ; \ >+ /^icon_DATA/s|48.gif|2.png| ; \ >+ /Icon=/s|$$(datadir).*.gif|lbreakout2|' ${WRKSRC}/Makefile.in > @${REINPLACE_CMD} -e \ > '/LDADD =/s|$$| @INTLLIBS@| ; \ > s|: install-data-local|:|' ${WRKSRC}/client/Makefile.in > @${REINPLACE_CMD} -e \ > '/LDADD =/s|$$| @INTLLIBS@|' ${WRKSRC}/server/Makefile.in > >+pre-build: >+ (cd ${WRKSRC} && ${CAT} lbreakout48.gif | gif2png -O -f \ >+ > lbreakout2.png) >+ > post-install: > (cd ${WRKSRC}/client && ${INSTALL_DATA} empty.hscr \ > ${STAGEDIR}${DATADIR}) >diff -urN /usr/ports/games/lbreakout2/distinfo games/lbreakout2/distinfo >--- /usr/ports/games/lbreakout2/distinfo 2015-08-24 04:04:23.025410000 +0900 >+++ games/lbreakout2/distinfo 2016-03-15 00:00:00.000000000 +0900 >@@ -1,2 +1,2 @@ >-SHA256 (lbreakout2-2.6.4.tar.gz) = 0b90716d52e67c27ff41ab7aa5c09dad4f5f19a78076cc57dd4b4d7ed2c1dbd9 >-SIZE (lbreakout2-2.6.4.tar.gz) = 3470380 >+SHA256 (lbreakout2-2.6.5.tar.gz) = 9104d6175553da3442dc6a5fc407a669e2f5aff3eedc5d30409eb003b7a78d6f >+SIZE (lbreakout2-2.6.5.tar.gz) = 3491519 >diff -urN /usr/ports/games/lbreakout2/pkg-install games/lbreakout2/pkg-install >--- /usr/ports/games/lbreakout2/pkg-install 2015-08-24 04:04:23.038536000 +0900 >+++ games/lbreakout2/pkg-install 1970-01-01 09:00:00.000000000 +0900 >@@ -1,23 +0,0 @@ >-#!/bin/sh >- >-SCOREDIR=/var/games >-SCOREFILE=lbreakout2.hscr >- >-if [ "$2" = "POST-INSTALL" -a -d "$SCOREDIR" ]; then >- if [ ! -f "$SCOREDIR/$SCOREFILE" ]; then >- echo "===> Creating initial high score file $SCOREDIR/$SCOREFILE" >- install -o root -g games -m 664 ${PKG_PREFIX}/share/lbreakout2/empty.hscr $SCOREDIR/$SCOREFILE >- fi >-fi >- >-if [ "$2" = "DEINSTALL" -a -d "$SCOREDIR" ]; then >- if cmp -s ${PKG_PREFIX}/share/lbreakout2/empty.hscr $SCOREDIR/$SCOREFILE; then >- rm -f $SCOREDIR/$SCOREFILE >- else >- echo "To completely remove the port, please remove the following" >- echo "file manually, if it's no longer needed:" >- echo >- echo " $SCOREDIR/$SCOREFILE" >- echo >- fi >-fi >diff -urN /usr/ports/games/lbreakout2/pkg-plist games/lbreakout2/pkg-plist >--- /usr/ports/games/lbreakout2/pkg-plist 2015-08-24 04:04:23.007176000 +0900 >+++ games/lbreakout2/pkg-plist 2016-03-15 00:00:00.000000000 +0900 >@@ -35,7 +35,7 @@ > %%PORTDOCS%%%%DOCSDIR%%/x7.jpg > %%PORTDOCS%%%%DOCSDIR%%/x8.jpg > %%PORTDOCS%%%%DOCSDIR%%/x9.jpg >-%%DATADIR%%/empty.hscr >+@sample(,games,664) %%DATADIR%%/empty.hscr /var/games/lbreakout2.hscr > %%DATADIR%%/gfx/AbsoluteB/ABOUT > %%DATADIR%%/gfx/AbsoluteB/README > %%DATADIR%%/gfx/AbsoluteB/back0.png >@@ -157,10 +157,8 @@ > %%DATADIR%%/levels/Alex > %%DATADIR%%/levels/Alexandre > %%DATADIR%%/levels/AllNighter >-%%DATADIR%%/levels/AllWorld > %%DATADIR%%/levels/Arcade > %%DATADIR%%/levels/Arkanoid >-%%DATADIR%%/levels/Asteroids > %%DATADIR%%/levels/BeOS-4ever > %%DATADIR%%/levels/Bertrand > %%DATADIR%%/levels/BigBang >@@ -180,8 +178,6 @@ > %%DATADIR%%/levels/D2K > %%DATADIR%%/levels/Daves > %%DATADIR%%/levels/Demons >-%%DATADIR%%/levels/EastAsia >-%%DATADIR%%/levels/EastEurope > %%DATADIR%%/levels/Family > %%DATADIR%%/levels/Fantaisie > %%DATADIR%%/levels/FatalDoomsday >@@ -191,7 +187,6 @@ > %%DATADIR%%/levels/Freek > %%DATADIR%%/levels/FunCity > %%DATADIR%%/levels/Gatinha >-%%DATADIR%%/levels/GreenBricks > %%DATADIR%%/levels/GreenWall > %%DATADIR%%/levels/GreenWall2 > %%DATADIR%%/levels/GreenWall3 >@@ -202,7 +197,6 @@ > %%DATADIR%%/levels/HighBall > %%DATADIR%%/levels/Holidays > %%DATADIR%%/levels/Hommage >-%%DATADIR%%/levels/Horror > %%DATADIR%%/levels/Impossibility > %%DATADIR%%/levels/Invisible > %%DATADIR%%/levels/IoriYagami >@@ -216,33 +210,23 @@ > %%DATADIR%%/levels/LBreakout1 > %%DATADIR%%/levels/LBreakout2 > %%DATADIR%%/levels/Lapis >-%%DATADIR%%/levels/Lattices > %%DATADIR%%/levels/Lattsville > %%DATADIR%%/levels/LinuxFun > %%DATADIR%%/levels/Lord >-%%DATADIR%%/levels/Madness > %%DATADIR%%/levels/Maze > %%DATADIR%%/levels/MegaMan2 > %%DATADIR%%/levels/Megadoomer >-%%DATADIR%%/levels/Memory >-%%DATADIR%%/levels/MiddleAfrica > %%DATADIR%%/levels/MontyHall > %%DATADIR%%/levels/NES > %%DATADIR%%/levels/N_Arenas > %%DATADIR%%/levels/N_Snapshots > %%DATADIR%%/levels/Nations > %%DATADIR%%/levels/Negundoid >-%%DATADIR%%/levels/NewBricks > %%DATADIR%%/levels/NewOERG1 >-%%DATADIR%%/levels/NorthAfrica >-%%DATADIR%%/levels/NorthAmerica > %%DATADIR%%/levels/ObiWan >-%%DATADIR%%/levels/Oceania >-%%DATADIR%%/levels/OldGames > %%DATADIR%%/levels/OpenSource > %%DATADIR%%/levels/OurWorld > %%DATADIR%%/levels/P.I.T.A. >-%%DATADIR%%/levels/PCGames > %%DATADIR%%/levels/Pabelo > %%DATADIR%%/levels/Patience > %%DATADIR%%/levels/Pawset >@@ -258,8 +242,6 @@ > %%DATADIR%%/levels/SkillShot > %%DATADIR%%/levels/Smilies > %%DATADIR%%/levels/SnyMaxx >-%%DATADIR%%/levels/SouthAfrica >-%%DATADIR%%/levels/SouthAmerica > %%DATADIR%%/levels/StarWars > %%DATADIR%%/levels/Symmetry > %%DATADIR%%/levels/Symmetry-MKII >@@ -273,8 +255,6 @@ > %%DATADIR%%/levels/Vader > %%DATADIR%%/levels/WTF > %%DATADIR%%/levels/Weirdness >-%%DATADIR%%/levels/WestAsia >-%%DATADIR%%/levels/WestEurope > %%DATADIR%%/levels/Wizi > %%DATADIR%%/levels/Wolvie > %%DATADIR%%/levels/WonderWalls >@@ -320,7 +300,8 @@ > %%DATADIR%%/sounds/wall.wav > %%DATADIR%%/sounds/weak_ball.wav > %%DATADIR%%/sounds/wontgiveup.wav >+%%NLS%%share/locale/da/LC_MESSAGES/lbreakout2.mo > %%NLS%%share/locale/de/LC_MESSAGES/lbreakout2.mo > %%NLS%%share/locale/fr/LC_MESSAGES/lbreakout2.mo > %%NLS%%share/locale/tr/LC_MESSAGES/lbreakout2.mo >-share/pixmaps/lbreakout48.gif >+share/pixmaps/lbreakout2.png
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 207989
: 168168