From 6d2107d672df630f41e3219f2cf87a9bcf5d1007 Mon Sep 17 00:00:00 2001 From: Baptiste Daroussin Date: Sun, 24 Nov 2013 18:55:15 +0000 Subject: [PATCH] Support staging Use options helpers --- audio/blop/Makefile | 13 +++---------- 1 file changed, 3 insertions(+), 10 deletions(-) diff --git a/audio/blop/Makefile b/audio/blop/Makefile index 9f67ea8fbca2..610cac30d439 100644 --- a/audio/blop/Makefile +++ b/audio/blop/Makefile @@ -12,7 +12,6 @@ COMMENT= Bandlimited oscillator plugins for LADSPA-aware audio applications 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 - -.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 \