diff options
-rw-r--r-- | archivers/sharutils/Makefile | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/archivers/sharutils/Makefile b/archivers/sharutils/Makefile index 249c9b0b94fd..0b81d763e883 100644 --- a/archivers/sharutils/Makefile +++ b/archivers/sharutils/Makefile @@ -21,16 +21,10 @@ INSTALL_TARGET= install install-man INFO= sharutils USES= charsetfix perl5 -.include <bsd.port.pre.mk> - -.if ${PORT_OPTIONS:MNLS} -PLIST_SUB+= NLS="" -USES+= gettext -CONFIGURE_ARGS+=--with-libintl-prefix="${LOCALBASE}" -.else -PLIST_SUB+= NLS="@comment " -CONFIGURE_ARGS+=--disable-nls -.endif +OPTIONS_SUB= NLS +NLS_USES= gettext +NLS_CONFIGURE_ON= --with-libintl-prefix="${LOCALBASE}" +NLS_CONFIGURE_OFF= --disable-nls post-patch: .for man in shar.1 unshar.1 @@ -52,4 +46,4 @@ post-patch: ${WRKSRC}/doc/${man} .endfor -.include <bsd.port.post.mk> +.include <bsd.port.mk> |