openbsd-ports/emulators/desmume/Makefile
bentley c80916cd1f Import emulators/desmume.
DeSmuME is a Nintendo DS emulator.

It supports many homebrew NDS rom demos as well as a handful of wireless
multiboot demo NDS roms. It also runs DSLinux, the port of Linux to the
Nintendo DS.

ok landry@ sthen@
2011-09-21 03:58:08 +00:00

47 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2011/09/21 03:58:08 bentley Exp $
COMMENT = Nintendo DS emulator
DISTNAME = desmume-0.9.7
CATEGORIES = emulators
HOMEPAGE = http://desmume.org/
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += agg c m pthread stdc++ z GL GLU ICE SM X11 Xcomposite
WANTLIB += Xcursor Xdamage Xext Xfixes Xi Xinerama Xmu Xrandr Xrender
WANTLIB += Xt expat fontconfig freetype pixman-1 pthread-stubs
WANTLIB += xcb xcb-render xcb-shm png xml2 gdk_pixbuf-2.0 gio-2.0
WANTLIB += glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 pangox-1.0 SDL
WANTLIB += glade-2.0 atk-1.0 cairo gdk-x11-2.0 gdkglext-x11-1.0 gtk-x11-2.0
WANTLIB += gtkglext-x11-1.0 pango-1.0 pangocairo-1.0 pangoft2-1.0 zzip
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=desmume/}
RUN_DEPENDS = devel/desktop-file-utils
LIB_DEPENDS = archivers/zziplib \
devel/sdl \
devel/libglade2 \
graphics/agg \
graphics/gdk-pixbuf2 \
graphics/png \
textproc/libxml \
x11/gtkglext
CONFIGURE_ENV += CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib -liconv"
MODULES = devel/gettext \
lang/lua
CONFIGURE_STYLE = gnu
.include <bsd.port.mk>