openbsd-ports/emulators/vba/Makefile
jasper 1117b477c7 import vba 1.7.2
VisualBoyAdvance is an emulator for Nintendo's Gameboy Advance. It also
supports emulation of the Gameboy (classic), Gameboy Pocket, Gameboy
Color and Gameboy Advance SP.

Some of the main features are:
- option to use BIOS file
- zip/gzip file support
- graphic filters Normal, TV Mode, 2xSaI, Super 2xSaI and more
- interframe blending support
- built-in ARM/THUMB assembly debugger
- 10 save states accesible through keyboard
- automatic battery file load/save
- auto-fire support
- 16, 24 and 32 bit desktop support
- GDB remote debugging
- AGBPrint support for development
- RTC support

with a tweak from Gleydson Soares
2007-09-28 14:18:17 +00:00

58 lines
1.4 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2007/09/28 14:18:17 jasper Exp $
COMMENT= Gameboy Advance emulator
VERSION= 1.7.2
DISTNAME= VisualBoyAdvance-src-${VERSION}
PKGNAME= vba-${VERSION}
CATEGORIES= emulators
HOMEPAGE= http://vba.ngemu.com/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama Xrandr \
Xrender atk-1.0 atkmm-1.6 c cairomm-1.0 expat fontconfig \
freetype gdk-x11-2.0 gdk_pixbuf-2.0 gdkmm-2.4 glade-2.0 \
glib-2.0 glibmm-2.4 glitz gmodule-2.0 gobject-2.0 gtk-x11-2.0 \
gtkmm-2.4 m pango-1.0 pangocairo-1.0 pangoft2-1.0 pangomm-1.4 \
pthread sigc-2.0 stdc++ usbhid xml2 z
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vba/}
MODULES= gcc3
MODGCC3_ARCHES= sparc
MODGCC3_LANGS= c c++
MODULES+= devel/gettext
USE_LIBTOOL= Yes
USE_X11= Yes
USE_GMAKE= Yes
LIB_DEPENDS= SDL::devel/sdl \
png::graphics/png \
glademm-2.4::devel/libglademm \
cairo::graphics/cairo
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include/libpng \
-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lm" \
LIBS+="-lintl"
CONFIGURE_ARGS= --disable-profiling \
--without-mmx \
--with-x \
--enable-gtk=2.4
.if ${MACHINE_ARCH} == "i386"
CONFIGURE_ARGS+= --enable-c-core
.endif
WRKDIST= ${WRKDIR}/${DISTNAME:S/-src//}
.include <bsd.port.mk>