git: e59acf0cf772 - main - textproc/gi-docgen: Add port: Documentation generator for GObject-based libraries
Neel Chauhan
nc at FreeBSD.org
Mon May 24 19:13:52 UTC 2021
The branch main has been updated by nc:
URL: https://cgit.FreeBSD.org/ports/commit/?id=e59acf0cf77274e26bae6f2697db5cb8549bcd00
commit e59acf0cf77274e26bae6f2697db5cb8549bcd00
Author: Neel Chauhan <nc at FreeBSD.org>
AuthorDate: 2021-05-24 19:12:27 +0000
Commit: Neel Chauhan <nc at FreeBSD.org>
CommitDate: 2021-05-24 19:13:33 +0000
textproc/gi-docgen: Add port: Documentation generator for GObject-based libraries
Differential Revision: https://reviews.freebsd.org/D29802
---
textproc/Makefile | 1 +
textproc/gi-docgen/Makefile | 30 ++++++++++++
textproc/gi-docgen/distinfo | 3 ++
textproc/gi-docgen/files/patch-meson.build | 11 +++++
textproc/gi-docgen/pkg-descr | 6 +++
textproc/gi-docgen/pkg-plist | 73 ++++++++++++++++++++++++++++++
6 files changed, 124 insertions(+)
diff --git a/textproc/Makefile b/textproc/Makefile
index b346592e9b06..4e8b0f78cfd4 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -224,6 +224,7 @@
SUBDIR += gastex
SUBDIR += gd-aspell
SUBDIR += gdome2
+ SUBDIR += gi-docgen
SUBDIR += git-chglog
SUBDIR += gitlab-elasticsearch-indexer
SUBDIR += gl-aspell
diff --git a/textproc/gi-docgen/Makefile b/textproc/gi-docgen/Makefile
new file mode 100644
index 000000000000..7f49c0648113
--- /dev/null
+++ b/textproc/gi-docgen/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= gi-docgen
+PORTVERSION= 2021.5
+CATEGORIES= textproc
+MASTER_SITES= GNOME
+
+MAINTAINER= desktop at FreeBSD.org
+COMMENT= Documentation generator for GObject-based libraries
+
+LICENSE= APACHE20 GPLv3
+LICENSE_COMB= dual
+LICENSE_FILE_APACHE20= ${WRKSRC}/LICENSES/Apache-2.0.txt
+LICENSE_FILE_GPLv3= ${WRKSRC}/LICENSES/GPL-3.0-or-later.txt
+
+BUILD_DEPENDS= ${RUN_DEPENDS}
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}markdown>0:textproc/py-markdown@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}markupsafe>0:textproc/py-markupsafe@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}pygments>0:textproc/py-pygments@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}smartypants>0:textproc/py-smartypants@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}toml>0:textproc/py-toml@${PY_FLAVOR} \
+ ${PYTHON_PKGNAMEPREFIX}typogrify>0:textproc/py-typogrify@${PY_FLAVOR}
+
+USES= meson python:3.6+ shebangfix
+
+SHEBANG_FILES= gi-docgen.py
+BINARY_ALIAS= python3=${PYTHON_CMD}
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/textproc/gi-docgen/distinfo b/textproc/gi-docgen/distinfo
new file mode 100644
index 000000000000..3f62af6876bf
--- /dev/null
+++ b/textproc/gi-docgen/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1618634957
+SHA256 (gi-docgen-2021.5.tar.gz) = 14b5e9e5394502ed01927efab28ac658cdb1b036f35dd7f4bef549235fb751d9
+SIZE (gi-docgen-2021.5.tar.gz) = 1247355
diff --git a/textproc/gi-docgen/files/patch-meson.build b/textproc/gi-docgen/files/patch-meson.build
new file mode 100644
index 000000000000..241e6e95da5d
--- /dev/null
+++ b/textproc/gi-docgen/files/patch-meson.build
@@ -0,0 +1,11 @@
+--- meson.build.orig 2021-04-17 05:31:14 UTC
++++ meson.build
+@@ -37,7 +37,7 @@ configure_file(
+ output: 'gi-docgen.pc',
+ configuration: pkgconf,
+ install: not meson.is_subproject(),
+- install_dir: get_option('datadir') / 'pkgconfig',
++ install_dir: 'libdata/pkgconfig',
+ )
+
+ if not meson.is_subproject()
diff --git a/textproc/gi-docgen/pkg-descr b/textproc/gi-docgen/pkg-descr
new file mode 100644
index 000000000000..6a40f0617be5
--- /dev/null
+++ b/textproc/gi-docgen/pkg-descr
@@ -0,0 +1,6 @@
+GI-DocGen is a document generator for GObject-based libraries. GObject is the
+base type system of the GNOME project. GI-Docgen reuses the introspection data
+generated by GObject-based libraries to generate the API reference of these
+libraries, as well as other ancillary documentation.
+
+WWW: https://gitlab.gnome.org/GNOME/gi-docgen
diff --git a/textproc/gi-docgen/pkg-plist b/textproc/gi-docgen/pkg-plist
new file mode 100644
index 000000000000..68037e201468
--- /dev/null
+++ b/textproc/gi-docgen/pkg-plist
@@ -0,0 +1,73 @@
+bin/gi-docgen
+%%PYTHON_SITELIBDIR%%/gidocgen/__init__.py
+%%PYTHON_SITELIBDIR%%/gidocgen/config.py
+%%PYTHON_SITELIBDIR%%/gidocgen/core.py
+%%PYTHON_SITELIBDIR%%/gidocgen/gdgendeps.py
+%%PYTHON_SITELIBDIR%%/gidocgen/gdgenerate.py
+%%PYTHON_SITELIBDIR%%/gidocgen/gdgenindices.py
+%%PYTHON_SITELIBDIR%%/gidocgen/gdindex.py
+%%PYTHON_SITELIBDIR%%/gidocgen/gdsearch.py
+%%PYTHON_SITELIBDIR%%/gidocgen/gidocmain.py
+%%PYTHON_SITELIBDIR%%/gidocgen/gir/__init__.py
+%%PYTHON_SITELIBDIR%%/gidocgen/gir/ast.py
+%%PYTHON_SITELIBDIR%%/gidocgen/gir/parser.py
+%%PYTHON_SITELIBDIR%%/gidocgen/log.py
+%%PYTHON_SITELIBDIR%%/gidocgen/mdext.py
+%%PYTHON_SITELIBDIR%%/gidocgen/porter.py
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatDisplay-Black.woff
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatDisplay-Black.woff2
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatDisplay-BlackItalic.woff
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatDisplay-BlackItalic.woff2
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatDisplay-Bold.woff
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatDisplay-Bold.woff2
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatDisplay-BoldItalic.woff
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatDisplay-BoldItalic.woff2
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatDisplay-Italic.woff
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatDisplay-Italic.woff2
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatDisplay-Medium.woff
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatDisplay-Medium.woff2
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatDisplay-MediumItalic.woff
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatDisplay-MediumItalic.woff2
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatDisplay-Regular.woff
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatDisplay-Regular.woff2
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatText-Bold.woff
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatText-Bold.woff2
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatText-BoldItalic.woff
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatText-BoldItalic.woff2
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatText-Italic.woff
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatText-Italic.woff2
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatText-Medium.woff
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatText-Medium.woff2
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatText-MediumItalic.woff
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatText-MediumItalic.woff2
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatText-Regular.woff
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/RedHatText-Regular.woff2
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/SourceCodePro-It.ttf.woff
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/SourceCodePro-Regular.ttf.woff
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/SourceCodePro-Semibold.ttf.woff
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/base.html
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/basic.toml
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/class.html
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/class_method.html
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/constant.html
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/content.html
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/ctor.html
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/enum.html
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/fonts.css
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/function.html
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/fzy.js
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/go-up-symbolic.png
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/interface.html
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/main.js
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/method.html
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/namespace.html
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/property.html
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/pygment.css
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/search.js
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/signal.html
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/struct.html
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/style.css
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/type_func.html
+%%PYTHON_SITELIBDIR%%/gidocgen/templates/basic/vfunc.html
+%%PYTHON_SITELIBDIR%%/gidocgen/utils.py
+libdata/pkgconfig/gi-docgen.pc
More information about the dev-commits-ports-all
mailing list