summaryrefslogtreecommitdiff
path: root/emulators/hatari/Makefile
blob: 2f61769b9768bd20ee52d9ced4aecd3619753714 (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
# $NetBSD: Makefile,v 1.2 2003/03/29 12:40:49 jmmv Exp $
#

DISTNAME=	hatari-0.25
WRKSRC=		${WRKDIR}/hatari-0.25/src
CATEGORIES=	emulators
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE:=hatari/}

MAINTAINER=	cjep@netbsd.org
HOMEPAGE=	http://hatari.sourceforge.net/
COMMENT=	Atari ST emulator

USE_BUILDLINK2=	YES
USE_X11=	YES

ALL_TARGET=	hatari
USE_GMAKE=	yes
MAKE_FLAGS+=	DATADIR=${PREFIX}/share/hatari

HATARI_SHARE=	${PREFIX}/share/hatari

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/hatari ${PREFIX}/bin
	${INSTALL_DATA_DIR} ${HATARI_SHARE}
	${INSTALL_DATA} ${WRKSRC}/font8.bmp ${HATARI_SHARE}
	${INSTALL_DATA} ${WRKDIR}/hatari-0.25/readme.txt ${HATARI_SHARE}
	${INSTALL_DATA} ${WRKDIR}/hatari-0.25/authors.txt ${HATARI_SHARE}
	${INSTALL_DATA} ${WRKDIR}/hatari-0.25/gpl.txt ${HATARI_SHARE}

.include "../../devel/SDL/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"