From nobody Tue Sep 27 15:05:27 2022 X-Original-To: dev-commits-ports-main@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 4McNGb5C5lz4V1yH; Tue, 27 Sep 2022 15:05:27 +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 4McNGb4fpxz3fnB; Tue, 27 Sep 2022 15:05:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664291127; 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=cGatdP1JXNpETatsMC2FszcQCw03/aXxfuZrRJX2ao8=; b=wE40KR9x53MqN0z8gCGcPsZ8U7yBHSVAKLoNn51VOaM3vBBNZcc8r/BNFGK69Ug1jnV7pi +ieA6xQt3RKg6o8XFbBzHX2NYdlA5qWNCWTxVPU8DNzKSArqvvoJZVcq/NnIhsRf0IjnFt J73+WVYM4xVoseIUz1xdLNc4QmO3CZoMjKrqm3yMb6fRlt4ay4JbOhIhl8Ejo6aFJaC4Jb yPpTTBegV+gjGPITDcbUzdzPa7EQbS6FUIJ945gtzkUpYI1fAYD7+5g5x3+9x7KL1uko64 /WTKVcog6XftEVtXjVdJGNBgQDqy/CMAs5LTYl5oBYsQUPogzL+txqfQbj1+6A== 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 4McNGb3XKKz18yk; Tue, 27 Sep 2022 15:05:27 +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 28RF5RQJ002963; Tue, 27 Sep 2022 15:05:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 28RF5Rfq002962; Tue, 27 Sep 2022 15:05:27 GMT (envelope-from git) Date: Tue, 27 Sep 2022 15:05:27 GMT Message-Id: <202209271505.28RF5Rfq002962@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Adam Weinberger Subject: git: 76c5d932b983 - main - sysutils/bottom: Build and install manpages and shell completions List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: adamw X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 76c5d932b98351e367f18abd1d38e7eb0fc803bc Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664291127; 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=cGatdP1JXNpETatsMC2FszcQCw03/aXxfuZrRJX2ao8=; b=RXeM5dz1qkOzcgBM21ButV3Ixgd7CBZ2D5p+mU19oeUhN+98ZHECu6i/QTyYo0vGe+vO0x HvJfb69Z6hc59BLJdKk+BU9vq6oimifVVT9m58eugTSvqMyNVs5huwxICRmWSGdnEtX9mW Zc4Qgn9ke+DXW8GIYjcZIdRD0pajIbDD+CtYz539CzN2WJC7BycvTPVGAMiSApHy8SHDr5 Ozefdcw3Dsk3R/hup1MSvI4ab80xJIRx1CxMA9batZE6Pclp5+kwathfLHs8TdvriQV1g/ fn0Ftu2tlMi5Q3TMjryg7l7Y6ooLs1Tk0nd9Lfj6FKwZt6YzmQhCuLNm34TTLw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664291127; a=rsa-sha256; cv=none; b=GH2VZ/RcuSLSo3r0ayyFA7cSYn1oYGY/5AOyjXZSeL3jgoTBTGqX/kKjtb+HEjjBMkSx8X WmKeKmGEL0IvhjmMsHixmSSUbxH+Nq/z+RWc3IHazv5O9fhzb7nYWW4GgsFDtJ09ZovB+G QEW9aDwfOA9+mq0voLP8fMTbb1QJgKWNH5wmZXY8CQ+DmdhuIi+KszMN9yXGo9ZgWWZfHB JrLtRBO1U+7b6I5YUDzBBbqw9LlOSUcHhMMrpCLjR8pLZED7PdBHW5a6+MkAHCGaqufHZy urRu3H4rZUvEEoV0qaYcoMqlwuVwliXyv2bR9MYArivcdZGL6zRKW+6mbk6wIQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by adamw: URL: https://cgit.FreeBSD.org/ports/commit/?id=76c5d932b98351e367f18abd1d38e7eb0fc803bc commit 76c5d932b98351e367f18abd1d38e7eb0fc803bc Author: Adam Weinberger AuthorDate: 2022-09-27 15:05:09 +0000 Commit: Adam Weinberger CommitDate: 2022-09-27 15:05:23 +0000 sysutils/bottom: Build and install manpages and shell completions --- sysutils/bottom/Makefile | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/sysutils/bottom/Makefile b/sysutils/bottom/Makefile index 571e9deca840..048631560d58 100644 --- a/sysutils/bottom/Makefile +++ b/sysutils/bottom/Makefile @@ -1,5 +1,6 @@ PORTNAME= bottom DISTVERSION= 0.6.8-r20220909 +PORTREVISION= 1 CATEGORIES= sysutils MAINTAINER= adamw@FreeBSD.org @@ -14,11 +15,18 @@ USE_GITHUB= yes GH_ACCOUNT= ClementTsang GH_TAGNAME= 7218918 -PLIST_FILES= bin/btm PORTDOCS= * +PLIST_FILES= bin/btm \ + man/man1/btm.1.gz \ + share/bash-completion/completions/btm.bash \ + share/fish/vendor_completions.d/btm.fish \ + share/zsh/site-functions/_btm OPTIONS_DEFINE= DOCS +# Build manpages and shell completion +CARGO_ENV+= BTM_GENERATE=true + CARGO_CRATES= addr2line-0.17.0 \ adler-1.0.2 \ aho-corasick-0.7.18 \ @@ -203,8 +211,13 @@ CARGO_CRATES= addr2line-0.17.0 \ winapi-x86_64-pc-windows-gnu-0.4.0 \ wrapcenum-derive-0.4.0 +GEN_DIR= ${WRKDIR}/bottom-*/target/tmp/bottom post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/btm + ${INSTALL_MAN} ${GEN_DIR}/manpage/btm.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 + ${INSTALL_DATA} ${GEN_DIR}/completion/btm.bash ${STAGEDIR}${PREFIX}/share/bash-completion/completions + ${INSTALL_DATA} ${GEN_DIR}/completion/btm.fish ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d + ${INSTALL_DATA} ${GEN_DIR}/completion/_btm ${STAGEDIR}${PREFIX}/share/zsh/site-functions post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR}