# $MidnightBSD: trunk/emulators/dgen-sdl/Makefile 21720 2016-08-18 04:10:10Z laffer1 $

PORTNAME=	dgen-sdl
PORTVERSION=	1.33
CATEGORIES=	emulators
MASTER_SITES=	SF/dgen/dgen/${PORTVERSION}

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	Wonderful Sega Genesis/MegaDrive emulator
LICENSE=	unknown

USES=		gmake libarchive
USE_SDL=	sdl
USE_GL=		yes
GNU_CONFIGURE=	yes

PLIST_FILES=	bin/dgen \
		bin/dgen_tobin \
		man/man1/dgen.1.gz \
		man/man1/dgen_tobin.1.gz \
		man/man5/dgenrc.5.gz

.include <bsd.port.pre.mk>

.if ${ARCH} == i386
BUILD_DEPENDS+=	nasm:${PORTSDIR}/devel/nasm
.else
CONFIGURE_ARGS+=	--disable-asm
.endif

.include <bsd.port.post.mk>
