pkgsrc/games/frotz/Makefile
nia 5b867bf0fe frotz: Update to 2.52
Frotz 2.52 was released on Sunday May 10, 2020.

This is a minor release focusing on minor enhancements and bug fixes.

NEW FEATURES

- Partial support for new @set_true_colour opcode.  Works for SDL.
  Doesn't work all the way for curses.  Not in scope for dumb interface.


BUG FIXES

- Reworked Makefiles to better handle library detection, particularly
  for macOS.

- Fixed rendering of non-paletted PNG images.  Affected only non-Infocom
  V6 games.

- Rolled back idiosyncrasy fix for Cutthroats and changed over to the
  quick-and-dirty 24-to-12 conversion used by Infocom as this is how the
  Imps expected an interpreter to behave.

- Fixed broken handling of game paths set in environmental variables and
  in config files.

- Fixed slightly broken parsing of .sfrotzrc.

- Fixed behavior of command line processing inconsistent between the
  different user interfaces.

- Assorted source code formatting fixes.
2020-05-17 14:23:08 +00:00

49 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.38 2020/05/17 14:23:08 nia Exp $
DISTNAME= frotz-2.52
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
MAKE_FLAGS+= CURSES=ncursesw
MAKE_FLAGS+= CONFIG_DIR=${PKG_SYSCONFDIR}
.include "../../mk/curses.buildlink3.mk"
.if ${CURSES_TYPE} == "curses"
LDFLAGS+= -lcurses
.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"