[Midnightbsd-cvs] mports [15953] trunk/audio/gstreamer-plugins-mp3/Makefile: new options

laffer1 at midnightbsd.org laffer1 at midnightbsd.org
Fri Feb 28 19:57:11 EST 2014


Revision: 15953
          http://svnweb.midnightbsd.org/mports/?rev=15953
Author:   laffer1
Date:     2014-02-28 19:57:10 -0500 (Fri, 28 Feb 2014)
Log Message:
-----------
new options

Modified Paths:
--------------
    trunk/audio/gstreamer-plugins-mp3/Makefile

Modified: trunk/audio/gstreamer-plugins-mp3/Makefile
===================================================================
--- trunk/audio/gstreamer-plugins-mp3/Makefile	2014-03-01 00:55:01 UTC (rev 15952)
+++ trunk/audio/gstreamer-plugins-mp3/Makefile	2014-03-01 00:57:10 UTC (rev 15953)
@@ -1,12 +1,8 @@
-# New ports collection makefile for:	gstreamer-plugins-mp3
-# Date created:		23 Nov 2007
-# Whom:			Lucas Holt <luke at midnightbsd.org>
-#
 # $MidnightBSD$
-#
 
 PORTNAME=	gstreamer-plugins
 PORTVERSION=	0.10.0
+PORTREVISION=	1
 CATEGORIES=	audio
 MASTER_SITES=	# empty
 PKGNAMESUFFIX=	-mp3
@@ -15,27 +11,27 @@
 
 MAINTAINER=	ports at MidnightBSD.org
 COMMENT=	Gstreamer Plugins Mp3 decoder meta-port
-LICENSE=	restricted
 
+LICENSE=	agg
+
 NO_BUILD=	yes
+NO_INSTALL=	yes
+NO_MTREE=	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 decoder
 
-.if !defined(WITH_MAD) && !defined(WITH_FLUENDO)
-WITH_MAD=	yes
-.endif
+.include <bsd.mport.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>



More information about the Midnightbsd-cvs mailing list