git: 2483540153f7 - main - archivers/gnome-autoar: Add DOCS option
Neel Chauhan
nc at FreeBSD.org
Tue Sep 28 04:40:33 UTC 2021
The branch main has been updated by nc:
URL: https://cgit.FreeBSD.org/ports/commit/?id=2483540153f726f973f8c359e63810ecb84ca710
commit 2483540153f726f973f8c359e63810ecb84ca710
Author: Neel Chauhan <nc at FreeBSD.org>
AuthorDate: 2021-09-28 03:27:04 +0000
Commit: Neel Chauhan <nc at FreeBSD.org>
CommitDate: 2021-09-28 04:40:27 +0000
archivers/gnome-autoar: Add DOCS option
---
archivers/gnome-autoar/Makefile | 9 ++++++++-
archivers/gnome-autoar/pkg-plist | 22 ++++++++++++++++++++++
2 files changed, 30 insertions(+), 1 deletion(-)
diff --git a/archivers/gnome-autoar/Makefile b/archivers/gnome-autoar/Makefile
index 9e263b5e5f81..b2854d7fe4a7 100644
--- a/archivers/gnome-autoar/Makefile
+++ b/archivers/gnome-autoar/Makefile
@@ -2,6 +2,7 @@
PORTNAME= gnome-autoar
DISTVERSION= 0.4.0
+PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= GNOME
DIST_SUBDIR= gnome3
@@ -16,7 +17,13 @@ BUILD_DEPENDS= valac:lang/vala
USES= cpe gettext-runtime gmake gnome libarchive meson pkgconfig \
tar:xz
-USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build
+
CPE_VENDOR= gnome
+USE_GNOME= cairo gdkpixbuf2 gtk30 introspection:build
+
+OPTIONS_DEFINE= DOCS
+
+DOCS_MESON_TRUE= gtk_doc
+DOCS_BUILD_DEPENDS= gtk-doc>0:textproc/gtk-doc
.include <bsd.port.mk>
diff --git a/archivers/gnome-autoar/pkg-plist b/archivers/gnome-autoar/pkg-plist
index 53101cb086c2..594b440f1acd 100644
--- a/archivers/gnome-autoar/pkg-plist
+++ b/archivers/gnome-autoar/pkg-plist
@@ -19,3 +19,25 @@ libdata/pkgconfig/gnome-autoar-0.pc
libdata/pkgconfig/gnome-autoar-gtk-0.pc
share/gir-1.0/GnomeAutoar-0.1.gir
share/gir-1.0/GnomeAutoarGtk-0.1.gir
+%%PORTDOCS%%share/gtk-doc/html/gnome-autoar/AutoarCompressor.html
+%%PORTDOCS%%share/gtk-doc/html/gnome-autoar/AutoarExtractor.html
+%%PORTDOCS%%share/gtk-doc/html/gnome-autoar/annotation-glossary.html
+%%PORTDOCS%%share/gtk-doc/html/gnome-autoar/api-index-full.html
+%%PORTDOCS%%share/gtk-doc/html/gnome-autoar/ch01.html
+%%PORTDOCS%%share/gtk-doc/html/gnome-autoar/ch02.html
+%%PORTDOCS%%share/gtk-doc/html/gnome-autoar/ch03.html
+%%PORTDOCS%%share/gtk-doc/html/gnome-autoar/deprecated-api-index.html
+%%PORTDOCS%%share/gtk-doc/html/gnome-autoar/gnome-autoar-autoar-format-filter.html
+%%PORTDOCS%%share/gtk-doc/html/gnome-autoar/gnome-autoar-autoar-gtk-chooser.html
+%%PORTDOCS%%share/gtk-doc/html/gnome-autoar/gnome-autoar-autoar-misc.html
+%%PORTDOCS%%share/gtk-doc/html/gnome-autoar/gnome-autoar.devhelp2
+%%PORTDOCS%%share/gtk-doc/html/gnome-autoar/home.png
+%%PORTDOCS%%share/gtk-doc/html/gnome-autoar/index.html
+%%PORTDOCS%%share/gtk-doc/html/gnome-autoar/left-insensitive.png
+%%PORTDOCS%%share/gtk-doc/html/gnome-autoar/left.png
+%%PORTDOCS%%share/gtk-doc/html/gnome-autoar/object-tree.html
+%%PORTDOCS%%share/gtk-doc/html/gnome-autoar/right-insensitive.png
+%%PORTDOCS%%share/gtk-doc/html/gnome-autoar/right.png
+%%PORTDOCS%%share/gtk-doc/html/gnome-autoar/style.css
+%%PORTDOCS%%share/gtk-doc/html/gnome-autoar/up-insensitive.png
+%%PORTDOCS%%share/gtk-doc/html/gnome-autoar/up.png
More information about the dev-commits-ports-all
mailing list