head 1.4; access; symbols pkgsrc-2026Q1:1.4.0.120 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.118 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.116 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.114 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.112 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.110 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.4.0.108 pkgsrc-2024Q3-base:1.4 pkgsrc-2024Q2:1.4.0.106 pkgsrc-2024Q2-base:1.4 pkgsrc-2024Q1:1.4.0.104 pkgsrc-2024Q1-base:1.4 pkgsrc-2023Q4:1.4.0.102 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.100 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.98 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.96 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.94 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.92 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.90 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.88 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.86 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.84 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.82 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.80 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.78 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.76 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.4.0.72 pkgsrc-2020Q2-base:1.4 pkgsrc-2020Q1:1.4.0.52 pkgsrc-2020Q1-base:1.4 pkgsrc-2019Q4:1.4.0.74 pkgsrc-2019Q4-base:1.4 pkgsrc-2019Q3:1.4.0.70 pkgsrc-2019Q3-base:1.4 pkgsrc-2019Q2:1.4.0.68 pkgsrc-2019Q2-base:1.4 pkgsrc-2019Q1:1.4.0.66 pkgsrc-2019Q1-base:1.4 pkgsrc-2018Q4:1.4.0.64 pkgsrc-2018Q4-base:1.4 pkgsrc-2018Q3:1.4.0.62 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.60 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.58 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.56 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.54 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.50 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.48 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.46 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.44 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.42 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.40 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.38 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.36 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.34 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.32 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.30 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.28 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.26 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.24 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.22 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.20 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.18 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.16 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.14 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.12 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.10 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.8 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.4.0.6 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.4 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.2 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.3.0.10 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.8 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.6 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.4 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.2 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.2.0.52 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.50 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.48 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.46 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.44 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.42 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.40 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.38 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.36 pkgsrc-2008Q1:1.2.0.34 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.32 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.30 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.28 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.26 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.24 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.22 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.20 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.18 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.16 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.14 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.12 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.10 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.8 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.6 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.4 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.2 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.1.1.1.0.8 pkgsrc-2003Q4-base:1.1.1.1 netbsd-1-6-1:1.1.1.1.0.4 netbsd-1-6-1-base:1.1.1.1 netbsd-1-6:1.1.1.1.0.6 netbsd-1-6-RELEASE-base:1.1.1.1 pkgviews:1.1.1.1.0.2 pkgviews-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2011.05.06.05.28.39; author dholland; state Exp; branches; next 1.3; 1.3 date 2010.03.23.16.02.39; author joerg; state Exp; branches; next 1.2; 1.2 date 2004.03.07.05.59.17; author snj; state Exp; branches; next 1.1; 1.1 date 2002.07.11.13.21.28; author wiz; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2002.07.11.13.21.28; author wiz; state Exp; branches; next ; desc @@ 1.4 log @Put the scorefile in ${VARBASE}/games instead of under ${PREFIX}/share. It is still mode 666, which is wrong (XXX), but this way: - the package will actually install again; - the score file is not overwritten every time you recompile/reinstall. There's also an .if 0 block in the makefile that can be turned on to install the game setgid so the score file can be mode 664. I'm not comfortable turning this on without doing at least a basic audit, and I don't have energy for that at the moment; but it's there and it works if anyone feels inclined to make that tradeoff locally. An alternative approach would be to write and install a setgid scorefile helper program, but that's not really any improvement over making the scores world writeable PKGREVISION -> 8. @ text @$NetBSD: patch-aa,v 1.3 2010/03/23 16:02:39 joerg Exp $ DESTDIR support. Install the docs. Use $(CP). Don't install default scores file mode 666. --- Makefile.am.orig 2001-07-23 03:45:05.000000000 +0000 +++ Makefile.am @@@@ -65,21 +65,22 @@@@ DIST_SUBDIRS = $(SUBDIRS) Images Docs # Special install rule for the game install: - make install_gamedata target=@@GAME_INSTALLDIR@@ + make install_gamedata target=${DESTDIR}@@GAME_INSTALLDIR@@ + make install_gamedocs target=${DESTDIR}$(prefix)/share/doc/Maelstrom install_gamedata: sh mkinstalldirs $(target)/ - cp -rv Images \ + $(CP) -R Images \ Maelstrom_Fonts \ Maelstrom_Sounds \ Maelstrom_Sprites \ Maelstrom-Scores \ icon.bmp icon.xpm $(target)/ - chmod 666 $(target)/Maelstrom-Scores + chmod 644 $(target)/Maelstrom-Scores install_gamedocs: sh mkinstalldirs $(target)/ - cp -rv README* COPYING* Docs* $(target)/ + $(CP) -R README* COPYING* Docs* $(target)/ # Rule to build tar-gzipped distribution package $(PACKAGE)-$(VERSION).tar.gz: dist @ 1.3 log @DESTDIR support. XXX still doesn't pass the world-writeable file check @ text @d1 6 a6 1 $NetBSD$ d10 1 a10 1 @@@@ -65,11 +65,12 @@@@ DIST_SUBDIRS = $(SUBDIRS) Images Docs d25 4 a28 1 @@@@ -79,7 +80,7 @@@@ install_gamedata: @ 1.2 log @Use bl3, use ${CP} instead of cp. @ text @d3 4 a6 3 --- Makefile.am.orig 2001-07-22 20:45:05.000000000 -0700 +++ Makefile.am 2004-03-06 21:54:35.000000000 -0800 @@@@ -66,10 +66,11 @@@@ DIST_SUBDIRS = $(SUBDIRS) Images Docs d9 3 a11 2 make install_gamedata target=@@GAME_INSTALLDIR@@ + make install_gamedocs target=$(prefix)/share/doc/Maelstrom @ 1.1 log @Initial revision @ text @d3 3 a5 3 --- Makefile.am.orig Mon Jul 23 05:45:05 2001 +++ Makefile.am @@@@ -66,10 +66,11 @@@@ d14 1 a14 1 + cp -R Images \ d18 1 a18 1 @@@@ -79,7 +80,7 @@@@ d23 1 a23 1 + cp -R README* COPYING* Docs* $(target)/ @ 1.1.1.1 log @Initial import of maelstrom-sdl, the SDL port of Maelstrom, provided by Ben Wong in pkg/15582. Maelstrom is a port of the original shareware game for the Macintosh. It is a fast-action, high resolution (640x480) asteroids-like game, with detailed graphics and original sounds. This version uses the SDL (Simple DirectMedia Layer) which provides faster graphics and better sound than the old X11 version for NetBSD. SDL also allows the screen resolution to be changed to 640x480 when Maelstrom is run in full-screen mode. @ text @@