From owner-svn-ports-all@FreeBSD.ORG Thu Oct 31 23:28:19 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3D119711; Thu, 31 Oct 2013 23:28:19 +0000 (UTC) (envelope-from garga@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2A8042B92; Thu, 31 Oct 2013 23:28:19 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r9VNSJhp007880; Thu, 31 Oct 2013 23:28:19 GMT (envelope-from garga@svn.freebsd.org) Received: (from garga@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r9VNSJ33007879; Thu, 31 Oct 2013 23:28:19 GMT (envelope-from garga@svn.freebsd.org) Message-Id: <201310312328.r9VNSJ33007879@svn.freebsd.org> From: Renato Botelho Date: Thu, 31 Oct 2013 23:28:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r332293 - head/archivers/sharutils X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Oct 2013 23:28:19 -0000 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 - -.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 +.include