Date: Thu, 31 Oct 2013 23:28:19 +0000 (UTC) From: Renato Botelho <garga@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332293 - head/archivers/sharutils Message-ID: <201310312328.r9VNSJ33007879@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: garga Date: Thu Oct 31 23:28:18 2013 New Revision: 332293 URL: http://svnweb.freebsd.org/changeset/ports/332293 Log: . Use modern OPTION knobs to simplify Makefile Modified: head/archivers/sharutils/Makefile Modified: head/archivers/sharutils/Makefile ============================================================================== --- head/archivers/sharutils/Makefile Thu Oct 31 23:27:20 2013 (r332292) +++ head/archivers/sharutils/Makefile Thu Oct 31 23:28:18 2013 (r332293) @@ -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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310312328.r9VNSJ33007879>