aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/desmume/Makefile
blob: fb4406f91bad5f2ca2ac20009fe0749ba883ab02 (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
35
36
37
38
# Created by: Stefan Sperling <stsp@stsp.in-berlin.de>
# $FreeBSD$

PORTNAME=   desmume
PORTVERSION=    0.9.10
PORTREVISION=   1
CATEGORIES= emulators
MASTER_SITES=   SF

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

LICENSE=    GPLv2

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

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

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

USE_AUTOTOOLS=  aclocal autoconf
ACLOCAL_ARGS=
AUTOCONF_ARGS=

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

BROKEN_ia64=    Does not compile on ia64

.include <bsd.port.mk>