Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Oct 2012 22:52:18 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305417 - head/multimedia/xfce4-xmms-plugin
Message-ID:  <201210062252.q96MqIBK058067@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Sat Oct  6 22:52:18 2012
New Revision: 305417
URL: http://svn.freebsd.org/changeset/ports/305417

Log:
  Convert to OptionsNG

Modified:
  head/multimedia/xfce4-xmms-plugin/Makefile

Modified: head/multimedia/xfce4-xmms-plugin/Makefile
==============================================================================
--- head/multimedia/xfce4-xmms-plugin/Makefile	Sat Oct  6 22:51:32 2012	(r305416)
+++ head/multimedia/xfce4-xmms-plugin/Makefile	Sat Oct  6 22:52:18 2012	(r305417)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	xfce4-xmms-plugin
-# Date created:				2004/05/10
-# Whom:					Zahemszky, Gábor <Gabor@Zahemszky.HU>
-#
+# Created by: Zahemszky, Gábor <Gabor@Zahemszky.HU>
 # $FreeBSD$
-#
 
 PORTNAME=	xfce4-xmms-plugin
 PORTVERSION=	0.5.3
@@ -23,21 +19,23 @@ USE_GMAKE=	yes
 USE_GNOME=	gtk20 intltool intlhack pango pkgconfig
 USE_XFCE=	configenv libgui libutil panel
 
-OPTIONS=	XMMS		"Enable xmms support"			on \
-		BEEP		"Enable beep-media-player support" 	off \
-		AUDACIOUS	"Enable audacious support"		off
+OPTIONS_DEFINE=	XMMS BEEP AUDACIOUS
+OPTIONS_DEFAULT=	XMMS
+XMMS_DESC=	xmms support
+BEEP_DESC=	beep-media-player support
+AUDACIOUS_DESC=	audacious support
 
 .include <bsd.port.pre.mk>
 
-.if defined(WITH_BEEP)
+.if ${PORT_OPTIONS:MBEEP}
 RUN_DEPENDS+=	beep-media-player:${PORTSDIR}/multimedia/beep-media-player
 .endif
 
-.if defined(WITH_XMMS)
+.if ${PORT_OPTIONS:MXMSS}
 RUN_DEPENDS+=	xmms:${PORTSDIR}/multimedia/xmms
 .endif
 
-.if defined(WITH_AUDACIOUS)
+.if ${PORT_OPTIONS:MAUDACIOUS}
 RUN_DEPENDS+=	audacious2:${PORTSDIR}/multimedia/audacious
 .endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210062252.q96MqIBK058067>