Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= scummvm |
8 |
PORTNAME= scummvm |
9 |
DISTVERSION= 1.3.0 |
9 |
DISTVERSION= 1.3.1 |
10 |
CATEGORIES= games emulators |
10 |
CATEGORIES= games emulators |
11 |
MASTER_SITES= SF |
11 |
MASTER_SITES= SF |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${DISTVERSION} |
12 |
MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTNAME}/${DISTVERSION} |
Lines 26-31
Link Here
|
26 |
--disable-alsa \ |
26 |
--disable-alsa \ |
27 |
--with-zlib-prefix=/usr \ |
27 |
--with-zlib-prefix=/usr \ |
28 |
--disable-debug \ |
28 |
--disable-debug \ |
|
|
29 |
--disable-nasm \ |
29 |
--disable-tremor |
30 |
--disable-tremor |
30 |
CONFIGURE_ENV= CXX="${CXX}" |
31 |
CONFIGURE_ENV= CXX="${CXX}" |
31 |
LDFLAGS="${PTHREAD_LIBS}" |
32 |
LDFLAGS="${PTHREAD_LIBS}" |
Lines 35-41
Link Here
|
35 |
FLAC "Enable FLAC support" off \ |
36 |
FLAC "Enable FLAC support" off \ |
36 |
FLUIDSYNTH "Enable FluidSynth MIDI synthesizer" off \ |
37 |
FLUIDSYNTH "Enable FluidSynth MIDI synthesizer" off \ |
37 |
MT32EMU "Enable MT-32 emulator" on \ |
38 |
MT32EMU "Enable MT-32 emulator" on \ |
38 |
X86_ASM "Enable assembly code (i386 only)" off |
|
|
39 |
|
39 |
|
40 |
MAN6= scummvm.6 |
40 |
MAN6= scummvm.6 |
41 |
|
41 |
|
Lines 58-72
Link Here
|
58 |
|
58 |
|
59 |
.include <bsd.port.pre.mk> |
59 |
.include <bsd.port.pre.mk> |
60 |
|
60 |
|
61 |
.if ${ARCH} == "i386" |
|
|
62 |
.if defined(WITH_X86_ASM) |
63 |
BUILD_DEPENDS+= nasm:${PORTSDIR}/devel/nasm |
64 |
CONFIGURE_ARGS+=--with-nasm-prefix=${LOCALBASE} |
65 |
.else |
66 |
CONFIGURE_ARGS+=--disable-nasm |
67 |
.endif |
68 |
.endif |
69 |
|
70 |
.if defined(WITH_VORBIS) |
61 |
.if defined(WITH_VORBIS) |
71 |
LIB_DEPENDS+= ogg.7:${PORTSDIR}/audio/libogg \ |
62 |
LIB_DEPENDS+= ogg.7:${PORTSDIR}/audio/libogg \ |
72 |
vorbis.4:${PORTSDIR}/audio/libvorbis |
63 |
vorbis.4:${PORTSDIR}/audio/libvorbis |
Lines 101-110
Link Here
|
101 |
CONFIGURE_ARGS+=--disable-mt32emu |
92 |
CONFIGURE_ARGS+=--disable-mt32emu |
102 |
.endif |
93 |
.endif |
103 |
|
94 |
|
104 |
.if ${ARCH} == "sparc64" |
|
|
105 |
BROKEN= Does not compile on sparc64: invokes i386 asm |
106 |
.endif |
107 |
|
108 |
do-install: |
95 |
do-install: |
109 |
@${INSTALL_PROGRAM} ${WRKSRC}/scummvm ${PREFIX}/bin |
96 |
@${INSTALL_PROGRAM} ${WRKSRC}/scummvm ${PREFIX}/bin |
110 |
@${INSTALL_MAN} ${WRKSRC}/dists/scummvm.6 ${PREFIX}/man/man6 |
97 |
@${INSTALL_MAN} ${WRKSRC}/dists/scummvm.6 ${PREFIX}/man/man6 |