| @@ -1,37 +1,39 @@ | | | @@ -1,37 +1,39 @@ |
1 | # $NetBSD: Makefile,v 1.3 2009/04/25 15:09:02 tnn Exp $ | | 1 | # $NetBSD: Makefile,v 1.4 2009/04/25 15:15:20 tnn Exp $ |
2 | # | | 2 | # |
3 | | | 3 | |
4 | DISTNAME= snes9x-1.51-src-gtk-70 | | 4 | DISTNAME= snes9x-1.51-src-gtk-70 |
5 | PKGNAME= snes9x-gtk-1.51.70 | | 5 | PKGNAME= snes9x-gtk-1.51.70 |
6 | PKGREVISION= 1 | | 6 | PKGREVISION= 1 |
7 | CATEGORIES= emulators | | 7 | CATEGORIES= emulators |
8 | MASTER_SITES= http://snes9x-gtk.googlecode.com/files/ | | 8 | MASTER_SITES= http://snes9x-gtk.googlecode.com/files/ |
9 | EXTRACT_SUFX= .tar.bz2 | | 9 | EXTRACT_SUFX= .tar.bz2 |
10 | | | 10 | |
11 | MAINTAINER= pkgsrc-users@NetBSD.org | | 11 | MAINTAINER= pkgsrc-users@NetBSD.org |
12 | HOMEPAGE= http://www.snes9x.com/phpbb2/viewtopic.php?p=22874 | | 12 | HOMEPAGE= http://www.snes9x.com/phpbb2/viewtopic.php?p=22874 |
13 | COMMENT= SNES emulator with GTK frontend | | 13 | COMMENT= SNES emulator with GTK frontend |
14 | | | 14 | |
15 | PKG_DESTDIR_SUPPORT= user-destdir | | 15 | PKG_DESTDIR_SUPPORT= user-destdir |
16 | | | 16 | |
17 | WRKSRC= ${WRKDIR}/snes9x-1.51-src/gtk | | 17 | WRKSRC= ${WRKDIR}/snes9x-1.51-src/gtk |
18 | GNU_CONFIGURE= yes | | 18 | GNU_CONFIGURE= yes |
19 | USE_DIRS= xdg-1.4 | | 19 | USE_DIRS= xdg-1.4 |
20 | USE_LANGUAGES= c c++ | | 20 | USE_LANGUAGES= c c++ |
21 | USE_TOOLS+= intltool pkg-config | | 21 | USE_TOOLS+= intltool pkg-config |
22 | | | 22 | |
23 | CONFIGURE_ARGS+= --without-opengl | | 23 | CONFIGURE_ARGS+= --without-opengl |
24 | | | 24 | |
| | | 25 | .include "../../mk/bsd.prefs.mk" |
| | | 26 | |
25 | .if ${MACHINE_ARCH} == "i386" | | 27 | .if ${MACHINE_ARCH} == "i386" |
26 | BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm | | 28 | BUILD_DEPENDS+= nasm>=0.98:../../devel/nasm |
27 | .endif | | 29 | .endif |
28 | | | 30 | |
29 | .include "../../audio/portaudio-devel/buildlink3.mk" | | 31 | .include "../../audio/portaudio-devel/buildlink3.mk" |
30 | .include "../../devel/SDL/buildlink3.mk" | | 32 | .include "../../devel/SDL/buildlink3.mk" |
31 | .include "../../devel/libglade/buildlink3.mk" | | 33 | .include "../../devel/libglade/buildlink3.mk" |
32 | .include "../../graphics/gtkglext/buildlink3.mk" | | 34 | .include "../../graphics/gtkglext/buildlink3.mk" |
33 | BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.10.0 | | 35 | BUILDLINK_API_DEPENDS.gtk2+= gtk2+>=2.10.0 |
34 | .include "../../x11/gtk2/buildlink3.mk" | | 36 | .include "../../x11/gtk2/buildlink3.mk" |
35 | .include "../../x11/libXv/buildlink3.mk" | | 37 | .include "../../x11/libXv/buildlink3.mk" |
36 | .include "../../x11/libXtst/buildlink3.mk" | | 38 | .include "../../x11/libXtst/buildlink3.mk" |
37 | .include "../../mk/bsd.pkg.mk" | | 39 | .include "../../mk/bsd.pkg.mk" |