summaryrefslogtreecommitdiff
path: root/emulators/snes9x-gtk/Makefile
blob: 9b1d0122b5178bc633ec6595b7f6de69ad546e64 (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
39
# $NetBSD: Makefile,v 1.13 2010/09/14 11:01:45 wiz Exp $
#

DISTNAME=	snes9x-1.52-src
PKGNAME=	snes9x-gtk-1.52.79
PKGREVISION=	2
CATEGORIES=	emulators
MASTER_SITES=	http://snes9x-gtk.googlecode.com/files/
EXTRACT_SUFX=	.tar.bz2

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://www.snes9x.com/phpbb2/viewtopic.php?p=22874
COMMENT=	SNES emulator with GTK frontend

PKG_DESTDIR_SUPPORT=	user-destdir

WRKSRC=		${WRKDIR}/snes9x-1.52-src/gtk
GNU_CONFIGURE=	yes
USE_LANGUAGES=	c c++
USE_TOOLS+=	intltool pkg-config msgfmt

CONFIGURE_ARGS+=	--without-opengl

.include "../../mk/bsd.prefs.mk"

.if ${MACHINE_ARCH} == "i386"
BUILD_DEPENDS+=		nasm>=0.98:../../devel/nasm
.endif

.include "../../audio/portaudio-devel/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
.include "../../devel/libglade/buildlink3.mk"
.include "../../graphics/gtkglext/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
BUILDLINK_API_DEPENDS.gtk2+=	gtk2+>=2.10.0
.include "../../x11/gtk2/buildlink3.mk"
.include "../../x11/libXv/buildlink3.mk"
.include "../../x11/libXtst/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"