aboutsummaryrefslogtreecommitdiff
path: root/audio/wavbreaker
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2012-10-01 11:07:53 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2012-10-01 11:07:53 +0000
commit35f8232ad2beb896e2a858b76c5f5de97d938ac6 (patch)
tree5430f71b7f9ff2792949ba95be70f71aabe0a98c /audio/wavbreaker
parentf014bdec6c8a4a1b7e97dd6d1a817c0f665da2a5 (diff)
downloadports-35f8232ad2beb896e2a858b76c5f5de97d938ac6.tar.gz
ports-35f8232ad2beb896e2a858b76c5f5de97d938ac6.zip
- Convert to OptionsNG
Notes
Notes: svn path=/head/; revision=305106
Diffstat (limited to 'audio/wavbreaker')
-rw-r--r--audio/wavbreaker/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/audio/wavbreaker/Makefile b/audio/wavbreaker/Makefile
index b9eb6a53c042..e644a604dd8a 100644
--- a/audio/wavbreaker/Makefile
+++ b/audio/wavbreaker/Makefile
@@ -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>