Lines 2-16
Link Here
|
2 |
# $FreeBSD$ |
2 |
# $FreeBSD$ |
3 |
|
3 |
|
4 |
PORTNAME= scummvm |
4 |
PORTNAME= scummvm |
5 |
PORTVERSION= 2.1.1 |
5 |
PORTVERSION= 2.2.0 |
6 |
PORTREVISION= 1 |
|
|
7 |
CATEGORIES= games emulators |
6 |
CATEGORIES= games emulators |
8 |
MASTER_SITES= http://www.scummvm.org/frs/scummvm/${PORTVERSION}/ |
7 |
MASTER_SITES= https://downloads.scummvm.org/frs/scummvm/${PORTVERSION}/ |
9 |
|
8 |
|
10 |
PATCH_SITES= https://github.com/scummvm/scummvm/commit/ |
|
|
11 |
PATCHFILES= 8593a9e1e4e8dd1f5dfac9b1304a417df9a742e6.patch:-p1 \ |
12 |
68758a879e0c8ecc0d40962516d4e808aa4e15e5.patch:-p1 |
13 |
|
14 |
MAINTAINER= lme@FreeBSD.org |
9 |
MAINTAINER= lme@FreeBSD.org |
15 |
COMMENT= Interpreter for several adventure games |
10 |
COMMENT= Interpreter for several adventure games |
16 |
|
11 |
|
Lines 19-24
Link Here
|
19 |
|
14 |
|
20 |
LIB_DEPENDS= libfaad.so:audio/faad \ |
15 |
LIB_DEPENDS= libfaad.so:audio/faad \ |
21 |
libfreetype.so:print/freetype2 \ |
16 |
libfreetype.so:print/freetype2 \ |
|
|
17 |
libfribidi.so:converters/fribidi \ |
22 |
libmpeg2.so:multimedia/libmpeg2 \ |
18 |
libmpeg2.so:multimedia/libmpeg2 \ |
23 |
libtheoradec.so:multimedia/libtheora |
19 |
libtheoradec.so:multimedia/libtheora |
24 |
|
20 |
|
Lines 38-49
Link Here
|
38 |
|
34 |
|
39 |
LDFLAGS+= -lpthread |
35 |
LDFLAGS+= -lpthread |
40 |
|
36 |
|
41 |
OPTIONS_DEFINE= DOCS FLAC FLUIDSYNTH MP3 MT32EMU PNG SNDIO VORBIS |
37 |
OPTIONS_DEFINE= A52 CURL DOCS FLAC FLUIDSYNTH MP3 MT32EMU PNG SNDIO VORBIS |
42 |
OPTIONS_DEFAULT= MP3 MT32EMU PNG VORBIS |
38 |
OPTIONS_DEFAULT= A52 MP3 MT32EMU PNG VORBIS |
43 |
OPTIONS_SUB= yes |
39 |
OPTIONS_SUB= yes |
44 |
|
40 |
|
|
|
41 |
CURL_DESC= Enable support for Cloud storage |
45 |
MT32EMU_DESC= MT-32 emulator |
42 |
MT32EMU_DESC= MT-32 emulator |
46 |
|
43 |
|
|
|
44 |
A52_LIB_DEPENDS= liba52.so:audio/liba52 |
45 |
A52_CONFIGURE_ON= --with-a52-prefix=${LOCALBASE} |
46 |
A52_CONFIGURE_OFF= --disable-a52 |
47 |
|
48 |
CURL_LIB_DEPENDS= libcurl.so:ftp/curl |
49 |
CURL_CONFIGURE_ON= --with-libcurl-prefix=${LOCALBASE} |
50 |
CURL_CONFIGURE_OFF= --disable-libcurl |
51 |
|
47 |
VORBIS_LIB_DEPENDS= libogg.so:audio/libogg \ |
52 |
VORBIS_LIB_DEPENDS= libogg.so:audio/libogg \ |
48 |
libvorbis.so:audio/libvorbis |
53 |
libvorbis.so:audio/libvorbis |
49 |
VORBIS_CONFIGURE_ON= --with-ogg-prefix=${LOCALBASE} \ |
54 |
VORBIS_CONFIGURE_ON= --with-ogg-prefix=${LOCALBASE} \ |
Lines 80-86
Link Here
|
80 |
.endif |
85 |
.endif |
81 |
|
86 |
|
82 |
post-patch: |
87 |
post-patch: |
83 |
@${REINPLACE_CMD} -e '/^mandir=/s/datarootdir/prefix/' \ |
88 |
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ |
84 |
${WRKSRC}/configure |
89 |
${WRKSRC}/configure |
85 |
|
90 |
|
86 |
post-install: |
91 |
post-install: |