View | Details | Raw Unified | Return to bug 117306
Collapse All | Expand All

(-)scummvm/Makefile (-2 / +21 lines)
Lines 7-12 Link Here
7
7
8
PORTNAME=	scummvm
8
PORTNAME=	scummvm
9
PORTVERSION=	0.10.0a
9
PORTVERSION=	0.10.0a
10
PORTREVISION=	1
10
CATEGORIES=	games emulators
11
CATEGORIES=	games emulators
11
MASTER_SITES=	SF
12
MASTER_SITES=	SF
12
13
Lines 21-32 Link Here
21
CONFIGURE_ARGS=--with-sdl-prefix=${LOCALBASE} \
22
CONFIGURE_ARGS=--with-sdl-prefix=${LOCALBASE} \
22
		--disable-alsa \
23
		--disable-alsa \
23
		--with-zlib-prefix=/usr \
24
		--with-zlib-prefix=/usr \
24
		--disable-debug
25
		--disable-debug \
26
		--disable-tremor
25
CONFIGURE_ENV=	CXX="${CXX}"
27
CONFIGURE_ENV=	CXX="${CXX}"
26
28
27
OPTIONS=	VORBIS "Enable Ogg Vorbis support" off \
29
OPTIONS=	VORBIS "Enable Ogg Vorbis support" off \
28
		MAD "Enable mad (MP3) support" on \
30
		MAD "Enable mad (MP3) support" on \
29
		MPEG2 "Enable MPEG2 support (implies VORBIS)" off
31
		MPEG2 "Enable MPEG2 support (implies VORBIS)" off \
32
		FLAC "Enable FLAC support" off \
33
		FLUIDSYNTH "Enable FluidSynth MIDI synthesizer" off
30
34
31
MAN6=		scummvm.6
35
MAN6=		scummvm.6
32
36
Lines 63-70 Link Here
63
CONFIGURE_ARGS+=--disable-mpeg2
67
CONFIGURE_ARGS+=--disable-mpeg2
64
.endif
68
.endif
65
69
70
.if defined(WITH_FLAC)
71
LIB_DEPENDS+=	FLAC.7:${PORTSDIR}/audio/flac
72
CONFIGURE_ARGS+=--with-flac-prefix=${LOCALBASE}
73
.else
74
CONFIGURE_ARGS+=--disable-flac
75
.endif
76
77
.if defined(WITH_FLUIDSYNTH)
78
LIB_DEPENDS+=	fluidsynth.2:${PORTSDIR}/audio/fluidsynth
79
CONFIGURE_ARGS+=--with-fluidsynth-prefix=${LOCALBASE}
80
.else
81
CONFIGURE_ARGS+=--disable-fluidsynth
82
.endif
83
66
post-patch:
84
post-patch:
67
	@${REINPLACE_CMD} -e 's/-O//' ${WRKSRC}/Makefile
85
	@${REINPLACE_CMD} -e 's/-O//' ${WRKSRC}/Makefile
86
	@${REINPLACE_CMD} -e 's/-lfluidsynth/& -pthread/' ${WRKSRC}/configure
68
87
69
do-install:
88
do-install:
70
	@${INSTALL_PROGRAM} ${WRKSRC}/scummvm ${PREFIX}/bin
89
	@${INSTALL_PROGRAM} ${WRKSRC}/scummvm ${PREFIX}/bin

Return to bug 117306