pkgsrc/emulators/atari800/Makefile
adam 9fc8d207b0 Changes 1.3.3:
* ANTIC mode 2 + GTIA mode 10 - half pixel shift fix
* Amiga port updated
* OS/2 port updated
* DOSVGA port updated - joystick definition read again
* X11 port has improved keyboard support (Ctrl+Pause, left Ctrl for joy button)
* SDL port updated: joysticks emulated on keyboard can be freely edited
  now with SDL_JOY_0_<direction> and SDL_TRIG_0 (same for JOY_1/TRIG_1)
  config file parameters that expect values from SDL keySyms.
2004-09-24 13:42:18 +00:00

39 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.26 2004/09/24 13:42:18 adam Exp $
DISTNAME= atari800-1.3.3
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=atari800/}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} xf25.zip
MAINTAINER= adam@NetBSD.org
HOMEPAGE= http://atari800.sourceforge.net/
COMMENT= Atari 800, 800XL, 130XE and 5200 emulator
RESTRICTED= "copyrighted ROM images"
NO_SRC_ON_FTP= ${RESTRICTED}
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_FTP= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_BUILDLINK3= YES
USE_GNU_TOOLS+= make
USE_X11= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --target=x11
# override HOME to avoid picking up a bad ${HOME}/.atari800 during the build
MAKE_FLAGS+= HOME=${WRKSRC}
post-extract:
@cd ${WRKDIR} && ${LOCALBASE}/bin/unzip -Lqo ${DISTDIR}/xf25.zip
${SED} -e 's,@PREFIX@,${PREFIX},g' <${FILESDIR}/atari800.cfg \
>${WRKSRC}/atari800.cfg
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/atari800
${INSTALL_DATA} ${WRKDIR}/*.rom ${WRKDIR}/*.xfd ${WRKDIR}/*.atr \
${WRKSRC}/atari800.cfg ${PREFIX}/share/atari800/
.include "../../mk/ossaudio.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"