diff options
author | Renato Botelho <garga@FreeBSD.org> | 2012-07-03 05:53:50 +0800 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2012-07-03 05:53:50 +0800 |
commit | af2be6e83a5e81f8f8423a2b770aa8c876994a28 (patch) | |
tree | 52518858f7ccae3609835635eef4854b4e74334a | |
parent | 0f5d56e5569511fe82c6d6d6889c302047274d89 (diff) | |
download | freebsd-ports-gnome-af2be6e83a5e81f8f8423a2b770aa8c876994a28.tar.gz freebsd-ports-gnome-af2be6e83a5e81f8f8423a2b770aa8c876994a28.tar.zst freebsd-ports-gnome-af2be6e83a5e81f8f8423a2b770aa8c876994a28.zip |
Move to OPTIONSng
-rw-r--r-- | archivers/sharutils/Makefile | 12 |
1 files 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 <bsd.port.pre.mk> + +.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 <bsd.port.mk> +.include <bsd.port.post.mk> |