59 lines
1.4 KiB
Makefile
59 lines
1.4 KiB
Makefile
# $OpenBSD: Makefile,v 1.3 2008/06/12 20:36:35 sthen Exp $
|
|
|
|
COMMENT= Gameboy Advance emulator
|
|
|
|
VERSION= 1.7.2
|
|
DISTNAME= VisualBoyAdvance-src-${VERSION}
|
|
PKGNAME= vba-${VERSION}p1
|
|
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 \
|
|
Xcomposite Xdamage \
|
|
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 \
|
|
pixman-1 pthread sigc-2.0 stdc++ 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>
|