openbsd-ports/emulators/desmume/Makefile
2011-12-11 13:11:49 +00:00

49 lines
1.2 KiB
Makefile

# $OpenBSD: Makefile,v 1.2 2011/12/11 13:11:49 jasper Exp $
COMMENT = Nintendo DS emulator
DISTNAME = desmume-0.9.7
REVISION = 0
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 \
textproc/intltool
CONFIGURE_STYLE = gnu
.include <bsd.port.mk>