diff options
author | nia <nia@pkgsrc.org> | 2019-10-29 18:04:44 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2019-10-29 18:04:44 +0000 |
commit | e5efb7b110f45075a61ee2e03d49fb0016a97ea6 (patch) | |
tree | f4e301e69435f56a887abdfd8027f922f856e14e /games | |
parent | 143c1da9950b73e859f733b7ba31b0a99d4c1c19 (diff) | |
download | pkgsrc-e5efb7b110f45075a61ee2e03d49fb0016a97ea6.tar.gz |
icebreaker: Update to 1.9.8.
The changelog says "um, yeah. Enough slacking; this release works."
This release is from 2003.
Diffstat (limited to 'games')
-rw-r--r-- | games/icebreaker/Makefile | 46 | ||||
-rw-r--r-- | games/icebreaker/PLIST | 8 | ||||
-rw-r--r-- | games/icebreaker/distinfo | 13 | ||||
-rw-r--r-- | games/icebreaker/patches/patch-Makefile | 15 | ||||
-rw-r--r-- | games/icebreaker/patches/patch-aa | 13 | ||||
-rw-r--r-- | games/icebreaker/patches/patch-icebreaker.desktop | 19 |
6 files changed, 81 insertions, 33 deletions
diff --git a/games/icebreaker/Makefile b/games/icebreaker/Makefile index 29de0d540e0..049b5cb3c54 100644 --- a/games/icebreaker/Makefile +++ b/games/icebreaker/Makefile @@ -1,37 +1,57 @@ -# $NetBSD: Makefile,v 1.33 2018/01/14 15:26:47 rillig Exp $ -# +# $NetBSD: Makefile,v 1.34 2019/10/29 18:04:44 nia Exp $ -DISTNAME= icebreaker-1.9.7 -PKGREVISION= 12 +DISTNAME= icebreaker-1.9.8 CATEGORIES= games MASTER_SITES= https://mattdm.org/icebreaker/1.9.x/ EXTRACT_SUFX= .tgz MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://mattdm.org/icebreaker/ -COMMENT= Penguin capturing simulation +COMMENT= Action-puzzle game involving bouncing penguins +LICENSE= gnu-gpl-v2 + +TOOL_DEPENDS+= icoutils-[0-9]*:../../graphics/icoutils USE_TOOLS+= gmake -MAKE_ENV+= mandir="${PREFIX}/man" highscoredir="/var/games" + +BUILD_DEFS+= VARBASE + +MAKE_ENV+= mandir="${PREFIX}/man" +MAKE_ENV+= highscoredir="${VARBASE}/games" MAKE_ENV+= prefix=${PREFIX} -SETGIDGAME= yes +USE_GAMESGROUP= yes SPECIAL_PERMS= bin/icebreaker ${SETGID_GAMES_PERMS} INSTALLATION_DIRS= bin ${PKGMANDIR}/man6 +INSTALLATION_DIRS+= share/applications +INSTALLATION_DIRS+= share/doc/icebreaker +INSTALLATION_DIRS+= share/icebreaker +INSTALLATION_DIRS+= share/icons/hicolor/32x32/apps +INSTALLATION_DIRS+= share/icons/hicolor/48x48/apps + +post-build: + cd ${WRKSRC} && ${PREFIX}/bin/icotool -i 1 -x -o 32.png ${WRKSRC}/icebreaker_32.ico + cd ${WRKSRC} && ${PREFIX}/bin/icotool -i 2 -x -o 48.png ${WRKSRC}/icebreaker_32.ico do-install: - ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/icebreaker - ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/icebreaker cd ${WRKSRC} && ${INSTALL_DATA} *.ibt *.wav *.bmp \ ${DESTDIR}${PREFIX}/share/icebreaker ${INSTALL_PROGRAM} ${WRKSRC}/icebreaker ${DESTDIR}${PREFIX}/bin ${INSTALL_MAN} ${WRKSRC}/icebreaker.6 \ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6 - ${INSTALL_DATA} ${WRKSRC}/README \ - ${DESTDIR}${PREFIX}/share/doc/icebreaker + ${INSTALL_DATA} ${WRKSRC}/icebreaker.desktop \ + ${DESTDIR}${PREFIX}/share/applications + ${INSTALL_DATA} ${WRKSRC}/32.png \ + ${DESTDIR}${PREFIX}/share/icons/hicolor/32x32/apps/icebreaker.png + ${INSTALL_DATA} ${WRKSRC}/48.png \ + ${DESTDIR}${PREFIX}/share/icons/hicolor/48x48/apps/icebreaker.png +.for file in ChangeLog README LICENSE + ${INSTALL_DATA} ${WRKSRC}/${file} ${DESTDIR}${PREFIX}/share/doc/icebreaker +.endfor .include "../../audio/SDL_mixer/buildlink3.mk" -.include "../../multimedia/smpeg/buildlink3.mk" - +.include "../../devel/SDL/buildlink3.mk" +.include "../../graphics/hicolor-icon-theme/buildlink3.mk" +.include "../../sysutils/desktop-file-utils/desktopdb.mk" .include "../../mk/bsd.pkg.mk" diff --git a/games/icebreaker/PLIST b/games/icebreaker/PLIST index 55df875dcc4..d13286a85cc 100644 --- a/games/icebreaker/PLIST +++ b/games/icebreaker/PLIST @@ -1,6 +1,9 @@ -@comment $NetBSD: PLIST,v 1.4 2009/06/14 17:56:48 joerg Exp $ +@comment $NetBSD: PLIST,v 1.5 2019/10/29 18:04:44 nia Exp $ bin/icebreaker man/man6/icebreaker.6 +share/applications/icebreaker.desktop +share/doc/icebreaker/ChangeLog +share/doc/icebreaker/LICENSE share/doc/icebreaker/README share/icebreaker/atom.bmp share/icebreaker/bgeveryone.wav @@ -30,6 +33,7 @@ share/icebreaker/penguinicon_32.bmp share/icebreaker/phase.wav share/icebreaker/pop.wav share/icebreaker/scrunch.wav +share/icebreaker/splash.wav share/icebreaker/splat.wav share/icebreaker/squeak.wav share/icebreaker/star.bmp @@ -38,3 +42,5 @@ share/icebreaker/tap.wav share/icebreaker/turtle.bmp share/icebreaker/turtles.ibt share/icebreaker/woodblock.bmp +share/icons/hicolor/32x32/apps/icebreaker.png +share/icons/hicolor/48x48/apps/icebreaker.png diff --git a/games/icebreaker/distinfo b/games/icebreaker/distinfo index d2c4c0eea61..b47d43b39c1 100644 --- a/games/icebreaker/distinfo +++ b/games/icebreaker/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.5 2015/11/03 20:56:53 agc Exp $ +$NetBSD: distinfo,v 1.6 2019/10/29 18:04:44 nia Exp $ -SHA1 (icebreaker-1.9.7.tgz) = 856ed5e3c8498660b97558acdd10abb6b9472bfa -RMD160 (icebreaker-1.9.7.tgz) = d3648094ee5d65bccde30f70ad774378e3b5d817 -SHA512 (icebreaker-1.9.7.tgz) = a4f4aacf8fa3a6a4e216f8089c258212fe00affff629407f968d93756f50cbd26a39619f945aaeaa2f4bf3f26ff7f5a3223af02f8d0e0113768aaec4a8047391 -Size (icebreaker-1.9.7.tgz) = 189167 bytes -SHA1 (patch-aa) = 97accbbf40dec7b3212fcf32efd4b4fce265bb1b +SHA1 (icebreaker-1.9.8.tgz) = 71ea9209c786f7addd4f5b84dba14f7e069d2084 +RMD160 (icebreaker-1.9.8.tgz) = 830ac7c4f7784b4ceee0cd57c5975f69102c1617 +SHA512 (icebreaker-1.9.8.tgz) = 03fd280c58efe235d8b9a11cf67f4248febef81b58532b7063619b7da08af7b1d71cc20917b959397748a2167a0aec271aa45f9488bcca56518913bde6017183 +Size (icebreaker-1.9.8.tgz) = 177355 bytes +SHA1 (patch-Makefile) = 78a42778e7cc7a63a32b70e6f3eb31da5d47b6c4 +SHA1 (patch-icebreaker.desktop) = 7a0a34b7b722a4408410631076de22a039f0d608 diff --git a/games/icebreaker/patches/patch-Makefile b/games/icebreaker/patches/patch-Makefile new file mode 100644 index 00000000000..e85c2d9755d --- /dev/null +++ b/games/icebreaker/patches/patch-Makefile @@ -0,0 +1,15 @@ +$NetBSD: patch-Makefile,v 1.1 2019/10/29 18:04:44 nia Exp $ + +Allow variables to be overriden by pkgsrc. + +--- Makefile.orig 2003-02-25 16:31:32.000000000 +0000 ++++ Makefile +@@ -1,6 +1,6 @@ +-CC=gcc ++CC?=gcc + +-SDLCONFIG=sdl-config ++SDLCONFIG?=sdl-config + + ifndef prefix + prefix=/usr/local diff --git a/games/icebreaker/patches/patch-aa b/games/icebreaker/patches/patch-aa deleted file mode 100644 index feaf47265fa..00000000000 --- a/games/icebreaker/patches/patch-aa +++ /dev/null @@ -1,13 +0,0 @@ -$NetBSD: patch-aa,v 1.3 2002/08/30 22:56:00 wiz Exp $ - ---- Makefile.orig Fri Jun 7 05:39:18 2002 -+++ Makefile -@@ -1,6 +1,6 @@ --CC=gcc -+CC?=gcc - --SDLCONFIG=sdl-config -+SDLCONFIG?=sdl-config - - ifndef prefix - prefix=/usr/local diff --git a/games/icebreaker/patches/patch-icebreaker.desktop b/games/icebreaker/patches/patch-icebreaker.desktop new file mode 100644 index 00000000000..7134493eb1e --- /dev/null +++ b/games/icebreaker/patches/patch-icebreaker.desktop @@ -0,0 +1,19 @@ +$NetBSD: patch-icebreaker.desktop,v 1.1 2019/10/29 18:04:44 nia Exp $ + +Do not hardcore paths to /usr/share. + +--- icebreaker.desktop.orig 2002-05-31 03:15:45.000000000 +0000 ++++ icebreaker.desktop +@@ -1,7 +1,9 @@ + [Desktop Entry] + Name=IceBreaker + Type=Application +-Comment=addictive action-puzzle game involving bouncing penguins ++Encoding=UTF-8 ++Comment=Addictive action-puzzle game involving bouncing penguins + Exec=icebreaker +-Icon=/usr/share/icebreaker/icebreaker_48.bmp +-Terminal=0 ++Icon=icebreaker ++Terminal=false ++Categories=Game;ActionGame |