summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-04-08 11:04:02 +0000
committernia <nia@pkgsrc.org>2021-04-08 11:04:02 +0000
commit2071ccbde22a715122dba40b668a6751d7556576 (patch)
treedb90ece77d0137db0d8ff80c3fcdb649049517e3 /games
parentcf9c3ceb48176c06fc0bb1b22413a89b77920a70 (diff)
downloadpkgsrc-2071ccbde22a715122dba40b668a6751d7556576.tar.gz
frotz: update to 2.53
This is a minor release focusing on minor enhancements and bug fixes. NEW FEATURES - -E option to choose how emphasised text is rendered. - X11 interface has been added as a compile target. - Added new default TrueType font for sfrotz. - Automatically select the appropriate interpreter number for V6 games. - Limited mouse support for curses interface. BUG FIXES - Corrected potential trouble with garbage in filenames for SDL interface. - Corrected a problem wherein @print_table would sometimes print garbage. - Fixed a segfault problem when input buffers are abused. - Double-clicks are now recognized in sfrotz and xfrotz. - Fixed problem with spurious newline when a space triggers a word wrap. - Fixed a problem with UTF-8 characters getting corrupted during line editing. - Fixed some problems with V3 games scribbling on the status line in certain circumstances. - Removed pre-C99 idioms and C++ comments in curses and core to benefit older compilers. X11 is still pre-C99 clean. SDL interface is not pre-C99-clean due to libSDL2 not being pre-C99-clean. - Fixed a problem with the -x flag not properly expanding commands for some Infocom games.
Diffstat (limited to 'games')
-rw-r--r--games/frotz/Makefile9
-rw-r--r--games/frotz/distinfo12
-rw-r--r--games/frotz/patches/patch-Makefile13
3 files changed, 22 insertions, 12 deletions
diff --git a/games/frotz/Makefile b/games/frotz/Makefile
index 960cf793d3a..ffe0dc58a14 100644
--- a/games/frotz/Makefile
+++ b/games/frotz/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.39 2020/08/18 17:57:51 leot Exp $
+# $NetBSD: Makefile,v 1.40 2021/04/08 11:04:02 nia Exp $
-DISTNAME= frotz-2.52
-PKGREVISION= 1
+DISTNAME= frotz-2.53
CATEGORIES= games
MASTER_SITES= https://gitlab.com/DavidGriffith/frotz/-/archive/${PKGVERSION_NOREV}/
@@ -14,7 +13,7 @@ USE_TOOLS+= gmake pkg-config
BUILD_TARGET= curses
FAKE_NCURSES= yes
-USE_CURSES= wide
+USE_CURSES= wide mouse
MAKE_FLAGS+= CURSES=ncursesw
MAKE_FLAGS+= CONFIG_DIR=${PKG_SYSCONFDIR}
@@ -23,6 +22,8 @@ MAKE_FLAGS+= CONFIG_DIR=${PKG_SYSCONFDIR}
.if ${CURSES_TYPE} == "curses"
LDFLAGS+= -lcurses
+.else
+MAKE_FLAGS+= ITALIC=yes
.endif
SAMPLEDIR= ${PREFIX}/share/examples/frotz
diff --git a/games/frotz/distinfo b/games/frotz/distinfo
index f533584d488..9849768b2ab 100644
--- a/games/frotz/distinfo
+++ b/games/frotz/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.16 2020/05/17 14:23:08 nia Exp $
+$NetBSD: distinfo,v 1.17 2021/04/08 11:04:02 nia Exp $
-SHA1 (frotz-2.52.tar.gz) = 3b230ec12c651b5e073c6111c93c4247c874ca0d
-RMD160 (frotz-2.52.tar.gz) = a74e9bb35832e1375ce6321dfad00c30f1ac0014
-SHA512 (frotz-2.52.tar.gz) = 450b2fa1cc943a63749b18fc9964b157dcad7685928e194afac6049eb4c35dc2914b1848f96d9f4bfc8212e90de50ea65ce149be236be16ce1704f24d0437833
-Size (frotz-2.52.tar.gz) = 353485 bytes
-SHA1 (patch-Makefile) = 84913a2a85ebe4b7780a28bce5f25d0441256baa
+SHA1 (frotz-2.53.tar.gz) = 79c2606b08f448b0a56474e8736c5a57a9dcc931
+RMD160 (frotz-2.53.tar.gz) = 323e24a026b1418713c84ad170ad36f3680d0bb8
+SHA512 (frotz-2.53.tar.gz) = 74c727a8f0355828ebe19185e8e06ca5a633e49d88eccb26ec6500f37371ddfbbf19f1cbef367aa004e0342591e07e67510c17552decd573de0c838399587b5f
+Size (frotz-2.53.tar.gz) = 461585 bytes
+SHA1 (patch-Makefile) = b36192c7f5c4a4956a4836a6b9b426d4fd000529
diff --git a/games/frotz/patches/patch-Makefile b/games/frotz/patches/patch-Makefile
index 4b73cce007a..a49a0f702b9 100644
--- a/games/frotz/patches/patch-Makefile
+++ b/games/frotz/patches/patch-Makefile
@@ -1,8 +1,8 @@
-$NetBSD: patch-Makefile,v 1.2 2020/03/22 10:20:06 nia Exp $
+$NetBSD: patch-Makefile,v 1.3 2021/04/08 11:04:02 nia Exp $
Don't force -O3, -g
---- Makefile.orig 2020-02-12 16:22:40.000000000 +0000
+--- Makefile.orig 2021-02-28 00:50:16.000000000 +0000
+++ Makefile
@@ -6,14 +6,13 @@
#CC ?= clang
@@ -20,3 +20,12 @@ Don't force -O3, -g
# Define where you want Frotz installed
PREFIX ?= /usr/local
+@@ -53,7 +52,7 @@ USE_UTF8 ?= yes
+ COLOR ?= yes
+
+ # Comment this out if your machine's version of curses doesn't support italic.
+-ITALIC ?= yes
++#ITALIC ?= yes
+
+ # Select your chosen version of curses. Unless something old is going
+ # on, ncursesw should be used because that's how UTF8 is supported.