summaryrefslogtreecommitdiff
path: root/emulators/mupen64plus-core/Makefile
blob: e5cf44002239f2182e28e75c7d14d7bed4a767da (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
39
40
41
42
# New ports collection makefile for:	mupen64plus-base
# Date created:		2008-05-16
# Whom:			Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	mupen64plus
PORTVERSION?=	1.3
PORTREVISION?=	0
CATEGORIES=	emulators
MASTER_SITES=	${MASTER_SITE_GOOGLE_CODE}
PKGNAMESUFFIX?=	-base
DIST_SUBDIR=	${PORTNAME}

MAINTAINER?=	acm@FreeBSD.org
COMMENT?=	A fork of Mupen64 Nintendo 64 emulator

USE_ZIP=	yes
USE_GNOME?=	pkgconfig gtk20
USE_GL?=	#
USE_SDL?=	#
USE_GMAKE=	yes
ONLY_FOR_ARCHS=	i386 amd64

MAKE_ENV+=	CXX="${CXX}" PTHREAD_LIBS="${PTHREAD_LIBS}"
OPTIONSFILE=	${PORT_DBDIR}/${PORTNAME}${PKGNAMESUFFIX}/options

FIXFILES?=	r4300/r4300.c r4300/recomp.c memory/dma.c r4300/x86/assemble.c \
		r4300/x86_64/assemble.c main/gui_gtk/main_gtk.c main/vcr.c

OPTIONS?=	NOGUI	"Build without GUI support"	off

.include <bsd.port.pre.mk>

.if defined(WITH_NOGUI)
HAVE_NOGUI=	true
.endif

.include "${MASTERDIR}/Makefile.common"

.include <bsd.port.post.mk>