summaryrefslogtreecommitdiff
path: root/emulators/generator-cbiere/Makefile
blob: 2caaa000e4559d2b50027645c76135727e2a50dc (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
# $NetBSD: Makefile,v 1.3 2005/12/11 09:40:39 wiz Exp $
#

DISTNAME=	generator-0.35-cbiere-r2
PKGNAME=	generator-cbiere-0.35r2
PKGREVISION=	1
CATEGORIES=	emulators
MASTER_SITES=	http://www.ghostwhitecrab.de/generator/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	tech-pkg@NetBSD.org
HOMEPAGE=	http://www.ghostwhitecrab.de/generator/
COMMENT=	Sega Mega drive genesis emulator (Improved)

GNU_CONFIGURE=		yes

.if (${MACHINE_ARCH} == "i386")
BUILD_DEPENDS+=		nasm-[0-9]*:../../devel/nasm
CONFIGURE_ARGS+=	--with-gtk --with-raze
.else
CONFIGURE_ARGS+=	--with-gtk --with-cmz80
.endif

CONFIGURE_ARGS+=	--with-sdl-audio

.include "../../mk/endian.mk"

.if ${MACHINE_ENDIAN} == "big"
CFLAGS+=	-DBYTES_HIGHFIRST
.endif

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/main/generator-gtk \
		${PREFIX}/bin/generator-cbiere-gtk

.include "../../devel/SDL/buildlink3.mk"
.include "../../x11/gtk/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"