Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Feb 2021 08:36:30 +0000 (UTC)
From:      Emanuel Haupt <ehaupt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r564775 - head/graphics/chafa
Message-ID:  <202102090836.1198aUE5055742@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ehaupt
Date: Tue Feb  9 08:36:30 2021
New Revision: 564775
URL: https://svnweb.freebsd.org/changeset/ports/564775

Log:
  Make installation of documentation optional and install to DOCSDIR.

Modified:
  head/graphics/chafa/Makefile
  head/graphics/chafa/pkg-plist

Modified: head/graphics/chafa/Makefile
==============================================================================
--- head/graphics/chafa/Makefile	Tue Feb  9 08:17:52 2021	(r564774)
+++ head/graphics/chafa/Makefile	Tue Feb  9 08:36:30 2021	(r564775)
@@ -3,6 +3,7 @@
 
 PORTNAME=	chafa
 PORTVERSION=	1.6.0
+PORTREVISION=	1
 CATEGORIES=	graphics
 MASTER_SITES=	https://hpjansson.org/chafa/releases/ \
 		https://github.com/hpjansson/chafa/releases/download/${PORTVERSION}/
@@ -23,8 +24,11 @@ USES=		gettext-runtime gnome libtool tar:xz
 USE_GNOME=	glib20
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--with-html-dir=${DOCSDIR}/html
 
 INSTALL_TARGET=	install-strip
+
+OPTIONS_DEFINE=	DOCS
 
 post-install:
 	${INSTALL_MAN} ${WRKSRC}/docs/${PORTNAME}.1 \

Modified: head/graphics/chafa/pkg-plist
==============================================================================
--- head/graphics/chafa/pkg-plist	Tue Feb  9 08:17:52 2021	(r564774)
+++ head/graphics/chafa/pkg-plist	Tue Feb  9 08:36:30 2021	(r564775)
@@ -16,26 +16,26 @@ lib/libchafa.so
 lib/libchafa.so.0
 lib/libchafa.so.0.5.0
 libdata/pkgconfig/chafa.pc
-share/gtk-doc/html/chafa/api-index-full.html
-share/gtk-doc/html/chafa/ch01.html
-share/gtk-doc/html/chafa/ch02.html
-share/gtk-doc/html/chafa/chafa-ChafaCanvas.html
-share/gtk-doc/html/chafa/chafa-ChafaCanvasConfig.html
-share/gtk-doc/html/chafa/chafa-ChafaSymbolMap.html
-share/gtk-doc/html/chafa/chafa-ChafaTermDb.html
-share/gtk-doc/html/chafa/chafa-ChafaTermInfo.html
-share/gtk-doc/html/chafa/chafa-Features.html
-share/gtk-doc/html/chafa/chafa-Miscellaneous.html
-share/gtk-doc/html/chafa/chafa-building.html
-share/gtk-doc/html/chafa/chafa-using.html
-share/gtk-doc/html/chafa/chafa.devhelp2
-share/gtk-doc/html/chafa/home.png
-share/gtk-doc/html/chafa/index.html
-share/gtk-doc/html/chafa/left-insensitive.png
-share/gtk-doc/html/chafa/left.png
-share/gtk-doc/html/chafa/right-insensitive.png
-share/gtk-doc/html/chafa/right.png
-share/gtk-doc/html/chafa/style.css
-share/gtk-doc/html/chafa/up-insensitive.png
-share/gtk-doc/html/chafa/up.png
+%%PORTDOCS%%%%DOCSDIR%%/html/chafa/api-index-full.html
+%%PORTDOCS%%%%DOCSDIR%%/html/chafa/ch01.html
+%%PORTDOCS%%%%DOCSDIR%%/html/chafa/ch02.html
+%%PORTDOCS%%%%DOCSDIR%%/html/chafa/chafa-ChafaCanvas.html
+%%PORTDOCS%%%%DOCSDIR%%/html/chafa/chafa-ChafaCanvasConfig.html
+%%PORTDOCS%%%%DOCSDIR%%/html/chafa/chafa-ChafaSymbolMap.html
+%%PORTDOCS%%%%DOCSDIR%%/html/chafa/chafa-ChafaTermDb.html
+%%PORTDOCS%%%%DOCSDIR%%/html/chafa/chafa-ChafaTermInfo.html
+%%PORTDOCS%%%%DOCSDIR%%/html/chafa/chafa-Features.html
+%%PORTDOCS%%%%DOCSDIR%%/html/chafa/chafa-Miscellaneous.html
+%%PORTDOCS%%%%DOCSDIR%%/html/chafa/chafa-building.html
+%%PORTDOCS%%%%DOCSDIR%%/html/chafa/chafa-using.html
+%%PORTDOCS%%%%DOCSDIR%%/html/chafa/chafa.devhelp2
+%%PORTDOCS%%%%DOCSDIR%%/html/chafa/home.png
+%%PORTDOCS%%%%DOCSDIR%%/html/chafa/index.html
+%%PORTDOCS%%%%DOCSDIR%%/html/chafa/left-insensitive.png
+%%PORTDOCS%%%%DOCSDIR%%/html/chafa/left.png
+%%PORTDOCS%%%%DOCSDIR%%/html/chafa/right-insensitive.png
+%%PORTDOCS%%%%DOCSDIR%%/html/chafa/right.png
+%%PORTDOCS%%%%DOCSDIR%%/html/chafa/style.css
+%%PORTDOCS%%%%DOCSDIR%%/html/chafa/up-insensitive.png
+%%PORTDOCS%%%%DOCSDIR%%/html/chafa/up.png
 share/man/man1/chafa.1.gz



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202102090836.1198aUE5055742>