ajacoutot a3144d4666 Disable dot(1) because it can break when run under dpb(1).
e.g.
/usr/local/bin/gi-docgen generate --quiet --fatal-warnings \
        --config doc/libgweather.toml --output-dir=doc/libgweather-4.0 \
        --no-namespace-dir \
        --content-dir=/hack/objdirs/pobj/libgweather4-4.0.0/libgweather-4.0.0/doc \
        libgweather/GWeather-4.0.gir
WARNING: Unable to process dot data: b'Fontconfig error:
No writable cache directories\nFontconfig error: No writable cache directories\n'

This happens if there's an empty directory under one of the fontconfig paths
(most likely /usr/local/share/fonts/) which probably happens during dpb(1)
junking (which is why it doesn't happen in every bulks).

issue reported by several over the past months (most notably naddy@ and tb@)
2022-07-22 06:22:33 +00:00

32 lines
736 B
Makefile

COMMENT= documentation generator for GObject-based libraries
GNOME_PROJECT= gi-docgen
GNOME_VERSION= 2022.1
REVISION= 0
# override gnome MODULE
MASTER_SITES ?= ${MASTER_SITE_GNOME:=sources/${GNOME_PROJECT}/${GNOME_VERSION:C/^([0-9]+)\..*/\1/}/}
CATEGORIES= textproc
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
# Apache-2.0
PERMIT_PACKAGE= Yes
MODULES= lang/python \
x11/gnome
MODPY_SETUPTOOLS= Yes
RUN_DEPENDS= textproc/py-MarkupSafe${MODPY_FLAVOR} \
textproc/py-markdown${MODPY_FLAVOR} \
textproc/py-pygments${MODPY_FLAVOR} \
textproc/py-toml${MODPY_FLAVOR} \
textproc/py-typogrify${MODPY_FLAVOR} \
www/py-jinja2${MODPY_FLAVOR}
TEST_DEPENDS= ${RUN_DEPENDS}
.include <bsd.port.mk>