From af2be6e83a5e81f8f8423a2b770aa8c876994a28 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Mon, 2 Jul 2012 21:53:50 +0000 Subject: [PATCH] Move to OPTIONSng --- archivers/sharutils/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/archivers/sharutils/Makefile b/archivers/sharutils/Makefile index 14c475f76983..b7b07f14cde4 100644 --- a/archivers/sharutils/Makefile +++ b/archivers/sharutils/Makefile @@ -25,13 +25,15 @@ INSTALL_TARGET= install install-man MAN1= gshar.1 gunshar.1 INFO= sharutils -.if defined(WITHOUT_NLS) -PLIST_SUB+= NLS="@comment " -CONFIGURE_ARGS+=--disable-nls -.else +.include + +.if ${PORT_OPTIONS:MNLS} PLIST_SUB+= NLS="" USE_GETTEXT= yes CONFIGURE_ARGS+=--with-libintl-prefix="${LOCALBASE}" +.else +PLIST_SUB+= NLS="@comment " +CONFIGURE_ARGS+=--disable-nls .endif post-patch: @@ -54,4 +56,4 @@ post-patch: ${WRKSRC}/doc/${man} .endfor -.include +.include