aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-06-01 11:47:17 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-06-01 11:47:17 +0000
commit54f785f5aa3228747cc891f9bbda4dedf9c3434a (patch)
treebba0a0a8272b421bd558f467683602c4c697f442 /audio
parent5c0d291cfb39bbd894ab73af9f9517caabd2d13a (diff)
downloadports-54f785f5aa3228747cc891f9bbda4dedf9c3434a.tar.gz
ports-54f785f5aa3228747cc891f9bbda4dedf9c3434a.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/gstreamer-plugins-mp3/Makefile17
1 files changed, 8 insertions, 9 deletions
diff --git a/audio/gstreamer-plugins-mp3/Makefile b/audio/gstreamer-plugins-mp3/Makefile
index 179f698c97d5..969660f30136 100644
--- a/audio/gstreamer-plugins-mp3/Makefile
+++ b/audio/gstreamer-plugins-mp3/Makefile
@@ -19,23 +19,22 @@ COMMENT= Gstreamer Plugins Mp3 decoder meta-port
NO_BUILD= yes
WANT_GSTREAMER= yes
-OPTIONS= MAD "Use MAD Mp3" On \
- FLUENDO "Use Fluendo Mp3" Off
-.include <bsd.port.pre.mk>
+OPTIONS_MULTI= MP3
+OPTIONS_MULTI_MP3= MAD FLUENDO
+OPTIONS_DEFAULT= MAD
+FLUENDO_DESC= Use Fluendo Mp3 decoded
-.if !defined(WITH_MAD) && !defined(WITH_FLUENDO)
-WITH_MAD= yes
-.endif
+.include <bsd.port.options.mk>
-.if defined(WITH_MAD)
+.if ${PORT_OPTIONS:MMAD}
USE_GSTREAMER+= mad
.endif
-.if defined(WITH_FLUENDO)
+.if ${PORT_OPTIONS:MFLUENDO}
USE_GSTREAMER+= fluendo-mp3
.endif
do-install:
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>