From nobody Fri Jul 29 16:32:05 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 4LvY2F6BH8z4Xgkt; Fri, 29 Jul 2022 16:32:05 +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 4LvY2F5lJJz3Zs9; Fri, 29 Jul 2022 16:32:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659112325; 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=CMjOKPTy63uGWPIjkPqN4J5J2uOthSDWQcG0/0WysJ0=; b=ozwDDnkKafSanS0nsP+M6LD2fPMpk6fk7WjxdoE/Bh4FXAj/0BRCKEtZ0gQM8y+R6nSSXT ZfYvAnoRHb+gpO/H0j/Uye9znX5tjzXRHG5JrnQ6aZG6LOraG3StZJ9Z3hGy0hJNmmKpkJ gDIU6tqYzTa/lnU+xQUiKdS/i8t+13ebUvzm4VKV+edJqXFtz468UXSO+RcbV3SHcRzA6z Atmzbb56fm5Owzy4cxd/YkT5T3Px7U4Tqs+jh7ksdL+J+qrsBpCkWsqV+PlqCb/Ew3FOPX FzDOTel2DcPbPXnY5oVIOlBmMtyV9kR02pNEU9W9k9xy7anvVrd2Y5S8mU1i6g== 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 4LvY2F4qF6zhsG; Fri, 29 Jul 2022 16:32:05 +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 26TGW5Zr042518; Fri, 29 Jul 2022 16:32:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 26TGW5T0042517; Fri, 29 Jul 2022 16:32:05 GMT (envelope-from git) Date: Fri, 29 Jul 2022 16:32:05 GMT Message-Id: <202207291632.26TGW5T0042517@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Nuno Teixeira Subject: git: 619f4db4dd99 - main - sysutils/kopia: Add man page/Fix --version 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: eduardo X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 619f4db4dd99990f0768436acffbe9b34ae18ee0 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659112325; 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=CMjOKPTy63uGWPIjkPqN4J5J2uOthSDWQcG0/0WysJ0=; b=bV2Obc+irbnkDBb2ar+EPYX8yex+a3BdwiWFT8j4PEHRoXPKuwU4I5NmyBYbfxAVyryyHn 2n7hwtFrPtFt7JK6tTp7b2CYZpKvjaqV/6tQapDR7RadbBF9uLTHOYhj0ZS6kiKHwp0Qen BbAvInJvYWxOyzuNZ+rbkXuQPY6jcRf9rVsy5288LJ//sbUYWlZ2yN47ZAqPaQSlPvMV7t Djl+0ZBxXK1gA2gxQ8mLoIEvLtmhRLJ2VeOPSw7cuWhDJLjgX2k/Dy6hok/WvGDTFAgZlx 46Snq9m6DlbwUmuddwMVAfLYPj5VzKe3CMlRj39/VkSRjAXKImJb7pe9WmvrdA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659112325; a=rsa-sha256; cv=none; b=AUtykPqF/sZkJvho1mGzpe2qsqHsa9MPPa7tEH2pssdWsZgM7XcXMkuogDSPOWIhoMOkxZ /PIMSvpp+anMaAnrTeRtBpb2VLl9QegRzfPFrglZQcXoxzw9+gggG9AfKy5nGyaLPuhXNx SXepOHNBm6Sa+lZi0/8lflUM4yd3xRAsyMxGUKREgNczaVuBpHliwFgGpSfYD4fT1d8LFO 3hd5rYU/h4l7eCz6HxKTfNIbWeyCeBQNVo7yvD8ct3MHqbNhht2VjIaHMBBSQ2wTDxc5EN wZWLPjrasfm4ekVHJEzKdlq68izNrpK4uV++BzTQXmEC4BwKR8GRcTbokjD3+A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=619f4db4dd99990f0768436acffbe9b34ae18ee0 commit 619f4db4dd99990f0768436acffbe9b34ae18ee0 Author: Nuno Teixeira AuthorDate: 2022-07-29 16:26:09 +0000 Commit: Nuno Teixeira CommitDate: 2022-07-29 16:31:52 +0000 sysutils/kopia: Add man page/Fix --version - post-build: generate man page so it can be installed - remove repo.BuildGitHubRepo version variable, not applicable - bump PORTREVISION --- sysutils/kopia/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/sysutils/kopia/Makefile b/sysutils/kopia/Makefile index b4332f59c9a0..fdaf8ff1a810 100644 --- a/sysutils/kopia/Makefile +++ b/sysutils/kopia/Makefile @@ -1,7 +1,7 @@ PORTNAME= kopia DISTVERSIONPREFIX= v DISTVERSION= 0.11.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= sysutils MAINTAINER= eduardo@FreeBSD.org @@ -13,9 +13,15 @@ USES= go:modules GO_MODULE= github.com/kopia/kopia GO_BUILDFLAGS= -ldflags "\ -X github.com/kopia/kopia/repo.BuildVersion=${DISTVERSION} \ - -X github.com/kopia/kopia/repo.BuildInfo="`date +%Y%m%d`" \ - -X github.com/kopia/kopia/repo.BuildGitHubRepo="FreeBSD/ports"" + -X github.com/kopia/kopia/repo.BuildInfo="`date +%Y%m%d`"" -PLIST_FILES= bin/${PORTNAME} +PLIST_FILES= bin/${PORTNAME} \ + share/man/man1/${PORTNAME}.1.gz + +post-build: + ${GO_WRKDIR_BIN}/${PORTNAME} --log-dir="" --help-man > ${WRKSRC}/${PORTNAME}.1 + +post-install: + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1 .include