blob: db11ffa1cb7fd671da10f860447c358aaf30d32c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# $NetBSD: Makefile,v 1.24 2004/01/22 08:36:03 grant Exp $
#
DISTNAME= atari800-1.3.2
CATEGORIES= emulators
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=atari800/}
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} xf25.zip
MAINTAINER= tech-pkg@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_BUILDLINK2= 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.buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
|