summaryrefslogtreecommitdiff
path: root/emulators/uae/Makefile
blob: e0b54c3607ce02c31035658078aac6a756fed45a (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
# $NetBSD: Makefile,v 1.2 1999/06/19 14:56:49 tron Exp $

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

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

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"