Bug 281077 - textproc/hs-pandoc-crossref: missing man page
Summary: textproc/hs-pandoc-crossref: missing man page
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-haskell (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-26 12:26 UTC by Vedran Miletic
Modified: 2024-09-08 08:45 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (haskell)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vedran Miletic 2024-08-26 12:26:23 UTC
Equivalent to PR 281076, but for textproc/hs-pandoc-crossref.

In this case, as far as I can see, man page was not installed in an earlier version of the port.
Comment 1 Gleb Popov freebsd_committer freebsd_triage 2024-08-31 09:45:59 UTC
Upstream does not provide a man file, so ask them first.

When upstream makes a release containing manpages, we'll change the port to install them.
Comment 2 Vedran Miletic 2024-08-31 12:25:59 UTC
Thanks, I just saw the man page in the (Linux) binary tarball and never checked the sources. I just reported this upstream: https://github.com/lierdakil/pandoc-crossref/issues/449
Comment 3 Vedran Miletic 2024-09-06 19:04:32 UTC
Per comment in that issue, man page is generated at build time with pandoc from Markdown source using

pandoc -s -t man docs/index.md -o pandoc-crossref.1.man

Would it be possible to do so when building the port, i.e. is pandoc executable present and runnable for this purpose?
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-09-08 08:40:25 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=169433d89d1c95d21696da686d691e6966441383

commit 169433d89d1c95d21696da686d691e6966441383
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-09-08 08:39:35 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
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(-)
Comment 5 Vedran Miletic 2024-09-08 08:45:43 UTC
Thanks!