From 9d30f78a00bed11384c7259f662e9352754275db Mon Sep 17 00:00:00 2001 From: mat Date: Wed, 19 Aug 2015 13:29:59 +0000 Subject: Convert ports to use the options helpers in categories [abc]*, and minor fixes. Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D3412? --- audio/gimmix/Makefile | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'audio/gimmix') diff --git a/audio/gimmix/Makefile b/audio/gimmix/Makefile index ee37a5c89d0c..e4f7f7abe9c6 100644 --- a/audio/gimmix/Makefile +++ b/audio/gimmix/Makefile @@ -16,6 +16,7 @@ LIB_DEPENDS= libmpd.so:${PORTSDIR}/audio/libmpd \ LICENSE= GPLv2 OPTIONS_DEFINE= NLS +OPTIONS_SUB= yes USE_GNOME= gtk20 intltool libglade2 @@ -24,18 +25,10 @@ USES= tar:bzip2 desktop-file-utils gmake pkgconfig CONFIGURE_ENV= DATADIRNAME=share -.include - -.if ${PORT_OPTIONS:MNLS} -CPPFLAGS+= -I${LOCALBASE}/include -LDFLAGS+= -L${LOCALBASE}/lib -lintl -CONFIGURE_ARGS+= --enable-nls -USES+= gettext -PLIST_SUB+= NLS="" -.else -CONFIGURE_ARGS+= --disable-nls -PLIST_SUB+= NLS="@comment " -.endif +NLS_CPPFLAGS= -I${LOCALBASE}/include +NLS_LDFLAGS= -L${LOCALBASE}/lib -lintl +NLS_CONFIGURE_ENABLE= nls +NLS_USES= gettext post-patch: @${LN} -sf ${LOCALBASE}/share/intltool/Makefile.in.in ${WRKSRC}/po/Makefile.in.in -- cgit