aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2012-06-01 19:47:17 +0800
committerbapt <bapt@FreeBSD.org>2012-06-01 19:47:17 +0800
commit5095712fe7d396fdfe86082d6f3a7476989d6058 (patch)
tree2570b7b4d9358d3293a432cf1c31ca9084eba58b /audio
parent5cec1f77b5ca56144a6d3ab1bbea75fcd85bf409 (diff)
downloadfreebsd-ports-gnome-5095712fe7d396fdfe86082d6f3a7476989d6058.tar.gz
freebsd-ports-gnome-5095712fe7d396fdfe86082d6f3a7476989d6058.tar.zst
freebsd-ports-gnome-5095712fe7d396fdfe86082d6f3a7476989d6058.zip
Convert to new options framework
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>