pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/icebreaker icebreaker: Update to 1.9.8.
details: https://anonhg.NetBSD.org/pkgsrc/rev/61f663d7042f
branches: trunk
changeset: 343076:61f663d7042f
user: nia <nia%pkgsrc.org@localhost>
date: Tue Oct 29 18:04:44 2019 +0000
description:
icebreaker: Update to 1.9.8.
The changelog says "um, yeah. Enough slacking; this release works."
This release is from 2003.
diffstat:
games/icebreaker/Makefile | 46 ++++++++++++++++------
games/icebreaker/PLIST | 8 +++-
games/icebreaker/distinfo | 13 +++---
games/icebreaker/patches/patch-Makefile | 15 +++++++
games/icebreaker/patches/patch-aa | 13 ------
games/icebreaker/patches/patch-icebreaker.desktop | 19 +++++++++
6 files changed, 81 insertions(+), 33 deletions(-)
diffs (179 lines):
diff -r 7a6e670b76ae -r 61f663d7042f games/icebreaker/Makefile
--- a/games/icebreaker/Makefile Tue Oct 29 18:01:56 2019 +0000
+++ b/games/icebreaker/Makefile Tue Oct 29 18:04:44 2019 +0000
@@ -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@localhost
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 -r 7a6e670b76ae -r 61f663d7042f games/icebreaker/PLIST
--- a/games/icebreaker/PLIST Tue Oct 29 18:01:56 2019 +0000
+++ b/games/icebreaker/PLIST Tue Oct 29 18:04:44 2019 +0000
@@ -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/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/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 -r 7a6e670b76ae -r 61f663d7042f games/icebreaker/distinfo
--- a/games/icebreaker/distinfo Tue Oct 29 18:01:56 2019 +0000
+++ b/games/icebreaker/distinfo Tue Oct 29 18:04:44 2019 +0000
@@ -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 -r 7a6e670b76ae -r 61f663d7042f games/icebreaker/patches/patch-Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/icebreaker/patches/patch-Makefile Tue Oct 29 18:04:44 2019 +0000
@@ -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 -r 7a6e670b76ae -r 61f663d7042f games/icebreaker/patches/patch-aa
--- a/games/icebreaker/patches/patch-aa Tue Oct 29 18:01:56 2019 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -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 -r 7a6e670b76ae -r 61f663d7042f games/icebreaker/patches/patch-icebreaker.desktop
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/icebreaker/patches/patch-icebreaker.desktop Tue Oct 29 18:04:44 2019 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index