[Bug 263872] www/webkit2-gtk3: Patch for installing gtk-doc/devhelp documentation

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 09 May 2022 21:49:21 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263872

Sean Champ <lab+bsd@thinkum.space> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #233815|0                           |1
        is obsolete|                            |

--- Comment #3 from Sean Champ <lab+bsd@thinkum.space> ---
Created attachment 233827
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233827&action=edit
patch for adding docs option with dynamic plist gen

It's possible to generate a dynamic plist for the gtk-doc files. The updated
patch, as attached, uses one approach to this, using add-plist-docs

add-plist-docs is supported under bsd.port.mk, mainly for handling PORTDOCS, in
a manner similar to PORTEXAMPLES under an EXAMPLES port option. By defininig
add-plist-docs in a port, in effect it will override any handling for PORTDOCS.
That variable was not previously being used in the port.

The updated patch will use add-plist-docs to update ${TMPPLIST} before the pkg
is built. This approach would entail no further modification on the static
pkg-plist for the port, and no hacks on the PLIST variable. 

The updated patch also removes the earlier CMAKE_INSTALL_DOCDIR parameter from
the cmake parameters for the DOCS port option.

Also in the updated patch, installing NEWS from the distfile under the port's
DOCSDIR

-- 
You are receiving this mail because:
You are the assignee for the bug.