aboutsummaryrefslogtreecommitdiff
path: root/audio/gstreamer-plugins-moodbar
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2012-10-09 00:27:23 +0000
committerEitan Adler <eadler@FreeBSD.org>2012-10-09 00:27:23 +0000
commitca77afd45a38a5232cc8f21f156e57c6bcdf4335 (patch)
treeaee0f2a7ae1a7e2f79a896c10a1e1b3be50c94ba /audio/gstreamer-plugins-moodbar
parent2836fef4e974b8a80edd0be2e826f973b09ff333 (diff)
downloadports-ca77afd45a38a5232cc8f21f156e57c6bcdf4335.tar.gz
ports-ca77afd45a38a5232cc8f21f156e57c6bcdf4335.zip
Convert to OptionsNG
Trim headers Approved by: lx (maintainer)
Notes
Notes: svn path=/head/; revision=305564
Diffstat (limited to 'audio/gstreamer-plugins-moodbar')
-rw-r--r--audio/gstreamer-plugins-moodbar/Makefile26
1 files changed, 9 insertions, 17 deletions
diff --git a/audio/gstreamer-plugins-moodbar/Makefile b/audio/gstreamer-plugins-moodbar/Makefile
index 678fa9ca59fc..4a977ec51665 100644
--- a/audio/gstreamer-plugins-moodbar/Makefile
+++ b/audio/gstreamer-plugins-moodbar/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: gstreamer-plugins-moodbar
-# Date created: Sat Mar 24 17:20:02 YEKT 2007
-# Whom: Alexandr Bechikov <goo@t72.ru>
-#
+# Created by: Alexandr Bechikov <goo@t72.ru>
# $FreeBSD$
-#
PORTNAME= gstreamer-plugins-moodbar
PORTVERSION= 0.1.2
@@ -25,39 +21,35 @@ USE_GMAKE= yes
USE_AUTOTOOLS= libtool
USE_LDCONFIG= yes
-OPTIONS= MP3 "mp3 files support" on \
- OGG "ogg files support" on \
- FLAC "flac files support" off \
- MP4 "mp4 files support" off \
- MUSEPACK "musepack files support" off \
- WMA "wma files support" off
+OPTIONS_DEFINE= MP3 OGG FLAC MP4 MUSEPACK WMA
+OPTIONS_DEFAULT= MP3 OGG
CONFIGURE_ARGS+= --with-plugindir=${PREFIX}/lib/gstreamer-${GST_VERSION}
PLIST_SUB+= VERSION="${GST_VERSION}"
.include <bsd.port.pre.mk>
-.if defined(WITH_MP3)
+.if ${PORT_OPTIONS:MMP3}
USE_GSTREAMER+= mp3
.endif
-.if defined(WITH_OGG)
+.if ${PORT_OPTIONS:MOGG}
USE_GSTREAMER+= vorbis ogg
.endif
-.if defined(WITH_FLAC)
+.if ${PORT_OPTIONS:MFLAC}
USE_GSTREAMER+= flac
.endif
-.if defined(WITH_MP4)
+.if ${PORT_OPTIONS:MMP4}
USE_GSTREAMER+= faad bad
.endif
-.if defined(WITH_MUSEPACK)
+.if ${PORT_OPTIONS:MMUSEPACK}
USE_GSTREAMER+= musepack
.endif
-.if defined(WITH_WMA)
+.if ${PORT_OPTIONS:MWMA}
USE_GSTREAMER+= ffmpeg
.endif