Wed Jun 8 21:25:58 2022 UTC ()
games/puzzles: update to 20220127

Changes since 20181212:
* new game 'mosaic'
* several bug fixes to the existing games
* build system switched from autotools to CMake


(rillig)
diff -r1.70 -r1.71 pkgsrc/games/puzzles/Makefile
diff -r1.6 -r1.7 pkgsrc/games/puzzles/PLIST
diff -r1.31 -r1.32 pkgsrc/games/puzzles/distinfo
diff -r1.1 -r0 pkgsrc/games/puzzles/patches/patch-net.R

cvs diff -r1.70 -r1.71 pkgsrc/games/puzzles/Makefile (expand / switch to unified diff)

--- pkgsrc/games/puzzles/Makefile 2021/12/08 16:04:39 1.70
+++ pkgsrc/games/puzzles/Makefile 2022/06/08 21:25:58 1.71
@@ -1,37 +1,36 @@ @@ -1,37 +1,36 @@
1# $NetBSD: Makefile,v 1.70 2021/12/08 16:04:39 adam Exp $ 1# $NetBSD: Makefile,v 1.71 2022/06/08 21:25:58 rillig Exp $
2 2
3DISTNAME= puzzles-20181212 3DISTNAME= puzzles-20220127
4GIT_COMMIT= ced51ada363d895eee796dd03923042f97f95321 4GIT_COMMIT= c43a34fbfe430d235bafc379595761880a19ed9f
5PKGREVISION= 8 
6CATEGORIES= games 5CATEGORIES= games
7MASTER_SITES= -https://git.tartarus.org/?p=simon/puzzles.git;a=snapshot;h=${GIT_COMMIT};sf=tgz 6MASTER_SITES= -https://git.tartarus.org/?p=simon/puzzles.git;a=snapshot;h=${GIT_COMMIT};sf=tgz
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://www.chiark.greenend.org.uk/~sgtatham/puzzles/ 9HOMEPAGE= https://www.chiark.greenend.org.uk/~sgtatham/puzzles/
11COMMENT= Collection of small one-player puzzle games by Simon Tatham 10COMMENT= Collection of small one-player puzzle games by Simon Tatham
12LICENSE= mit 11LICENSE= mit
13 12
14WRKSRC= ${WRKDIR}/puzzles-${GIT_COMMIT:C,(.......).*,\1,} 13WRKSRC= ${WRKDIR}/puzzles-${GIT_COMMIT:C,(.......).*,\1,}
15USE_TOOLS+= gmake pkg-config perl autoreconf autoconf automake 
16AUTO_MKDIRS= yes 14AUTO_MKDIRS= yes
17 15
18BUILD_DEPENDS+= halibut>=1.1:../../textproc/halibut 16BUILD_DEPENDS+= halibut>=1.1:../../textproc/halibut
19 17
20USE_LANGUAGES= c99 18USE_LANGUAGES= c99
21GNU_CONFIGURE= yes 19USE_CMAKE= yes
22BUILDLINK_TRANSFORM+= rm:-Werror 20USE_TOOLS+= perl
23MAKE_FLAGS= prefix=${PREFIX} 21
24MAKE_FLAGS+= gamesdir=${PREFIX}/bin 22SUBST_CLASSES+= net
25CFLAGS+= -DREVISION=${DISTNAME:S/puzzles-//} 23SUBST_STAGE.net= pre-configure
 24SUBST_FILES.net= CMakeLists.txt
 25SUBST_SED.net= -e 's,puzzle(net$$,&game,'
26 26
27pre-configure: 27pre-configure:
28 cd ${WRKSRC} && perl mkfiles.pl 28 cd ${WRKSRC} && make -f Makefile.doc puzzles.txt
29 cd ${WRKSRC} && ${SH} mkauto.sh 29 cd ${WRKSRC} && mv net.c netgame.c && mv icons/net.sav icons/netgame.sav
30 cd ${WRKSRC} && gmake -f Makefile.doc puzzles.txt 
31 30
32post-install: 31post-install:
33 ${INSTALL_DATA} ${WRKSRC}/puzzles.txt \ 32 ${INSTALL_DATA} ${WRKSRC}/puzzles.txt \
34 ${DESTDIR}${PREFIX}/share/doc/puzzles 33 ${DESTDIR}${PREFIX}/share/doc/puzzles
35 34
36.include "../../x11/gtk2/buildlink3.mk" 35.include "../../x11/gtk2/buildlink3.mk"
37.include "../../mk/bsd.pkg.mk" 36.include "../../mk/bsd.pkg.mk"

cvs diff -r1.6 -r1.7 pkgsrc/games/puzzles/PLIST (expand / switch to unified diff)

--- pkgsrc/games/puzzles/PLIST 2016/10/05 13:09:38 1.6
+++ pkgsrc/games/puzzles/PLIST 2022/06/08 21:25:58 1.7
@@ -1,41 +1,122 @@ @@ -1,41 +1,122 @@
1@comment $NetBSD: PLIST,v 1.6 2016/10/05 13:09:38 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.7 2022/06/08 21:25:58 rillig Exp $
2bin/blackbox 2bin/blackbox
3bin/bridges 3bin/bridges
4bin/cube 4bin/cube
5bin/dominosa 5bin/dominosa
6bin/fifteen 6bin/fifteen
7bin/filling 7bin/filling
8bin/flip 8bin/flip
9bin/flood 9bin/flood
10bin/galaxies 10bin/galaxies
11bin/guess 11bin/guess
12bin/inertia 12bin/inertia
13bin/keen 13bin/keen
14bin/lightup 14bin/lightup
15bin/loopy 15bin/loopy
16bin/magnets 16bin/magnets
17bin/map 17bin/map
18bin/mines 18bin/mines
 19bin/mosaic
19bin/netgame 20bin/netgame
20bin/netslide 21bin/netslide
21bin/palisade 22bin/palisade
22bin/pattern 23bin/pattern
23bin/pearl 24bin/pearl
24bin/pegs 25bin/pegs
25bin/range 26bin/range
26bin/rect 27bin/rect
27bin/samegame 28bin/samegame
28bin/signpost 29bin/signpost
29bin/singles 30bin/singles
30bin/sixteen 31bin/sixteen
31bin/slant 32bin/slant
32bin/solo 33bin/solo
33bin/tents 34bin/tents
34bin/towers 35bin/towers
35bin/tracks 36bin/tracks
36bin/twiddle 37bin/twiddle
37bin/undead 38bin/undead
38bin/unequal 39bin/unequal
39bin/unruly 40bin/unruly
40bin/untangle 41bin/untangle
 42share/applications/blackbox.desktop
 43share/applications/bridges.desktop
 44share/applications/cube.desktop
 45share/applications/dominosa.desktop
 46share/applications/fifteen.desktop
 47share/applications/filling.desktop
 48share/applications/flip.desktop
 49share/applications/flood.desktop
 50share/applications/galaxies.desktop
 51share/applications/guess.desktop
 52share/applications/inertia.desktop
 53share/applications/keen.desktop
 54share/applications/lightup.desktop
 55share/applications/loopy.desktop
 56share/applications/magnets.desktop
 57share/applications/map.desktop
 58share/applications/mines.desktop
 59share/applications/mosaic.desktop
 60share/applications/netgame.desktop
 61share/applications/netslide.desktop
 62share/applications/palisade.desktop
 63share/applications/pattern.desktop
 64share/applications/pearl.desktop
 65share/applications/pegs.desktop
 66share/applications/range.desktop
 67share/applications/rect.desktop
 68share/applications/samegame.desktop
 69share/applications/signpost.desktop
 70share/applications/singles.desktop
 71share/applications/sixteen.desktop
 72share/applications/slant.desktop
 73share/applications/solo.desktop
 74share/applications/tents.desktop
 75share/applications/towers.desktop
 76share/applications/tracks.desktop
 77share/applications/twiddle.desktop
 78share/applications/undead.desktop
 79share/applications/unequal.desktop
 80share/applications/unruly.desktop
 81share/applications/untangle.desktop
41share/doc/puzzles/puzzles.txt 82share/doc/puzzles/puzzles.txt
 83share/pixmaps/blackbox-48d24.png
 84share/pixmaps/bridges-48d24.png
 85share/pixmaps/cube-48d24.png
 86share/pixmaps/dominosa-48d24.png
 87share/pixmaps/fifteen-48d24.png
 88share/pixmaps/filling-48d24.png
 89share/pixmaps/flip-48d24.png
 90share/pixmaps/flood-48d24.png
 91share/pixmaps/galaxies-48d24.png
 92share/pixmaps/guess-48d24.png
 93share/pixmaps/inertia-48d24.png
 94share/pixmaps/keen-48d24.png
 95share/pixmaps/lightup-48d24.png
 96share/pixmaps/loopy-48d24.png
 97share/pixmaps/magnets-48d24.png
 98share/pixmaps/map-48d24.png
 99share/pixmaps/mines-48d24.png
 100share/pixmaps/mosaic-48d24.png
 101share/pixmaps/netgame-48d24.png
 102share/pixmaps/netslide-48d24.png
 103share/pixmaps/palisade-48d24.png
 104share/pixmaps/pattern-48d24.png
 105share/pixmaps/pearl-48d24.png
 106share/pixmaps/pegs-48d24.png
 107share/pixmaps/range-48d24.png
 108share/pixmaps/rect-48d24.png
 109share/pixmaps/samegame-48d24.png
 110share/pixmaps/signpost-48d24.png
 111share/pixmaps/singles-48d24.png
 112share/pixmaps/sixteen-48d24.png
 113share/pixmaps/slant-48d24.png
 114share/pixmaps/solo-48d24.png
 115share/pixmaps/tents-48d24.png
 116share/pixmaps/towers-48d24.png
 117share/pixmaps/tracks-48d24.png
 118share/pixmaps/twiddle-48d24.png
 119share/pixmaps/undead-48d24.png
 120share/pixmaps/unequal-48d24.png
 121share/pixmaps/unruly-48d24.png
 122share/pixmaps/untangle-48d24.png

cvs diff -r1.31 -r1.32 pkgsrc/games/puzzles/distinfo (expand / switch to unified diff)

--- pkgsrc/games/puzzles/distinfo 2021/10/26 10:44:21 1.31
+++ pkgsrc/games/puzzles/distinfo 2022/06/08 21:25:58 1.32
@@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
1$NetBSD: distinfo,v 1.31 2021/10/26 10:44:21 nia Exp $ 1$NetBSD: distinfo,v 1.32 2022/06/08 21:25:58 rillig Exp $
2 2
3BLAKE2s (puzzles-20181212.tar.gz) = 862c8317e49d6d146e30fb69857724a66a42f2e2a03969cb976199f1c32c9517 3BLAKE2s (puzzles-20220127.tar.gz) = 461f1211a55f9adb139b7566ae172e46f297c111ff6b94298b0028c685ad7a81
4SHA512 (puzzles-20181212.tar.gz) = 228534debb8cdefc0844d5660b224776df6f59b17576335eb76813a6f8ac131a640bc6fc1a7d1ea9d9f5997fe62ae938176428f2eb4260de11e2d631b4cd34a5 4SHA512 (puzzles-20220127.tar.gz) = ef286c1a07e23195853e72ac388602ceb157430a7c81197428b9c05cf318d28b66221490247277e019cbf99eb63a17cb8bad9717df7a77e2f2993f18fb1d8661
5Size (puzzles-20181212.tar.gz) = 1184217 bytes 5Size (puzzles-20220127.tar.gz) = 1199134 bytes
6SHA1 (patch-net.R) = 423acdff821acc711fefacafc5d731fb3a944185 

File Deleted: pkgsrc/games/puzzles/patches/Attic/patch-net.R