1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-18 08:02:48 +00:00
freebsd-ports/textproc/gtk-doc/Makefile
2021-04-06 16:31:07 +02:00

39 lines
1001 B
Makefile

# Created by: fenner
PORTNAME= gtk-doc
DISTVERSION= 1.33.2
CATEGORIES= textproc
MASTER_SITES= GNOME
MAINTAINER= desktop@FreeBSD.org
COMMENT= Code documentation system, originally for GTK+
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${PY_PYGMENTS} \
docbook-xml>0:textproc/docbook-xml \
${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:textproc/docbook-xsl \
itstool:textproc/itstool \
yelp-tools>=0:textproc/yelp-tools
RUN_DEPENDS= ${PY_PYGMENTS} \
docbook-xml>0:textproc/docbook-xml \
${LOCALBASE}/share/xsl/docbook/xhtml/chunk.xsl:textproc/docbook-xsl
USES= gettext-tools gnome meson python:3.6+ pkgconfig tar:xz
USE_GNOME= libxml2 libxslt
MESON_ARGS= -Dtests=false
NO_ARCH= yes
post-install:
${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \
-f -d ${DATADIR}/python/gtkdoc \
${STAGEDIR}${DATADIR}/python/gtkdoc
${PYTHON_CMD} -O ${PYTHON_LIBDIR}/compileall.py \
-f -d ${DATADIR}/python/gtkdoc \
${STAGEDIR}${DATADIR}/python/gtkdoc
.include <bsd.port.mk>