Hi ports -- Attached is an update to games/frotz. The complete changelog is here: https://gitlab.com/DavidGriffith/frotz/-/releases
The two big items for users is UTF-8 and audio support. Update HOMEPAGE/MASTER_SITES while here; it moved to GitLab. Also enable the SDL2 client. I don't think it hurts to have it. Slightly tweak COMMENT: I'm not sure it's fair to call it "curses-based" when only 1 of the 3 clients actually uses ncurses. While here, take MAINTAINER. Discovered when porting the Inform compiler, to be sent separately. OK? ~Brian
Index: Makefile =================================================================== RCS file: /cvs/ports/games/frotz/Makefile,v retrieving revision 1.20 diff -u -p -r1.20 Makefile --- Makefile 12 Jul 2019 20:46:18 -0000 1.20 +++ Makefile 2 Jan 2021 20:30:41 -0000 @@ -1,28 +1,40 @@ # $OpenBSD: Makefile,v 1.20 2019/07/12 20:46:18 sthen Exp $ -COMMENT= curses-based interpreter for Infocom-compatible games +V = 2.52 +COMMENT= interpreter for Infocom-compatible games -DISTNAME= frotz-2.44 -REVISION= 0 +DISTNAME= frotz-${V} CATEGORIES= games -HOMEPAGE= http://frotz.sourceforge.net/ +HOMEPAGE= https://davidgriffith.gitlab.io/frotz/ +MAINTAINER= Brian Callahan <bcal...@openbsd.org> # GPLv2+ PERMIT_PACKAGE= Yes -WANTLIB= c curses - -MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=frotz/} +WANTLIB += SDL2 SDL2_mixer ao c curses execinfo freetype jpeg +WANTLIB += m modplug png pthread samplerate sndfile vorbisfile +WANTLIB += z + +MASTER_SITES= https://gitlab.com/DavidGriffith/frotz/-/archive/${V}/ + +LIB_DEPENDS= audio/libao \ + audio/libmodplug \ + audio/libsamplerate \ + devel/libexecinfo \ + devel/sdl2-mixer \ + graphics/jpeg \ + graphics/png USE_GMAKE= Yes MAKE_FLAGS= CC="${CC}" OPTS="${CFLAGS}" CONFIG_DIR="${SYSCONFDIR}" FAKE_FLAGS= PREFIX=${WRKINST}${TRUEPREFIX} -ALL_TARGET= frotz dfrotz -INSTALL_TARGET= install install_dumb +INSTALL_TARGET= install install_dumb install_sdl CFLAGS += -DUSE_UNISTD_H -DCOLOR_SUPPORT -DEMACS_EDITING + +FAKE_FLAGS = DESTDIR= MAN_PREFIX="${DESTDIR}${PREFIX}" NO_TEST= Yes Index: distinfo =================================================================== RCS file: /cvs/ports/games/frotz/distinfo,v retrieving revision 1.6 diff -u -p -r1.6 distinfo --- distinfo 4 Jun 2015 06:17:38 -0000 1.6 +++ distinfo 2 Jan 2021 20:30:41 -0000 @@ -1,2 +1,2 @@ -SHA256 (frotz-2.44.tar.gz) = c+wg8DTS6RV4w4fP868knVK4gz5CcesQU/bTNXIv4+w= -SIZE (frotz-2.44.tar.gz) = 275534 +SHA256 (frotz-2.52.tar.gz) = Prmvuecm84ijNz/s7ZuCB3ufUpxtkEE+N79/cg6404U= +SIZE (frotz-2.52.tar.gz) = 353485 Index: patches/patch-Makefile =================================================================== RCS file: patches/patch-Makefile diff -N patches/patch-Makefile --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ patches/patch-Makefile 2 Jan 2021 20:30:41 -0000 @@ -0,0 +1,16 @@ +$OpenBSD$ + +Remove hardcoded optimizations + +Index: Makefile +--- Makefile.orig ++++ Makefile +@@ -6,7 +6,7 @@ + #CC ?= clang + + # Enable compiler warnings. This is an absolute minimum. +-CFLAGS += -Wall -std=c99 -O3 #-Wextra ++CFLAGS += -Wall -std=c99 #-Wextra + + # Define your optimization flags. + # Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/games/frotz/pkg/PLIST,v retrieving revision 1.5 diff -u -p -r1.5 PLIST --- pkg/PLIST 18 Oct 2016 19:19:29 -0000 1.5 +++ pkg/PLIST 2 Jan 2021 20:30:41 -0000 @@ -1,5 +1,7 @@ @comment $OpenBSD: PLIST,v 1.5 2016/10/18 19:19:29 sthen Exp $ @bin bin/dfrotz @bin bin/frotz +@bin bin/sfrotz @man man/man6/dfrotz.6 @man man/man6/frotz.6 +@man man/man6/sfrotz.6