summaryrefslogtreecommitdiff
path: root/audio/sdl_mixer
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2008-03-14 22:55:54 +0000
committerMartin Wilke <miwi@FreeBSD.org>2008-03-14 22:55:54 +0000
commitb1fe3dd0200b556269f87c024dd28587f80ecc28 (patch)
tree93b9056dd62740cb9b2ca9063f33a45424406beb /audio/sdl_mixer
parent(Committing on behalf of stas) (diff)
- Add timidity++ support
- Bump PORTREVISION PR: 117218 Submitted by: Olivier Smedts <olivier@gid0.org> maintainer Approved by: maintainer
Notes
Notes: svn path=/head/; revision=209091
Diffstat (limited to 'audio/sdl_mixer')
-rw-r--r--audio/sdl_mixer/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/audio/sdl_mixer/Makefile b/audio/sdl_mixer/Makefile
index 2097dad55ceb..08619b50992f 100644
--- a/audio/sdl_mixer/Makefile
+++ b/audio/sdl_mixer/Makefile
@@ -7,6 +7,7 @@
PORTNAME= sdl_mixer
PORTVERSION= 1.2.8
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.libsdl.org/projects/SDL_mixer/release/
DISTNAME= SDL_mixer-${PORTVERSION}
@@ -26,7 +27,8 @@ USE_LDCONFIG= yes
OPTIONS= MIKMOD "Enable MOD music via libMikMod" On \
SMPEG "Enable MP3 music via SMPEG" On \
- VORBIS "Enable Ogg Vorbis music" On
+ VORBIS "Enable Ogg Vorbis music" On \
+ TIMIDITYPLUS "Use Timidity++ instead of Timidity" Off
.include <bsd.port.pre.mk>
@@ -51,4 +53,10 @@ LIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis
CONFIGURE_ARGS+=--enable-music-ogg
.endif
+post-patch:
+.if defined(WITH_TIMIDITYPLUS)
+ @${REINPLACE_CMD} -e 's|"${LOCALBASE}/lib/timidity"|"${LOCALBASE}/share/timidity"|g' \
+ ${WRKSRC}/timidity/config.h
+.endif
+
.include <bsd.port.post.mk>