diff options
author | garga <garga@FreeBSD.org> | 2012-07-03 05:53:50 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2012-07-03 05:53:50 +0800 |
commit | 21cab06de9cd2f8e9af7311155e8eeab9df6ebed (patch) | |
tree | 7142abcfb3c65280180c391a83a4eb6a1f3a5e12 /archivers | |
parent | 176035c425f38d847301a4170d3fb93fdc4fb1cd (diff) | |
download | freebsd-ports-gnome-21cab06de9cd2f8e9af7311155e8eeab9df6ebed.tar.gz freebsd-ports-gnome-21cab06de9cd2f8e9af7311155e8eeab9df6ebed.tar.zst freebsd-ports-gnome-21cab06de9cd2f8e9af7311155e8eeab9df6ebed.zip |
Move to OPTIONSng
Diffstat (limited to 'archivers')
-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> |