git: 064fa5876357 - main - graphics/cairo: make documentation available in devhelp

From: Adriaan de Groot <adridg_at_FreeBSD.org>
Date: Sat, 17 Sep 2022 14:27:00 UTC
The branch main has been updated by adridg:

URL: https://cgit.FreeBSD.org/ports/commit/?id=064fa58763573d636c1a83724b37bc507a79d4f8

commit 064fa58763573d636c1a83724b37bc507a79d4f8
Author:     Adriaan de Groot <adridg@FreeBSD.org>
AuthorDate: 2022-09-17 14:22:36 +0000
Commit:     Adriaan de Groot <adridg@FreeBSD.org>
CommitDate: 2022-09-17 14:26:59 +0000

    graphics/cairo: make documentation available in devhelp
    
    GNOME devhelp looks for documentation in particular places,
    and cairo was putting it somewhere subtly different.
    Switch DOCSDIR (since it was already being used in the
    Makefile and pkg-plist, this is the smallest change)
    to point to where it should. This approach is copied
    from devel/libsoup/ and was suggested by Sean Champ.
    
    PR:             263852 263785
---
 graphics/cairo/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/graphics/cairo/Makefile b/graphics/cairo/Makefile
index b7c0f72c5f9a..ee7a75ff276b 100644
--- a/graphics/cairo/Makefile
+++ b/graphics/cairo/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	cairo
 DISTVERSION=	1.17.4
-PORTREVISION=	1
+PORTREVISION=	2
 PORTEPOCH=	3
 CATEGORIES=	graphics
 MASTER_SITES=	https://cairographics.org/releases/ \
@@ -45,6 +45,7 @@ OPTIONS_SUB=	yes
 
 DOCS_BUILD_DEPENDS=	gtkdocize:textproc/gtk-doc
 DOCS_CONFIGURE_ON=	--with-html-dir=${DOCSDIR}
+DOCSDIR=		${PREFIX}/share/gtk-doc/html
 
 X11_USES=	xorg
 X11_USE=	xorg=x11,xext,xorgproto,xrender