2003-09-17 21:39:58 +02:00
|
|
|
# $NetBSD: Makefile,v 1.13 2003/09/17 19:40:18 grant Exp $
|
1999-05-19 01:14:16 +02:00
|
|
|
|
|
|
|
DISTNAME= stella-1.1-src
|
|
|
|
PKGNAME= stella-1.1
|
2003-06-18 11:22:14 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}/src/build
|
1999-05-19 01:14:16 +02:00
|
|
|
CATEGORIES= emulators
|
|
|
|
MASTER_SITES= ftp://ftp.eos.ncsu.edu/pub/bsvc/stella/1.1/
|
|
|
|
|
2003-07-17 23:31:04 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2001-01-11 22:21:17 +01:00
|
|
|
HOMEPAGE= http://stella.atari.org/
|
2001-02-17 19:38:11 +01:00
|
|
|
COMMENT= Multi-platform Atari 2600 VCS emulator
|
1999-05-19 01:14:16 +02:00
|
|
|
|
|
|
|
USE_X11= yes
|
|
|
|
|
|
|
|
MAKEFILE= makefile
|
|
|
|
ALL_TARGET= unix-x
|
|
|
|
|
2003-06-11 22:50:50 +02:00
|
|
|
.if ${MACHINE_ARCH} == "arm" || ${MACHINE_ARCH} == "arm32"
|
2003-09-17 21:39:58 +02:00
|
|
|
USE_PKGSRC_GCC= # defined
|
2002-03-30 14:01:54 +01:00
|
|
|
.endif
|
|
|
|
|
2002-06-06 22:26:35 +02:00
|
|
|
MAKE_ENV= CXXFLAGS="${CXXFLAGS} -fno-rtti"
|
|
|
|
|
1999-05-19 01:14:16 +02:00
|
|
|
post-build:
|
|
|
|
@cd ${WRKSRC}/../ui/sound && ${MAKE} oss
|
|
|
|
|
|
|
|
do-install:
|
2003-05-05 19:54:35 +02:00
|
|
|
${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
|
1999-05-19 01:14:16 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/../../docs/Stella.pdf ${PREFIX}/share/doc/stella/stella.pdf
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|