pkgsrc/emulators/atari800/Makefile
nia e686016ee1 atari800: Update to 4.2.0. Nice.
Version 4.2.0 (2019/12/28) - released at SILK

New Features:

    raw Pokey registers recording by Ivo van Poorten
    new platform supported: FireBee
    optional hiding of hidden files/folders in the UI file selector
    libatari800 (Atari800 as a library) by Rob McMullen
    R: device (many years old feature) enabled by default

Fixes:

    proper check if SDL joysticks are found (fixes #58)
    Portrait mode for Android (related to #41)
    RMW for Pokey
    Improved BASIC LST file loading (#55)
    ROM OS path changes handled better (#15)
    improved "Find ROM images" - now Atari800 reboots if necessary (#15)
    fixed an old bug which caused freezing in the UI on Falcon

New command line options:

    -pokeyrec and its children
    -atari_files (#29)
    -saved_files (#29)
    -kbdjoy0 -kbdjoy1 -nokbdjoy0 -nokbdjoy1 (#29)

Plus many Atari Falcon specific fixes and improvements by Mikro. This should be the most complete and bug-free Atari Falcon release in years, so enjoy! :)
2020-01-18 21:33:13 +00:00

49 lines
1.5 KiB
Makefile

# $NetBSD: Makefile,v 1.56 2020/01/18 21:33:13 nia Exp $
DISTNAME= atari800-4.2.0-src
PKGNAME= ${DISTNAME:S/-src//}
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=atari800/}
MASTER_SITES+= http://www.emulators.com/freefile/
EXTRACT_SUFX= .tgz
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} pcxf380.zip
GITHUB_PROJECT= atari800
GITHUB_RELEASE= ATARI800_${PKGVERSION_NOREV:S/./_/g}
MAINTAINER= adam@NetBSD.org
HOMEPAGE= https://atari800.github.io/
COMMENT= Atari 800, 800XL, 130XE and 5200 emulator
LICENSE= gnu-gpl-v2
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_TOOLS+= gmake unzip
CONFIGURE_ARGS+= --disable-sdltest
CONFIGURE_ARGS+= --with-sound=sdl
CONFIGURE_ARGS+= --with-video=sdl
GNU_CONFIGURE= yes
INSTALLATION_DIRS+= ${PREFIX}/share/atari800
# override HOME to avoid picking up a bad ${HOME}/.atari800 during the build
MAKE_FLAGS+= HOME=${WRKSRC}
SUBST_CLASSES+= cfg-path
SUBST_STAGE.cfg-path= pre-configure
SUBST_MESSAGE.cfg-path= Setting config path.
SUBST_FILES.cfg-path= src/cfg.c
SUBST_SED.cfg-path= -e 's,"/etc,"${PREFIX}/share/atari800,g'
post-extract:
cd ${WRKDIR} && unzip -Lqo ${DISTDIR}/pcxf380.zip
sed -e 's,@PREFIX@,${PREFIX},g' ${FILESDIR}/atari800.cfg \
>${WRKSRC}/atari800.cfg
post-install:
${INSTALL_DATA} ${WRKDIR}/*.rom ${WRKDIR}/*.xfd ${WRKDIR}/*.atr \
${WRKSRC}/atari800.cfg ${DESTDIR}${PREFIX}/share/atari800/
.include "../../devel/SDL/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"