svn commit: r392148 - head/audio/gstreamer-plugins-mp3

Koop Mast kwm at FreeBSD.org
Wed Jul 15 14:26:03 UTC 2015


Author: kwm
Date: Wed Jul 15 14:26:02 2015
New Revision: 392148
URL: https://svnweb.freebsd.org/changeset/ports/392148

Log:
  Use OPTION helpers and USES=metaport
  
  PR:		201539
  Submitted by:	Andriy Voskoboinyk <s3erios at gmail.com>

Modified:
  head/audio/gstreamer-plugins-mp3/Makefile

Modified: head/audio/gstreamer-plugins-mp3/Makefile
==============================================================================
--- head/audio/gstreamer-plugins-mp3/Makefile	Wed Jul 15 14:21:10 2015	(r392147)
+++ head/audio/gstreamer-plugins-mp3/Makefile	Wed Jul 15 14:26:02 2015	(r392148)
@@ -5,17 +5,12 @@ PORTNAME=	gstreamer-plugins
 PORTVERSION=	0.10.0
 PORTREVISION=	1
 CATEGORIES=	audio
-MASTER_SITES=	# empty
 PKGNAMESUFFIX=	-mp3
-DISTFILES=	# empty
-EXTRACT_ONLY=	# empty
 
 MAINTAINER=	multimedia at FreeBSD.org
 COMMENT=	Gstreamer Plugins Mp3 decoder meta-port
 
-NO_BUILD=	yes
-NO_INSTALL=	yes
-NO_MTREE=	yes
+USES=		metaport
 WANT_GSTREAMER=	yes
 
 OPTIONS_MULTI=	MP3
@@ -23,14 +18,7 @@ OPTIONS_MULTI_MP3=	MAD FLUENDO
 OPTIONS_DEFAULT=	MAD
 FLUENDO_DESC=	Use Fluendo Mp3 decoder
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MMAD}
-USE_GSTREAMER+=	mad
-.endif
-
-.if ${PORT_OPTIONS:MFLUENDO}
-USE_GSTREAMER+=	fluendo-mp3
-.endif
+MAD_USE=	GSTREAMER=mad
+FLUENDO_USE=	GSTREAMER=fluendo-mp3
 
 .include <bsd.port.mk>


More information about the svn-ports-all mailing list