Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Nov 2013 18:55:15 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334762 - head/audio/blop
Message-ID:  <201311241855.rAOItFoQ083010@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Sun Nov 24 18:55:15 2013
New Revision: 334762
URL: http://svnweb.freebsd.org/changeset/ports/334762

Log:
  Support staging
  Use options helpers

Modified:
  head/audio/blop/Makefile

Modified: head/audio/blop/Makefile
==============================================================================
--- head/audio/blop/Makefile	Sun Nov 24 18:53:16 2013	(r334761)
+++ head/audio/blop/Makefile	Sun Nov 24 18:55:15 2013	(r334762)
@@ -12,7 +12,6 @@ COMMENT=	Bandlimited oscillator plugins 
 
 BUILD_DEPENDS=	${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
 
-NO_STAGE=	yes
 USES=		gmake
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-ladspa-prefix="${LOCALBASE}"
@@ -22,15 +21,9 @@ OPTIONS_DEFINE=	NLS
 CPPFLAGS+=	-I${LOCALBASE}/include
 LDFLAGS+=	-L${LOCALBASE}/lib
 
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MNLS}
-USES+=		gettext
-PLIST_SUB+=	NLS=""
-.else
-CONFIGURE_ARGS+=	--disable-nls
-PLIST_SUB+=	NLS="@comment "
-.endif
+OPTIONS_SUB=	yes
+NLS_USES=	gettext
+NLS_CONFIGURE_ENABLE=	nls
 
 post-patch:
 	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \



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