diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2012-10-01 11:07:53 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2012-10-01 11:07:53 +0000 |
commit | 35f8232ad2beb896e2a858b76c5f5de97d938ac6 (patch) | |
tree | 5430f71b7f9ff2792949ba95be70f71aabe0a98c /audio/wavbreaker | |
parent | - Update to 1.8 (diff) |
- Convert to OptionsNG
Notified by: http://wiki.freebsd.org/Ports/Options/ConvertingToOptionsNG
Notes
Notes:
svn path=/head/; revision=305106
Diffstat (limited to 'audio/wavbreaker')
-rw-r--r-- | audio/wavbreaker/Makefile | 20 |
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> |