summaryrefslogtreecommitdiffstats
path: root/emulators/desmume/Makefile
blob: ee55a4faae0289db2ce28593b592eb7e61c3cd24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Created by: Stefan Sperling <stsp@stsp.in-berlin.de>
# $FreeBSD$

PORTNAME=	desmume
PORTVERSION=	0.9.11
PORTREVISION=	2
CATEGORIES=	emulators
MASTER_SITES=	SF

MAINTAINER=	hardy.schumacher@gmx.de
COMMENT=	Nintendo DS emulator

LICENSE=	GPLv2

LIB_DEPENDS=	libgtkglext-x11-1.0.so:x11-toolkits/gtkglext \
		libSoundTouch.so:audio/soundtouch

USE_GL=		gl
USE_SDL=	sdl
USE_GNOME=	gtk20 intltool libglade2
USES=		autoreconf desktop-file-utils dos2unix gettext gmake pkgconfig
DOS2UNIX_FILES=	src/utils/task.cpp

GNU_CONFIGURE=	yes
CONFIGURE_ENV=	GMSGFMT=msgfmt DATADIRNAME=share
CONFIGURE_ARGS=	--enable-glade

CFLAGS+=	-I${LOCALBASE}/include -L${LOCALBASE}/lib -DGTKGLEXT_AVAILABLE \
		-DHAVE_LIBGDKGLEXT_X11_1_0 -DHAVE_GL_GL_H -DHAVE_GL_GLU_H
CXXFLAGS+=	${CFLAGS}

.include <bsd.port.mk>
OpenPOWER on IntegriCloud