From nobody Sun Sep 08 08:40:19 2024 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 4X1k1b6rk1z5WNtD; Sun, 08 Sep 2024 08:40:19 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X1k1b5Tp1z4Y2S; Sun, 8 Sep 2024 08:40:19 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725784819; 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=CLrvtst0H9q3xATcNdounET04D+OdSFAR7fjLORvdQI=; b=je4mH22+5LmMYZECT5+GzLA4IX6u1YlbAb2qzvwMweLe8iEcKd7Nv0LltsDa3Zp3zOTwxJ hx0JJGdL6zMV1NV8KV95orSUurNKQ89RQADb0DwlU5IQV0jOC9t/uUBq5/bvbGowFhbdqb dHGpqV3kdKZ+uVAJTNPaNxKkSffBCjgndgsTjmANx7gTKTPPBwi/c8A5pfDXr4DSxzb9v0 1qqiSWNbNQ75v2OJu0Rm0ai/Fc+N19wRGCU/UKu2NTBNqCm1O/pSbqoKBs1dzWMRNhb1fu hl2yu0Guu/C0u8T08xVuFu2nifEhQb5G0AQJYFRmYeYlmatR5n2ydIf1FUcGfg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1725784819; a=rsa-sha256; cv=none; b=cee40W7Rhn6MPePyhVZQ1LTRTvt/AspXuJTiUChXPNp4BI3oGbj3UaSV2KcvrA30ngvorN CSZSyDvm4iAcwH79813HlRaaYBGTo91rdd0KbrIfRxQZzMyvybKMdHvPNaA8j6JFOd7lH3 84C5h8qBv0jj6xsNXf5zTxawHMZSWQiujuk08RL2GpcAhvv+kT3UMn+OF2+XGuf1VIAOqw q3b9Cxxz02t7Fs3UwGM6ZAZny8CVF6bv2ya2YdYfy7/dzjX9wdRRMiSCTZJjFZ0c+xL+tm TqADNWbw8xzELM31JViwIVAuDOMO9QIdTbI+mJ769FL3ow4ijdfVuYtnDEFc/Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1725784819; 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=CLrvtst0H9q3xATcNdounET04D+OdSFAR7fjLORvdQI=; b=trklYtdoL7cGZHMwUJDa+o8UWoVIVJA3BmLDYOdBAgH/FXTSPnyrLkKBHn5MCetrucweKB pFVLL8W6EbVO1uIBL7obPWZ+exZ+rTd7am1VqmIoKg+ulzzWbcOo4KiDBidKDsLXjrV6lq ZzagtSO180xUntPAzW7/zwYW2i74hrLiRCLMegbANhbTueSjeapAVpxZj2qwxIpWmenkQc 9SLDpV+ckL3Er2HN7yjZZ/0zwXCzE1vNMw0qru1bVp9cJkzKr8BsiZeZpk+ZIvJuMljTcK y0yPK5//cNqfcxIQZ+97keUC6Q5ImVqFISar5/YgtCbGLjmvQLE1WRt3pjgHQw== 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 4X1k1b4w6kz1BSP; Sun, 8 Sep 2024 08:40:19 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4888eJik001817; Sun, 8 Sep 2024 08:40:19 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4888eJBd001814; Sun, 8 Sep 2024 08:40:19 GMT (envelope-from git) Date: Sun, 8 Sep 2024 08:40:19 GMT Message-Id: <202409080840.4888eJBd001814@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Gleb Popov Subject: git: 169433d89d1c - main - textproc/hs-pandoc-crossref: Build and install manpage 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: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: arrowd X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 169433d89d1c95d21696da686d691e6966441383 Auto-Submitted: auto-generated The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=169433d89d1c95d21696da686d691e6966441383 commit 169433d89d1c95d21696da686d691e6966441383 Author: Gleb Popov AuthorDate: 2024-09-08 08:39:35 +0000 Commit: Gleb Popov CommitDate: 2024-09-08 08:39:58 +0000 textproc/hs-pandoc-crossref: Build and install manpage PR: 281077 --- textproc/hs-pandoc-crossref/Makefile | 23 ++++++++++++++++++++--- textproc/hs-pandoc-crossref/distinfo | 4 +++- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/textproc/hs-pandoc-crossref/Makefile b/textproc/hs-pandoc-crossref/Makefile index 213d6bafbec1..a9b08b34f2e8 100644 --- a/textproc/hs-pandoc-crossref/Makefile +++ b/textproc/hs-pandoc-crossref/Makefile @@ -1,5 +1,6 @@ PORTNAME= pandoc-crossref PORTVERSION= 0.3.17.1 +PORTREVISION= 1 CATEGORIES= textproc haskell MAINTAINER= haskell@FreeBSD.org @@ -11,7 +12,11 @@ LICENSE_FILE= ${WRKSRC}/LICENSE USES= cabal -USE_CABAL= Glob-0.10.2_3 \ +PLIST_FILES= bin/pandoc-crossref \ + share/man/man1/pandoc-crossref.1.gz + +USE_CABAL= pandoc-cli-${PANDOC_VER} +USE_CABAL+= Glob-0.10.2_3 \ JuicyPixels-3.3.9 \ OneTuple-0.4.2 \ Only-0.1_2 \ @@ -116,7 +121,7 @@ USE_CABAL= Glob-0.10.2_3 \ optparse-applicative-0.18.1.0 \ ordered-containers-0.2.4 \ os-string-2.0.6 \ - pandoc-3.3 \ + pandoc-${PANDOC_VER} \ pandoc-types-1.23.1_2 \ pem-0.2.4 \ pretty-show-1.10 \ @@ -184,6 +189,18 @@ USE_CABAL= Glob-0.10.2_3 \ zip-archive-0.4.3.2_1 \ zlib-0.7.1.0_1 -CABAL_REVISION= 2 +CABAL_EXECUTABLES= pandoc-crossref pandoc +CABAL_REVISION= 2 +SKIP_CABAL_PLIST= yes + +PANDOC_VER= 3.3 + +post-build: + ${SETENV} pandoc_datadir=${WRKSRC}/_cabal_deps/pandoc-${PANDOC_VER} \ + $$(${FIND} ${WRKSRC}/dist-newstyle -name pandoc -type f -perm +111) -s -t man ${WRKSRC}/docs/index.md -o ${WRKSRC}/docs/pandoc-crossref.1 + +post-install: + ${RM} ${STAGEDIR}${PREFIX}/bin/pandoc + ${INSTALL_MAN} ${WRKSRC}/docs/pandoc-crossref.1 ${STAGEDIR}${PREFIX}/share/man/man1 .include diff --git a/textproc/hs-pandoc-crossref/distinfo b/textproc/hs-pandoc-crossref/distinfo index 4598dbc92851..f2c31f67687e 100644 --- a/textproc/hs-pandoc-crossref/distinfo +++ b/textproc/hs-pandoc-crossref/distinfo @@ -1,4 +1,4 @@ -TIMESTAMP = 1722944315 +TIMESTAMP = 1725712695 SHA256 (cabal/pandoc-crossref-0.3.17.1/pandoc-crossref-0.3.17.1.tar.gz) = cb156ceb73269b949add64a877abbb602a4b448890d743a907f66d9b4989a755 SIZE (cabal/pandoc-crossref-0.3.17.1/pandoc-crossref-0.3.17.1.tar.gz) = 73699 SHA256 (cabal/pandoc-crossref-0.3.17.1/revision/2.cabal) = e814171ee529406137b18062a19719d24532769c5029aa04e6e2a09b29b6a303 @@ -271,6 +271,8 @@ SHA256 (cabal/os-string-2.0.6/os-string-2.0.6.tar.gz) = 22fcc7d5fc66676b5dfc57b7 SIZE (cabal/os-string-2.0.6/os-string-2.0.6.tar.gz) = 44363 SHA256 (cabal/pandoc-3.3/pandoc-3.3.tar.gz) = 62bae181ee0bef36dfad3da746220789368e8bf1d9a2555ee44dc672b8d7c6ed SIZE (cabal/pandoc-3.3/pandoc-3.3.tar.gz) = 7462867 +SHA256 (cabal/pandoc-cli-3.3/pandoc-cli-3.3.tar.gz) = 2a665b885ffb9259a29423d9021c7ce59878eca000515c0b58ea19795cd554d9 +SIZE (cabal/pandoc-cli-3.3/pandoc-cli-3.3.tar.gz) = 94839 SHA256 (cabal/pandoc-types-1.23.1/pandoc-types-1.23.1.tar.gz) = ad0fa083d28d452b7d37a1c67a2c140137a5f29a2f52fd88e807fac20245a1c1 SIZE (cabal/pandoc-types-1.23.1/pandoc-types-1.23.1.tar.gz) = 36480 SHA256 (cabal/pandoc-types-1.23.1/revision/2.cabal) = 2cb4836905406ccbc4c18699b8b551ed33aa15b23309f46ca108fcc209ae1ef2