pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/tileworld tileworld: Update to 1.3.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ae7d80377939
branches:  trunk
changeset: 421858:ae7d80377939
user:      nia <nia%pkgsrc.org@localhost>
date:      Sat Jan 18 23:21:03 2020 +0000

description:
tileworld: Update to 1.3.2

2015 Sep 10: version 1.3.2

* Added the messages feature, so that sets can have prolog/epilog texts
  attached to levels.
* Added an init file (to the save directory) to save the user's volume
  level and last-played levelset.
* Introduced a UI control to set the initial random-slide floor direction
  in a Lynx level.
* Changed key count to wrap around, so that picking up 256 keys of one
  color resets its count to zero. (This used to be a documented difference
  between Tile World and the original Lynx, but the new release of CC1/CC2
  follows the original's behavior, even though these are 32-bit programs.
  So I'm taking the hint and doing likewise.)

2015 Jul 24: version 1.3.1

* Fixed a couple of embarrassing bugs for 64-bit systems.
* Improved the emulation (MS logic) of Chip turning a cloned block into a
  clone of himself while going through a teleport.
* Fixed handling of blocks starting out on beartraps (MS logic).
* Fixed bug (MS logic) reported by Evan Dummit of interaction of
  canmakemove(), pushblock(), and teleportcreature().
* Fixed bug (MS logic) with walkers and bugs detecting fire through
  teleports.
* Fixed bug (MS logic) found by David Stolp in the timing of
  mouse-initiated moves.
* Fixed bug (Lynx logic) with not initializing toggle wall state.
* Fixed Lynx pedantic mode to allow creatures to rebound off the left and
  right edges of the map. (Touching the top or bottom boundaries of the map
  is still considered to be cause for failure.)
* Tile World now stores the last level in the save file, and returns to it
  by default when the level set is revisited.
* Added --long-options to the command-line option parser, just because.
* The usual cleanups to avoid compiler warnings and minor improvements, and
  updates to the documentation.

diffstat:

 games/tileworld/Makefile         |  28 ++++++++++++++++++++++++----
 games/tileworld/PLIST            |   3 +--
 games/tileworld/distinfo         |  11 +++++------
 games/tileworld/patches/patch-aa |  39 ---------------------------------------
 4 files changed, 30 insertions(+), 51 deletions(-)

diffs (124 lines):

diff -r 1c476685d195 -r ae7d80377939 games/tileworld/Makefile
--- a/games/tileworld/Makefile  Sat Jan 18 23:14:17 2020 +0000
+++ b/games/tileworld/Makefile  Sat Jan 18 23:21:03 2020 +0000
@@ -1,14 +1,14 @@
-# $NetBSD: Makefile,v 1.27 2015/04/25 14:23:04 tnn Exp $
+# $NetBSD: Makefile,v 1.28 2020/01/18 23:21:03 nia Exp $
 
-DISTNAME=      tworld-1.3.0
+DISTNAME=      tworld-1.3.2
 PKGNAME=       ${DISTNAME:S/^t/tile/}
-PKGREVISION=   1
 CATEGORIES=    games
 MASTER_SITES=  http://www.muppetlabs.com/~breadbox/pub/software/tworld/
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://www.muppetlabs.com/~breadbox/software/tworld/
-COMMENT=       "Game based on Chip's Challenge"
+COMMENT=       Game based on Chip's Challenge
+LICENSE=       gnu-gpl-v2
 
 USE_TOOLS+=    date gmake
 GNU_CONFIGURE= YES
@@ -17,5 +17,25 @@
 
 MAKE_ENV+=     ECHO=${ECHO:Q} DATE=${DATE:Q}
 
+INSTALLATION_DIRS+=    bin
+INSTALLATION_DIRS+=    share/tworld/sets
+INSTALLATION_DIRS+=    share/tworld/data
+INSTALLATION_DIRS+=    share/tworld/res
+INSTALLATION_DIRS+=    share/doc/tworld
+INSTALLATION_DIRS+=    ${PKGMANDIR}/man6
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/tworld ${DESTDIR}${PREFIX}/bin
+       ${INSTALL_DATA} ${WRKSRC}/sets/*.dac ${DESTDIR}${PREFIX}/share/tworld/sets
+       ${INSTALL_DATA} ${WRKSRC}/data/*.dat ${DESTDIR}${PREFIX}/share/tworld/data
+       ${INSTALL_DATA} ${WRKSRC}/res/rc ${DESTDIR}${PREFIX}/share/tworld/res
+       ${INSTALL_DATA} ${WRKSRC}/res/*.bmp ${DESTDIR}${PREFIX}/share/tworld/res
+       ${INSTALL_DATA} ${WRKSRC}/res/*.txt ${DESTDIR}${PREFIX}/share/tworld/res
+       ${INSTALL_DATA} ${WRKSRC}/res/*.wav ${DESTDIR}${PREFIX}/share/tworld/res
+       ${INSTALL_MAN} ${WRKSRC}/docs/tworld.6 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man6
+       ${INSTALL_DATA} ${WRKSRC}/README \
+               ${WRKSRC}/docs/tworld.html \
+               ${DESTDIR}${PREFIX}/share/doc/tworld
+
 .include "../../devel/SDL/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 1c476685d195 -r ae7d80377939 games/tileworld/PLIST
--- a/games/tileworld/PLIST     Sat Jan 18 23:14:17 2020 +0000
+++ b/games/tileworld/PLIST     Sat Jan 18 23:21:03 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2009/06/14 17:56:57 joerg Exp $
+@comment $NetBSD: PLIST,v 1.5 2020/01/18 23:21:03 nia Exp $
 bin/tworld
 man/man6/tworld.6
 share/doc/tworld/README
@@ -36,7 +36,6 @@
 share/tworld/res/traphit.wav
 share/tworld/res/unslist.txt
 share/tworld/res/whisk.wav
-share/tworld/sets/CCLP2.dac
 share/tworld/sets/cc-lynx.dac
 share/tworld/sets/cc-ms.dac
 share/tworld/sets/intro-lynx.dac
diff -r 1c476685d195 -r ae7d80377939 games/tileworld/distinfo
--- a/games/tileworld/distinfo  Sat Jan 18 23:14:17 2020 +0000
+++ b/games/tileworld/distinfo  Sat Jan 18 23:21:03 2020 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.7 2015/11/03 20:57:05 agc Exp $
+$NetBSD: distinfo,v 1.8 2020/01/18 23:21:03 nia Exp $
 
-SHA1 (tworld-1.3.0.tar.gz) = 21542cb012143d563232883d9337ed0e3bd06672
-RMD160 (tworld-1.3.0.tar.gz) = c4cee133bf2d3e0df2bd31a49d46d1c6628ef9a8
-SHA512 (tworld-1.3.0.tar.gz) = ddc08c488ff01a5ae8314eea543e4e7c7e920c1a308d88a31237c77fddfc77cbe5430dbc23c64f5445b8dba675bc2397a3e2026e4442df5917c03e830112f8f3
-Size (tworld-1.3.0.tar.gz) = 1045555 bytes
-SHA1 (patch-aa) = 5dddf8c3e64fdc77c28a29d423ea8505acd595c7
+SHA1 (tworld-1.3.2.tar.gz) = 6aaf1649c1adc3fe3fe550d280da3feb3ebf38bb
+RMD160 (tworld-1.3.2.tar.gz) = dfd31ea0b2b06c37404dd8bb231a395851f8b955
+SHA512 (tworld-1.3.2.tar.gz) = 0972a4af1b59309b43008fe758c93c689bf6e97b9d8687c6572e7ad65a928c3ee6fe2254bfc09191d71013c9904b4fed93b1676b1faaa2f9d74d360d1e2c3103
+Size (tworld-1.3.2.tar.gz) = 1076024 bytes
diff -r 1c476685d195 -r ae7d80377939 games/tileworld/patches/patch-aa
--- a/games/tileworld/patches/patch-aa  Sat Jan 18 23:14:17 2020 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,39 +0,0 @@
-$NetBSD: patch-aa,v 1.5 2009/08/29 11:42:04 wiz Exp $
-
---- Makefile.in.orig   2006-04-16 10:18:41.000000000 +0000
-+++ Makefile.in
-@@ -92,19 +92,21 @@ tworldres.o: tworld.ico
- #
- 
- install: tworld
--      mkdir -p $(bindir)
--      mkdir -p $(sharedir)/sets
--      mkdir -p $(sharedir)/data
--      mkdir -p $(sharedir)/res
--      mkdir -p $(mandir)/man6
--      cp -i ./tworld $(bindir)/.
--      cp -i sets/*.dac $(sharedir)/sets/.
--      cp -i data/*.dat $(sharedir)/data/.
--      cp -i res/rc $(sharedir)/res/.
--      cp -i res/*.bmp $(sharedir)/res/.
--      cp -i res/*.txt $(sharedir)/res/.
--      cp -i res/*.wav $(sharedir)/res/.
--      cp -i docs/tworld.6 $(mandir)/man6/.
-+      ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(bindir)
-+      ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(sharedir)/sets
-+      ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(sharedir)/data
-+      ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(sharedir)/res
-+      ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(prefix)/share/doc/tworld
-+      ${BSD_INSTALL_DATA_DIR} ${DESTDIR}$(mandir)/man6
-+      ${BSD_INSTALL_PROGRAM} ./tworld ${DESTDIR}$(bindir)/.
-+      ${BSD_INSTALL_DATA} sets/*.dac ${DESTDIR}$(sharedir)/sets/.
-+      ${BSD_INSTALL_DATA} data/*.dat ${DESTDIR}$(sharedir)/data/.
-+      ${BSD_INSTALL_DATA} res/rc ${DESTDIR}$(sharedir)/res/.
-+      ${BSD_INSTALL_DATA} res/*.bmp ${DESTDIR}$(sharedir)/res/.
-+      ${BSD_INSTALL_DATA} res/*.txt ${DESTDIR}$(sharedir)/res/.
-+      ${BSD_INSTALL_DATA} res/*.wav ${DESTDIR}$(sharedir)/res/.
-+      ${BSD_INSTALL_MAN} docs/tworld.6 ${DESTDIR}$(mandir)/man6/.
-+      ${BSD_INSTALL_DATA} README docs/tworld.html ${DESTDIR}$(prefix)/share/doc/tworld
- 
- all: tworld mklynxcc
- 



Home | Main Index | Thread Index | Old Index