aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdriaan de Groot <adridg@FreeBSD.org>2022-09-17 14:22:36 +0000
committerAdriaan de Groot <adridg@FreeBSD.org>2022-09-17 14:26:59 +0000
commit064fa58763573d636c1a83724b37bc507a79d4f8 (patch)
tree7f1be67aea2b0f5a61b9c1ce986f1e2fc09c00ba
parentce0dfcc403b5accc06310fbb0859890eb738cedd (diff)
downloadports-064fa58763573d636c1a83724b37bc507a79d4f8.tar.gz
ports-064fa58763573d636c1a83724b37bc507a79d4f8.zip
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
-rw-r--r--graphics/cairo/Makefile3
1 files changed, 2 insertions, 1 deletions
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