head 1.2; access; symbols pkgsrc-2026Q1:1.2.0.8 pkgsrc-2026Q1-base:1.2 pkgsrc-2025Q4:1.2.0.6 pkgsrc-2025Q4-base:1.2 pkgsrc-2025Q3:1.2.0.4 pkgsrc-2025Q3-base:1.2 pkgsrc-2025Q2:1.2.0.2 pkgsrc-2025Q2-base:1.2 pkgsrc-2025Q1:1.1.0.4 pkgsrc-2025Q1-base:1.1 pkgsrc-2024Q4:1.1.0.2 pkgsrc-2024Q4-base:1.1; locks; strict; comment @# @; 1.2 date 2025.05.17.14.28.55; author wiz; state Exp; branches; next 1.1; commitid trMn6gyfMo3AHgVF; 1.1 date 2024.12.14.17.11.08; author wiz; state Exp; branches; next ; commitid B9vTVkgbRhUayuBF; desc @@ 1.2 log @monsterz: update to 0.9. Changes: * Merge Debian changes * Add man page * Add desktop file @ text @$NetBSD$ Let pkgsrc handle special permissions. --- Makefile.orig 2025-05-17 13:56:56.000000000 +0000 +++ Makefile @@@@ -53,8 +53,6 @@@@ install: all $(INSTALL_DIR) $(DESTDIR)$(applicationsdir) $(INSTALL_DIR) $(DESTDIR)$(mandir)/man6 $(INSTALL_PROGRAM) monsterz $(DESTDIR)$(gamesdir)/ - chown root:games $(DESTDIR)$(gamesdir)/monsterz - chmod g+s $(DESTDIR)$(gamesdir)/monsterz $(INSTALL_DIR) $(DESTDIR)$(pkgdatadir)/graphics $(INSTALL_DIR) $(DESTDIR)$(pkgdatadir)/sound $(INSTALL_SCRIPT) monsterz.py $(DESTDIR)$(pkgdatadir)/ @@@@ -64,8 +62,6 @@@@ install: all $(INSTALL_DATA) monsterz.6 $(DESTDIR)$(mandir)/man6 $(INSTALL_DIR) $(DESTDIR)$(scoredir) test -f $(DESTDIR)$(scorefile) || echo "" > $(DESTDIR)$(scorefile) - chown root:games $(DESTDIR)$(scorefile) - chmod g+w $(DESTDIR)$(scorefile) uninstall: rm -f $(DESTDIR)$(gamesdir)/monsterz @ 1.1 log @monsterz: update to 0.8. - New maintainer since old upstream seems gone - Ported to Python 3 - Drew new nose for green monster (SVG) to match old one better - Regenerated PNG graphics from SVG file - Compatibility with latest numpy @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.3 2017/07/13 12:29:09 wiz Exp $ d3 1 a3 2 Honor CFLAGS and LDFLAGS. Use pkgsrc installation tools. d5 1 a5 1 --- Makefile.orig 2024-12-14 16:55:09.000000000 +0000 d7 4 a10 15 @@@@ -22,7 +22,7 @@@@ INKSCAPE = inkscape all: monsterz monsterz: monsterz.c - $(CC) -Wall monsterz.c -DDATADIR=\"$(pkgdatadir)\" -DSCOREFILE=\"$(scorefile)\" -o monsterz + $(CC) $(LDFLAGS) $(CFLAGS) -Wall monsterz.c -DDATADIR=\"$(pkgdatadir)\" -DSCOREFILE=\"$(scorefile)\" -o monsterz bitmap: $(BITMAP) @@@@ -40,18 +40,15 @@@@ graphics/logo.png: graphics/graphics.svg $(INKSCAPE) --actions="export-area:810:125:1220:342;export-width:380;export-height:180;export-filename:graphics/logo.png;export-do;" graphics/graphics.svg install: all - mkdir -p $(DESTDIR)$(gamesdir) - cp monsterz $(DESTDIR)$(gamesdir)/ d13 6 a18 15 - mkdir -p $(DESTDIR)$(pkgdatadir)/graphics - mkdir -p $(DESTDIR)$(pkgdatadir)/sound - cp monsterz.py $(DESTDIR)$(pkgdatadir)/ - cp $(BITMAP) $(DESTDIR)$(pkgdatadir)/graphics/ - cp $(SOUND) $(MUSIC) $(DESTDIR)$(pkgdatadir)/sound/ - mkdir -p $(DESTDIR)$(scoredir) + ${BSD_INSTALL_GAME_DIR} $(DESTDIR)$(gamesdir) + ${BSD_INSTALL_GAME} monsterz $(DESTDIR)$(gamesdir)/ + ${BSD_INSTALL_GAME_DIR} $(DESTDIR)$(pkgdatadir)/graphics + ${BSD_INSTALL_GAME_DIR} $(DESTDIR)$(pkgdatadir)/sound + ${BSD_INSTALL_SCRIPT} monsterz.py $(DESTDIR)$(pkgdatadir)/ + ${BSD_INSTALL_GAME_DATA} $(BITMAP) $(DESTDIR)$(pkgdatadir)/graphics/ + ${BSD_INSTALL_GAME_DATA} $(SOUND) $(MUSIC) $(DESTDIR)$(pkgdatadir)/sound/ + ${BSD_INSTALL_GAME_DIR} $(DESTDIR)$(scoredir) + ${BSD_INSTALL_GAME_DIR} $(DESTDIR)$(scoredir) d24 1 @