Lines 2-8
Link Here
|
2 |
|
2 |
|
3 |
PORTNAME= sdl2_mixer |
3 |
PORTNAME= sdl2_mixer |
4 |
PORTVERSION= 2.0.0 |
4 |
PORTVERSION= 2.0.0 |
5 |
PORTREVISION= 2 |
5 |
PORTREVISION= 3 |
6 |
CATEGORIES= audio |
6 |
CATEGORIES= audio |
7 |
MASTER_SITES= http://www.libsdl.org/projects/SDL_mixer/release/ |
7 |
MASTER_SITES= http://www.libsdl.org/projects/SDL_mixer/release/ |
8 |
DISTNAME= SDL2_mixer-${PORTVERSION} |
8 |
DISTNAME= SDL2_mixer-${PORTVERSION} |
Lines 19-26
Link Here
|
19 |
CPPFLAGS+= -I${LOCALBASE}/include |
19 |
CPPFLAGS+= -I${LOCALBASE}/include |
20 |
USE_LDCONFIG= yes |
20 |
USE_LDCONFIG= yes |
21 |
|
21 |
|
22 |
OPTIONS_DEFINE= FLUIDSYNTH FLAC VORBIS |
22 |
OPTIONS_DEFINE= FLUIDSYNTH SMPEG FLAC VORBIS |
23 |
OPTIONS_DEFAULT= FLUIDSYNTH MODPLUG FLAC VORBIS |
23 |
OPTIONS_DEFAULT= FLUIDSYNTH MODPLUG SMPEG FLAC VORBIS |
24 |
OPTIONS_RADIO= MOD |
24 |
OPTIONS_RADIO= MOD |
25 |
OPTIONS_RADIO_MOD= MIKMOD MODPLUG |
25 |
OPTIONS_RADIO_MOD= MIKMOD MODPLUG |
26 |
|
26 |
|
Lines 27-32
Link Here
|
27 |
FLUIDSYNTH_DESC= Enable SoundFont2 Midi support via fluidsynth |
27 |
FLUIDSYNTH_DESC= Enable SoundFont2 Midi support via fluidsynth |
28 |
MIKMOD_DESC= Enable MOD music via libMikMod |
28 |
MIKMOD_DESC= Enable MOD music via libMikMod |
29 |
MODPLUG_DESC= Enable MOD music via libModPlug |
29 |
MODPLUG_DESC= Enable MOD music via libModPlug |
|
|
30 |
SMPEG_DESC= Enable MP3 music via SMPEG2 |
30 |
FLAC_DESC= Enable FLAC encoding support via flac |
31 |
FLAC_DESC= Enable FLAC encoding support via flac |
31 |
VORBIS_DESC= Enable Ogg Vorbis music |
32 |
VORBIS_DESC= Enable Ogg Vorbis music |
32 |
|
33 |
|
Lines 36-41
Link Here
|
36 |
MODPLUG_LIB_DEPENDS= libmodplug.so:${PORTSDIR}/audio/libmodplug |
37 |
MODPLUG_LIB_DEPENDS= libmodplug.so:${PORTSDIR}/audio/libmodplug |
37 |
MODPLUG_CONFIGURE_ENABLE= music-mod-modplug |
38 |
MODPLUG_CONFIGURE_ENABLE= music-mod-modplug |
38 |
|
39 |
|
|
|
40 |
SMPEG_LIB_DEPENDS= libsmpeg2.so:${PORTSDIR}/multimedia/smpeg2 |
41 |
SMPEG_CONFIGURE_ON= --enable-music-mp3 --enable-music-mp3-smpeg |
42 |
SMPEG_CONFIGURE_OFF= --disable-music-mp3 --disable-music-mp3-smpeg |
43 |
|
39 |
FLAC_LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac |
44 |
FLAC_LIB_DEPENDS= libFLAC.so:${PORTSDIR}/audio/flac |
40 |
FLAC_CONFIGURE_ENABLE= music-flac |
45 |
FLAC_CONFIGURE_ENABLE= music-flac |
41 |
|
46 |
|
Lines 47-53
Link Here
|
47 |
VORBIS_CONFIGURE_ENABLE= music-ogg |
52 |
VORBIS_CONFIGURE_ENABLE= music-ogg |
48 |
|
53 |
|
49 |
post-patch: |
54 |
post-patch: |
50 |
@${REINPLACE_CMD} -e 's|$(prefix)/libdata/pkgconfig|$(DESTDIR)$(prefix)/libdata/pkgconfig|' \ |
55 |
@${REINPLACE_CMD} -e 's|\($$(prefix)/libdata/pkgconfig\)|$$(DESTDIR)\1|' \ |
51 |
${WRKSRC}/Makefile.in |
56 |
${WRKSRC}/Makefile.in |
52 |
|
57 |
|
53 |
.include <bsd.port.mk> |
58 |
.include <bsd.port.mk> |