aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/desmume/Makefile
blob: 6d9992ee45b0af95164d174f5ae189c709583fe7 (plain) (blame)
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
33
34
# 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

BROKEN=     fails to build

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>