PORTNAME=	pcem
DISTVERSION=	14
CATEGORIES=	emulators
MASTER_SITES=	https://bitbucket.org/pcem_emulator/pcem/get/
DISTNAME=	faf5d6423060

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	PC/PC-Compatible low-level emulator striving for accuracy

LICENSE=	gpl2

USES=		autoreconf compiler gl gmake openal pkgconfig sdl zip
USE_GL=		gl
USE_SDL=	sdl2
USE_WX=		3.0

WRKSRC=		${WRKDIR}/pcem_emulator-pcem-faf5d6423060/
PATCHDIR=files
PLIST_FILES=	bin/pcem
CONFIGURE_ARGS=	--enable-release-build --with-wx-config=wxgtk3u-3.0-config
GNU_CONFIGURE=	yes
ONLY_FOR_ARCHS=	amd64

.include <bsd.port.mk>
