549b65deca
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.
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
# $NetBSD: Makefile,v 1.40 2021/04/08 11:04:02 nia Exp $
|
|
|
|
DISTNAME= frotz-2.53
|
|
CATEGORIES= games
|
|
MASTER_SITES= https://gitlab.com/DavidGriffith/frotz/-/archive/${PKGVERSION_NOREV}/
|
|
|
|
MAINTAINER= seebs@plethora.net
|
|
HOMEPAGE= https://davidgriffith.gitlab.io/frotz/
|
|
COMMENT= Curses-based interpreter for Infocom-compatible games
|
|
LICENSE= gnu-gpl-v2
|
|
|
|
USE_TOOLS+= gmake pkg-config
|
|
|
|
BUILD_TARGET= curses
|
|
FAKE_NCURSES= yes
|
|
USE_CURSES= wide mouse
|
|
|
|
MAKE_FLAGS+= CURSES=ncursesw
|
|
MAKE_FLAGS+= CONFIG_DIR=${PKG_SYSCONFDIR}
|
|
|
|
.include "../../mk/curses.buildlink3.mk"
|
|
|
|
.if ${CURSES_TYPE} == "curses"
|
|
LDFLAGS+= -lcurses
|
|
.else
|
|
MAKE_FLAGS+= ITALIC=yes
|
|
.endif
|
|
|
|
SAMPLEDIR= ${PREFIX}/share/examples/frotz
|
|
DOCDIR= ${PREFIX}/share/doc/frotz
|
|
|
|
CONF_FILES+= ${SAMPLEDIR}/frotz.conf ${PKG_SYSCONFDIR}/frotz.conf
|
|
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man6
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/frotz ${DESTDIR}${PREFIX}/bin
|
|
${INSTALL_MAN} ${WRKSRC}/doc/frotz.6 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man6
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${SAMPLEDIR}
|
|
${INSTALL_DATA} ${WRKSRC}/doc/frotz.conf-big \
|
|
${DESTDIR}${SAMPLEDIR}/frotz.conf
|
|
${INSTALL_DATA_DIR} ${DESTDIR}${DOCDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} README INSTALL HOW_TO_PLAY \
|
|
${DESTDIR}${DOCDIR}
|
|
|
|
.include "../../audio/libao/buildlink3.mk"
|
|
.include "../../audio/libmodplug/buildlink3.mk"
|
|
.include "../../audio/libsamplerate/buildlink3.mk"
|
|
.include "../../audio/libsndfile/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|