summaryrefslogtreecommitdiff
path: root/emulators/uae/Makefile
blob: 583381083942b73ccec9815b59522db4a04345e3 (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
# $NetBSD: Makefile,v 1.4 1999/10/07 17:41:52 tron Exp $

DISTNAME=	uae-0.8.8
CATEGORIES=	emulators
MASTER_SITES=	ftp://ftp.freiburg.linux.de/pub/uae/

MAINTAINER=	packages@netbsd.org
HOMEPAGE=	http://www.freiburg.linux.de/~uae/

NOT_FOR_PLATFORM=	*-*-arm32

USE_GMAKE=	yes
USE_X11=	yes
GNU_CONFIGURE=	yes

CPPFLAGS=		-I${WRKSRC}/src/include
# Because using the gtk+ user interface requires a thread library
# we use a brute force method to avoid detection of gtk+.
CONFIGURE_ARGS+=	--enable-dga --enable-vidmode \
			--with-gtk-prefix=${WRKDIR}
CONFIGURE_ENV+=		CPPFLAGS="${CPPFLAGS}"

post-extract:
	@${MKDIR} ${WRKSRC}/src/include/machine
	@${LN} -sf /usr/include/soundcard.h ${WRKSRC}/src/include/machine

do-install:
.for FILE in readdisk uae
	${INSTALL_PROGRAM} ${WRKSRC}/${FILE} ${PREFIX}/bin
.endfor
	${MKDIR} ${PREFIX}/share/doc/uae
.for FILE in FAQ README
	${INSTALL_DATA} ${WRKSRC}/docs/${FILE} ${PREFIX}/share/doc/uae
.endfor

.include "../../mk/bsd.pkg.mk"