diff options
author | eadler <eadler@FreeBSD.org> | 2012-10-09 08:27:23 +0800 |
---|---|---|
committer | eadler <eadler@FreeBSD.org> | 2012-10-09 08:27:23 +0800 |
commit | a5ba2108385795f8e383efb8f1e1922a0d8a527c (patch) | |
tree | aee0f2a7ae1a7e2f79a896c10a1e1b3be50c94ba /audio | |
parent | 0b7ea3dcca93882bea8509ac997663d2212ea04c (diff) | |
download | freebsd-ports-gnome-a5ba2108385795f8e383efb8f1e1922a0d8a527c.tar.gz freebsd-ports-gnome-a5ba2108385795f8e383efb8f1e1922a0d8a527c.tar.zst freebsd-ports-gnome-a5ba2108385795f8e383efb8f1e1922a0d8a527c.zip |
Convert to OptionsNG
Trim headers
Approved by: lx (maintainer)
Diffstat (limited to 'audio')
-rw-r--r-- | audio/gstreamer-plugins-moodbar/Makefile | 26 |
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 |