From owner-svn-ports-head@FreeBSD.ORG Fri Jul 25 13:44:17 2014 Return-Path: Delivered-To: svn-ports-head@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 ESMTPS id C71E727D; Fri, 25 Jul 2014 13:44:17 +0000 (UTC) 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)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B3FBF22BE; Fri, 25 Jul 2014 13:44:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6PDiHQ2052715; Fri, 25 Jul 2014 13:44:17 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6PDiHro052714; Fri, 25 Jul 2014 13:44:17 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201407251344.s6PDiHro052714@svn.freebsd.org> From: Baptiste Daroussin Date: Fri, 25 Jul 2014 13:44:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r362899 - head/Keywords X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2014 13:44:17 -0000 Author: bapt Date: Fri Jul 25 13:44:17 2014 New Revision: 362899 URL: http://svnweb.freebsd.org/changeset/ports/362899 QAT: https://qat.redports.org/buildarchive/r362899/ Log: Add support for @fmtutil for pkg_install Modified: head/Keywords/pkg_install.awk Modified: head/Keywords/pkg_install.awk ============================================================================== --- head/Keywords/pkg_install.awk Fri Jul 25 13:32:02 2014 (r362898) +++ head/Keywords/pkg_install.awk Fri Jul 25 13:44:17 2014 (r362899) @@ -96,6 +96,14 @@ $1 == "@dirrmtry" { next } +$1 == "@fmtutil" { + print "@comment begin " $0 + print "@exec fmtutil-sys --missing >/dev/null" + for (i = 2; i <= NF; i++) + print "@unexec rm -f "$i"; rmdir -p `dirname "$1"` 2>/dev/null" + print "@comment end " $0 +} + # Print everything else as-is { print $0