pkgsrc/emulators/atari800/Makefile

50 lines
1.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.56 2020/01/18 21:33:13 nia Exp $
DISTNAME= atari800-4.2.0-src
atari800: updated to 4.1.0 Version 4.1.0: New Features: * Atari800 now includes Altirra BIOS-es for all emulated systems: 400/800, XL/XE, and 5200; as well as Altirra BASIC. It is now possible to use the emulator without providing any ROM images. * The Altirra OS-es and Altirra BASIC can now be selected by users in the "System settings", if they want to use them. Previously Altirra OS was used automatically only when no other OS ROMs were found. * joyhat support for all four real joysticks, configurable in CLI/cfg/TUI Notable changes: * All documentation specific to building Atari800 on Windows has been moved from DOC/INSTALL to a new file, DOC/BUILD.windows. This document has also been expanded with a new chapter covering building Atari800 using MSYS2. * Ability to use the built-in EmuOS firmware has been removed. Users wishing to run Atari800 without providing OS ROMs now have an option of using the built-in Altirra OS-es, which are compatible with much more Atari software than EmuOS. At the same time, it is still possible to compile a version of Atari800 without any OS ROMs built in, by means of the --disable-altirra_bios configure option. Port specific improvements: == Atari Falcon == * More Videl/screen handling fixes * Ability to run Atari800 in an AES-less environment * Replaced C2P with MMU friendly and faster code * Atari800 should run on all TOS clones with XBIOS Sound API == Android == * Fixed building of the Android target, broken in the previous release. * Fixed labels on console keys (unreadable on hi-res displays) * Fixed console keys press detection * Fixed "right-handed joystick" trigger press == Raspberry Pi == * updated build documentation * find proper Broadcom GLes libraries * fixed bug in GRAPHICS 9 (shifted colors) == MS Windows == * updated build documentation General Fixes: * updated build documentation * it is possible to build atari800 out of source tree * unconnected host joysticks initialized properly, fixes the MULE game
2019-05-05 12:12:59 +02:00
PKGNAME= ${DISTNAME:S/-src//}
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_GITHUB:=atari800/}
MASTER_SITES+= http://www.emulators.com/freefile/
atari800: updated to 4.1.0 Version 4.1.0: New Features: * Atari800 now includes Altirra BIOS-es for all emulated systems: 400/800, XL/XE, and 5200; as well as Altirra BASIC. It is now possible to use the emulator without providing any ROM images. * The Altirra OS-es and Altirra BASIC can now be selected by users in the "System settings", if they want to use them. Previously Altirra OS was used automatically only when no other OS ROMs were found. * joyhat support for all four real joysticks, configurable in CLI/cfg/TUI Notable changes: * All documentation specific to building Atari800 on Windows has been moved from DOC/INSTALL to a new file, DOC/BUILD.windows. This document has also been expanded with a new chapter covering building Atari800 using MSYS2. * Ability to use the built-in EmuOS firmware has been removed. Users wishing to run Atari800 without providing OS ROMs now have an option of using the built-in Altirra OS-es, which are compatible with much more Atari software than EmuOS. At the same time, it is still possible to compile a version of Atari800 without any OS ROMs built in, by means of the --disable-altirra_bios configure option. Port specific improvements: == Atari Falcon == * More Videl/screen handling fixes * Ability to run Atari800 in an AES-less environment * Replaced C2P with MMU friendly and faster code * Atari800 should run on all TOS clones with XBIOS Sound API == Android == * Fixed building of the Android target, broken in the previous release. * Fixed labels on console keys (unreadable on hi-res displays) * Fixed console keys press detection * Fixed "right-handed joystick" trigger press == Raspberry Pi == * updated build documentation * find proper Broadcom GLes libraries * fixed bug in GRAPHICS 9 (shifted colors) == MS Windows == * updated build documentation General Fixes: * updated build documentation * it is possible to build atari800 out of source tree * unconnected host joysticks initialized properly, fixes the MULE game
2019-05-05 12:12:59 +02:00
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
atari800: updated to 4.1.0 Version 4.1.0: New Features: * Atari800 now includes Altirra BIOS-es for all emulated systems: 400/800, XL/XE, and 5200; as well as Altirra BASIC. It is now possible to use the emulator without providing any ROM images. * The Altirra OS-es and Altirra BASIC can now be selected by users in the "System settings", if they want to use them. Previously Altirra OS was used automatically only when no other OS ROMs were found. * joyhat support for all four real joysticks, configurable in CLI/cfg/TUI Notable changes: * All documentation specific to building Atari800 on Windows has been moved from DOC/INSTALL to a new file, DOC/BUILD.windows. This document has also been expanded with a new chapter covering building Atari800 using MSYS2. * Ability to use the built-in EmuOS firmware has been removed. Users wishing to run Atari800 without providing OS ROMs now have an option of using the built-in Altirra OS-es, which are compatible with much more Atari software than EmuOS. At the same time, it is still possible to compile a version of Atari800 without any OS ROMs built in, by means of the --disable-altirra_bios configure option. Port specific improvements: == Atari Falcon == * More Videl/screen handling fixes * Ability to run Atari800 in an AES-less environment * Replaced C2P with MMU friendly and faster code * Atari800 should run on all TOS clones with XBIOS Sound API == Android == * Fixed building of the Android target, broken in the previous release. * Fixed labels on console keys (unreadable on hi-res displays) * Fixed console keys press detection * Fixed "right-handed joystick" trigger press == Raspberry Pi == * updated build documentation * find proper Broadcom GLes libraries * fixed bug in GRAPHICS 9 (shifted colors) == MS Windows == * updated build documentation General Fixes: * updated build documentation * it is possible to build atari800 out of source tree * unconnected host joysticks initialized properly, fixes the MULE game
2019-05-05 12:12:59 +02:00
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}
atari800: updated to 4.1.0 Version 4.1.0: New Features: * Atari800 now includes Altirra BIOS-es for all emulated systems: 400/800, XL/XE, and 5200; as well as Altirra BASIC. It is now possible to use the emulator without providing any ROM images. * The Altirra OS-es and Altirra BASIC can now be selected by users in the "System settings", if they want to use them. Previously Altirra OS was used automatically only when no other OS ROMs were found. * joyhat support for all four real joysticks, configurable in CLI/cfg/TUI Notable changes: * All documentation specific to building Atari800 on Windows has been moved from DOC/INSTALL to a new file, DOC/BUILD.windows. This document has also been expanded with a new chapter covering building Atari800 using MSYS2. * Ability to use the built-in EmuOS firmware has been removed. Users wishing to run Atari800 without providing OS ROMs now have an option of using the built-in Altirra OS-es, which are compatible with much more Atari software than EmuOS. At the same time, it is still possible to compile a version of Atari800 without any OS ROMs built in, by means of the --disable-altirra_bios configure option. Port specific improvements: == Atari Falcon == * More Videl/screen handling fixes * Ability to run Atari800 in an AES-less environment * Replaced C2P with MMU friendly and faster code * Atari800 should run on all TOS clones with XBIOS Sound API == Android == * Fixed building of the Android target, broken in the previous release. * Fixed labels on console keys (unreadable on hi-res displays) * Fixed console keys press detection * Fixed "right-handed joystick" trigger press == Raspberry Pi == * updated build documentation * find proper Broadcom GLes libraries * fixed bug in GRAPHICS 9 (shifted colors) == MS Windows == * updated build documentation General Fixes: * updated build documentation * it is possible to build atari800 out of source tree * unconnected host joysticks initialized properly, fixes the MULE game
2019-05-05 12:12:59 +02:00
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 \
2008-06-20 03:09:05 +02:00
${WRKSRC}/atari800.cfg ${DESTDIR}${PREFIX}/share/atari800/
.include "../../devel/SDL/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../mk/readline.buildlink3.mk"
2012-05-23 07:03:56 +02:00
.include "../../mk/termcap.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"