Index: textproc/Makefile =================================================================== --- textproc/Makefile +++ textproc/Makefile @@ -223,6 +223,7 @@ SUBDIR += gastex SUBDIR += gd-aspell SUBDIR += gdome2 + SUBDIR += gi-docgen SUBDIR += git-chglog SUBDIR += gitlab-elasticsearch-indexer SUBDIR += gl-aspell Index: textproc/gi-docgen/Makefile =================================================================== --- /dev/null +++ textproc/gi-docgen/Makefile @@ -0,0 +1,30 @@ +PORTNAME= gi-docgen +PORTVERSION= 2021.5 +CATEGORIES= textproc +MASTER_SITES= GNOME + +MAINTAINER= desktop@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= ${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} +RUN_DEPENDS= ${BUILD_DEPENDS} + +USES= meson python:3.6+ shebangfix + +SHEBANG_FILES= gi-docgen.py +BINARY_ALIAS= python3=${PYTHON_CMD} + +NO_ARCH= yes + +.include Index: textproc/gi-docgen/distinfo =================================================================== --- /dev/null +++ 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 Index: textproc/gi-docgen/files/patch-meson.build =================================================================== --- /dev/null +++ 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() Index: textproc/gi-docgen/pkg-descr =================================================================== --- /dev/null +++ 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 Index: textproc/gi-docgen/pkg-plist =================================================================== --- /dev/null +++ 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