From nobody Thu May 26 22:57:47 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4B77B1B3F4D7; Thu, 26 May 2022 22:57:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L8Ncr1RS1z3rqS; Thu, 26 May 2022 22:57:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653605868; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6uyjBtng+hVBP1SVnhEOifB0DdEZZXwJbOCR+alJMtE=; b=LvQYoJNmJYTyIE8rfAGVRL9SZ7zSInq2ifYy35igiBQ2e8tQG/LMOLuUrcaU3fwY8HRn6I og1du+qcrhtDjwDoY2tkGt17+XydALoi8aSMScQvKvaHsDpO+K5IEIeMKXnMJ1dszlY9Nq 8De1LXZtG8VcPe8fFW+U1ND5OeKfapsziilqrK1QrORRSRbzqQT98URew1+vjhsIcZ5t3A Z9215uSC+zatJibycEBCRSZ3yDAl6sBIq5AuaD7c7wIBgDJyrmbCMW53zNOCYLSHekB808 c6BcZ3PHR3ivSc7KGiWHYLIMOzCu+9Q01S2hotliWzaUsQuojaxm8f0tidfElQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 0B8CF16C6F; Thu, 26 May 2022 22:57:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24QMvlch080789; Thu, 26 May 2022 22:57:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24QMvlkO080788; Thu, 26 May 2022 22:57:47 GMT (envelope-from git) Date: Thu, 26 May 2022 22:57:47 GMT Message-Id: <202205262257.24QMvlkO080788@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitri Goutnik Subject: git: 50dac96090dc - main - sysutils/handlr: Add shell completion files List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dmgk X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 50dac96090dc01e6fb3fc8dad17b1a3808883d78 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653605868; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=6uyjBtng+hVBP1SVnhEOifB0DdEZZXwJbOCR+alJMtE=; b=cLjm5J7jUWrUpMr/syWoWkPLmliXugOjxdTraX1zTNDQyh6oKSydU3ZCWASlGVGdWxRHpo ZJhlEuezunWO01NFGmP+AkEeMIWS/cpF/zpDSJuzJf9so3MPlgQC8QfcvYcWAnPAPJUX9r /wFdivBFwXWVTi/EbL+5NEDj63khbQdufVHKHu2NSv0Gxq+AZR89mp2XXsh715tqmYOUz8 zxNCFxXFZd51nc8qknkwqV/yvATmYJ98roh2PoxhPbhrlfCtJJl83mZwD4N6w/D+AithZv OaumAFLWy8VjF4l4gQQrO/Z1FtB3YbP6v+deL8iR8tLTyOA92YFfCK/yZ1gcRA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653605868; a=rsa-sha256; cv=none; b=lgleni1MtA7WCNCPXXNFSxulr305Mx68nSQPzR4H+wbXnqyko54PsxoWKgF60Jerh72u5p puiX7E4MrfiD6QU1RltzOiRPQ0x36CGOlA5pOR4by95RcQjsKIZxu/0AVGaq5t0dfk9s3L EcJucwAk3Cx6l7ZajZmM/mpWLm3gSUr1yfJsNsgQyeayEnCb3cTkFcHj2+ABoYBDT+rJI1 XYNMoeRGl7tioHbStxXkS3D/i+AT5br2Hrz6D5V7QBbpID7aqOQBbR588I5g1aulgdeLus urzjjmAdOjQjdm3GDnbGRlHFLsHLDOgUEop+r/vYx0HinaL9+HrXm3Iv1RdZcQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dmgk: URL: https://cgit.FreeBSD.org/ports/commit/?id=50dac96090dc01e6fb3fc8dad17b1a3808883d78 commit 50dac96090dc01e6fb3fc8dad17b1a3808883d78 Author: sec.research.2005@gmail.com AuthorDate: 2022-05-26 22:42:47 +0000 Commit: Dmitri Goutnik CommitDate: 2022-05-26 22:57:16 +0000 sysutils/handlr: Add shell completion files PR: 264242 --- sysutils/handlr/Makefile | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/sysutils/handlr/Makefile b/sysutils/handlr/Makefile index 83485c9a5ff7..faa4f0c23c8f 100644 --- a/sysutils/handlr/Makefile +++ b/sysutils/handlr/Makefile @@ -1,7 +1,7 @@ PORTNAME= handlr DISTVERSIONPREFIX= v DISTVERSION= 0.7.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= sec.research.2005@gmail.com @@ -176,7 +176,24 @@ CARGO_CRATES= aho-corasick-0.7.18 \ PLIST_FILES= bin/handlr +OPTIONS_DEFINE= COMPLETIONS +OPTIONS_DEFAULT= COMPLETIONS + +COMPLETIONS_DESC= Install bash, zsh, and fish shell completions + +COMPLETIONS_PLIST_FILES= share/bash-completion/completions/${PORTNAME} \ + share/fish/vendor_completions.d/${PORTNAME}.fish \ + share/zsh/site-functions/_${PORTNAME} + post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/handlr +post-install-COMPLETIONS-on: + ${INSTALL_DATA} ${WRKSRC}/completions/${PORTNAME} \ + ${STAGEDIR}${PREFIX}/share/bash-completion/completions/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/completions/${PORTNAME}.fish \ + ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d/${PORTNAME}.fish + ${INSTALL_DATA} ${WRKSRC}/completions/_${PORTNAME} \ + ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${PORTNAME} + .include