summaryrefslogtreecommitdiff
path: root/emulators/BasiliskII/Makefile
blob: 290c215625d24503e76eeb2d5f2d6ba269164a7f (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
# $NetBSD: Makefile,v 1.26 2006/02/05 23:08:59 joerg Exp $

DISTNAME=	BasiliskII_src_22112005
PKGNAME=	BasiliskII-1.0.20051122
PKGREVISION=	1
CATEGORIES=	emulators
MASTER_SITES=	http://www.gibix.net/projects/basilisk2/files/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	tech-pkg@NetBSD.org
HOMEPAGE=	http://www.gibix.net/projects/basilisk2/
COMMENT=	Open Source 68k Macintosh emulator

WRKSRC=			${WRKDIR}/BasiliskII-1.0
USE_LANGUAGES=		c c++
USE_TOOLS+=		gmake
GNU_CONFIGURE=		yes
CONFIGURE_DIRS=		src/Unix
CONFIGURE_ARGS+=	--disable-fbdev-dga
CONFIGURE_ARGS+=	--enable-addressing=banks
CONFIGURE_ARGS+=	--without-mon
# disable gnome support, or configure will break if gnome-libs is installed
CONFIGURE_ENV+=		ac_cv_path_GNOME_CONFIG=no
BUILD_DIRS=		${CONFIGURE_DIRS}

.include "options.mk"

post-install:
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/BasiliskII
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/BasiliskII/
	${INSTALL_DATA} ${WRKSRC}/TECH ${PREFIX}/share/doc/BasiliskII/
	${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/doc/BasiliskII/

.include "../../converters/libiconv/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"