summaryrefslogtreecommitdiff
path: root/emulators/desmume/Makefile
blob: 0626b86d993c1dfa059c96c64fa53f0e2c06a9b4 (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
33
34
35
36
37
38
39
40
41
42
43
44
# New ports collection makefile for:	desmume
# Date created:				Wed  7 Feb 2007 21:46:15 CET
# Whom:					Stefan Sperling <stsp@stsp.in-berlin.de>
#
# $FreeBSD$
#

PORTNAME=	desmume
PORTVERSION=	0.9.6
PORTREVISION=	2
CATEGORIES=	emulators
MASTER_SITES=	SF
EXTRACT_SUFX=	-1.tar.gz

MAINTAINER=	llc2w@virginia.edu
COMMENT=	Nintendo DS emulator

LIB_DEPENDS=	gtkglext-x11-1.0.0:${PORTSDIR}/x11-toolkits/gtkglext

USE_SDL=	sdl
USE_GMAKE=	yes
USE_GNOME=	gtk20 libglade2
USE_GETTEXT=	yes
GNU_CONFIGURE=	yes
CONFIGURE_ENV=	GMSGFMT=msgfmt DATADIRNAME=share

USE_AUTOTOOLS=	aclocal autoconf
ACLOCAL_ARGS=
AUTOCONF_ARGS=

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

MAN1=		desmume-cli.1 \
		desmume-glade.1 \
		desmume.1

.include <bsd.port.pre.mk>

.if ${ARCH} == "ia64"
BROKEN=		Does not compile on ia64
.endif

.include <bsd.port.post.mk>