aboutsummaryrefslogtreecommitdiff
path: root/games/odamex
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2011-02-13 07:29:39 +0000
committerMartin Wilke <miwi@FreeBSD.org>2011-02-13 07:29:39 +0000
commit6aa05855395a508f9c40c9d783ab25f2c61c4223 (patch)
tree4c534f462a5e58616d90371703e8a7c0217ee3ed /games/odamex
parent07ac2a9d7e4a269a2451885cce3d5d09c042d1e1 (diff)
downloadports-6aa05855395a508f9c40c9d783ab25f2c61c4223.tar.gz
ports-6aa05855395a508f9c40c9d783ab25f2c61c4223.zip
- Add support for midi sound
PR: 154680 Submitted by: "aldis@bsdroot.lv"
Notes
Notes: svn path=/head/; revision=269047
Diffstat (limited to 'games/odamex')
-rw-r--r--games/odamex/Makefile9
1 files changed, 7 insertions, 2 deletions
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 <bsd.port.pre.mk>
@@ -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}|' \