Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2012 11:07:53 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305106 - head/audio/wavbreaker
Message-ID:  <201210011107.q91B7rj4034519@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Mon Oct  1 11:07:53 2012
New Revision: 305106
URL: http://svn.freebsd.org/changeset/ports/305106

Log:
  - Convert to OptionsNG
  
  Notified by:	http://wiki.freebsd.org/Ports/Options/ConvertingToOptionsNG

Modified:
  head/audio/wavbreaker/Makefile   (contents, props changed)

Modified: head/audio/wavbreaker/Makefile
==============================================================================
--- head/audio/wavbreaker/Makefile	Mon Oct  1 10:37:26 2012	(r305105)
+++ head/audio/wavbreaker/Makefile	Mon Oct  1 11:07:53 2012	(r305106)
@@ -13,7 +13,7 @@ MASTER_SITES=	SF
 MAINTAINER=	gahr@FreeBSD.org
 COMMENT=	Tool to split and merge wav files
 
-OPTIONS=	PULSE "Pulseaudio soundserver support" OFF
+OPTIONS_DEFINE=	PULSEAUDIO NLS
 
 USE_GNOME=	gnomehack gtk20 libxml2
 USE_GMAKE=	yes
@@ -26,20 +26,20 @@ INSTALLS_ICONS=	yes
 
 MAN1=		wavbreaker.1 wavinfo.1 wavmerge.1
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
-.if !defined(WITH_PULSE)
-CONFIGURE_ARGS+=	--disable-pulse
-.else
+.if ${PORT_OPTIONS:MPULSEAUDIO}
 LIB_DEPENDS+=	pulse.0:${PORTSDIR}/audio/pulseaudio
+.else
+CONFIGURE_ARGS+=	--disable-pulse
 .endif
 
-.if defined(WITHOUT_NLS)
-CONFIGURE_ARGS+=	--disable-nls
-PLIST_SUB=	NLS="@comment "
-.else
+.if ${PORT_OPTIONS:MNLS}
 USE_GETTEXT=	yes
 PLIST_SUB=	NLS=""
+.else
+CONFIGURE_ARGS+=	--disable-nls
+PLIST_SUB=	NLS="@comment "
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



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