Created attachment 235629 [details] patch for adding docs option (devel/libsoup) This diff is based on the changeset 3d5ef8caecd9 in git @ FreeBSD ports circa 2022-05-19 19:10:50 +0200 for devel/libsoup version 2.74.2 Options added: - DOCS: Build and install the libsoup Reference Manual The manual will be installed to a directory for libsoup within ${PREFIX}/share/gtk-doc gtk-doc files installed to the gtk-doc dir will automatically be added to the plist with add-plist-docs Under the DOCS option, the project's NEWS file will be installed to DOCSCDIR. This file is added to pkg-plist
Comment on attachment 235629 [details] patch for adding docs option (devel/libsoup) oops added an additional whitespace line. I'll try to consult oops about this, in the morning. Health, all
Created attachment 235630 [details] linted patch for adding docs option (devel/libsoup) trimmed the added whitespace line from the patch
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=1edbd06c6facd29a14635928395323aa3d6ae4a1 commit 1edbd06c6facd29a14635928395323aa3d6ae4a1 Author: Adriaan de Groot <adridg@FreeBSD.org> AuthorDate: 2022-08-16 21:04:24 +0000 Commit: Adriaan de Groot <adridg@FreeBSD.org> CommitDate: 2022-08-16 21:06:30 +0000 devel/libsoup: add a DOCS option Add DOCS, which just uses gtk_doc to do the work. The change was suggested by Sean Champ in the linked PR, but I reworked it substantially to be explicit about the files, and to use the simplest tooling. Other changes suggested by the way devel/libical and devel/json/glib do DOCS with gtk_doc. PR: 265568 Reported by: Sean Champ devel/libsoup/Makefile | 14 +++++++++-- devel/libsoup/pkg-plist | 65 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+), 2 deletions(-)