svn commit: r305106 - head/audio/wavbreaker
Pietro Cerutti
gahr at FreeBSD.org
Mon Oct 1 11:07:53 UTC 2012
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 at 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>
More information about the svn-ports-head
mailing list