svn commit: r334762 - head/audio/blop

Baptiste Daroussin bapt at FreeBSD.org
Sun Nov 24 18:55:16 UTC 2013


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 \


More information about the svn-ports-all mailing list