diff options
author | garga <garga@FreeBSD.org> | 2013-11-01 07:28:18 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2013-11-01 07:28:18 +0800 |
commit | ec6abdd54f8d87057a760d2deef5f6676ab6d9e1 (patch) | |
tree | 77426c85ff5b5984926fe2c5a9dfb34ecf0a9844 /archivers | |
parent | 20c8adc425b651060eff92cfea7129ada90c0dc6 (diff) | |
download | freebsd-ports-gnome-ec6abdd54f8d87057a760d2deef5f6676ab6d9e1.tar.gz freebsd-ports-gnome-ec6abdd54f8d87057a760d2deef5f6676ab6d9e1.tar.zst freebsd-ports-gnome-ec6abdd54f8d87057a760d2deef5f6676ab6d9e1.zip |
. Use modern OPTION knobs to simplify Makefile
Diffstat (limited to 'archivers')
-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> |