From 6aa05855395a508f9c40c9d783ab25f2c61c4223 Mon Sep 17 00:00:00 2001 From: Martin Wilke Date: Sun, 13 Feb 2011 07:29:39 +0000 Subject: - Add support for midi sound PR: 154680 Submitted by: "aldis@bsdroot.lv" --- games/odamex/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'games/odamex') diff --git a/games/odamex/Makefile b/games/odamex/Makefile index 5a9f040028e5..e5175e94b430 100644 --- a/games/odamex/Makefile +++ b/games/odamex/Makefile @@ -7,7 +7,7 @@ PORTNAME= odamex PORTVERSION= 0.4.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= SF/${PORTNAME}/Odamex/${PORTVERSION} DISTNAME= odamex-src-${PORTVERSION} @@ -19,7 +19,8 @@ USE_BZIP2= yes USE_GMAKE= yes USE_SDL= sdl mixer -OPTIONS= LAUNCHER "Enable GUI launcher program" off +OPTIONS= LAUNCHER "Enable GUI launcher program" off \ + MIDI "Enable MIDI support (timidity)" off .include @@ -31,6 +32,10 @@ PLIST_SUB+= LAUNCHER="" PLIST_SUB+= LAUNCHER="@comment " .endif +.if defined(WITH_MIDI) +RUN_DEPENDS+= timidity:${PORTSDIR}/audio/timidity +.endif + post-patch: @${REINPLACE_CMD} -e 's|%%DMDIR%%|${DMDIR}|; \ s|%%DATADIR%%|${DATADIR}|' \ -- cgit v1.2.3