pkgsrc/emulators/stella/Makefile
agc 1cf87833d6 When constructing the WRKSRC definition, use ${PKGNAME_NOREV} rather than
${PKGNAME}, so that the WRKSRC definition is immune from any subsequent
PKGREVISION changes. With thanks to jmc for the nudge.
2003-06-18 09:22:14 +00:00

36 lines
1.1 KiB
Makefile

# $NetBSD: Makefile,v 1.10 2003/06/18 09:22:18 agc Exp $
DISTNAME= stella-1.1-src
PKGNAME= stella-1.1
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}/src/build
CATEGORIES= emulators
MASTER_SITES= ftp://ftp.eos.ncsu.edu/pub/bsvc/stella/1.1/
MAINTAINER= tech-pkg@netbsd.org
HOMEPAGE= http://stella.atari.org/
COMMENT= Multi-platform Atari 2600 VCS emulator
USE_X11= yes
MAKEFILE= makefile
ALL_TARGET= unix-x
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
. include "../../mk/gcc.buildlink2.mk"
.endif
MAKE_ENV= CXXFLAGS="${CXXFLAGS} -fno-rtti"
post-build:
@cd ${WRKSRC}/../ui/sound && ${MAKE} oss
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/stella
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/stella
${INSTALL_PROGRAM} ${WRKSRC}/xstella ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/../ui/sound/stella-sound ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/../../games/ROMS/* ${PREFIX}/share/stella
${INSTALL_DATA} ${WRKSRC}/../../games/docs/* ${PREFIX}/share/doc/stella
${INSTALL_DATA} ${WRKSRC}/../../docs/Stella.pdf ${PREFIX}/share/doc/stella/stella.pdf
.include "../../mk/bsd.pkg.mk"