Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Apr 2015 01:55:39 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r383553 - head/audio/wavbreaker
Message-ID:  <201504080155.t381tdnv093039@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Wed Apr  8 01:55:38 2015
New Revision: 383553
URL: https://svnweb.freebsd.org/changeset/ports/383553

Log:
  - Convert to option helpers
  - Don't alter default exported PKG_CONFIG
  - Clarify LICENSE allows future GPL versions
  - Take maintainership

Modified:
  head/audio/wavbreaker/Makefile

Modified: head/audio/wavbreaker/Makefile
==============================================================================
--- head/audio/wavbreaker/Makefile	Wed Apr  8 00:43:42 2015	(r383552)
+++ head/audio/wavbreaker/Makefile	Wed Apr  8 01:55:38 2015	(r383553)
@@ -7,36 +7,25 @@ PORTREVISION=	2
 CATEGORIES=	audio
 MASTER_SITES=	SF
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	jbeich@FreeBSD.org
 COMMENT=	Tool to split and merge wav files
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2 # or any later version
 
 OPTIONS_DEFINE=	PULSEAUDIO NLS
+OPTIONS_SUB=	yes
+
+PULSEAUDIO_LIB_DEPENDS=	libpulse.so:${PORTSDIR}/audio/pulseaudio
+PULSEAUDIO_CONFIGURE_ENABLE=pulse
+NLS_USES=		gettext
+NLS_CONFIGURE_ENABLE=	nls
 
 USE_GNOME=	gtk20 libxml2
 USES=		gmake pathfix pkgconfig desktop-file-utils
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	PKG_CONFIG="${LOCALBASE}/bin/pkg-config"
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 CONFIGURE_ARGS=	--disable-alsa
 INSTALLS_ICONS=	yes
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MPULSEAUDIO}
-LIB_DEPENDS+=	libpulse.so:${PORTSDIR}/audio/pulseaudio
-.else
-CONFIGURE_ARGS+=--disable-pulse
-.endif
-
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB=	NLS=""
-.else
-CONFIGURE_ARGS+=--disable-nls
-PLIST_SUB=	NLS="@comment "
-.endif
-
 .include <bsd.port.mk>



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