freebsd-ports/graphics/graphene/Makefile
Mathieu Arnold e1ce905577 Rename the GTKDOC option to DOCS.
First, all those ports should also have had a DOCS option that would
have guarded the GTKDOC option, and then textproc/gtk-doc is pretty
light and does not warrant a separate option.

Discussed with:	portmgr
Approved by:	portmgr
2019-05-07 12:35:36 +00:00

41 lines
981 B
Makefile

# $FreeBSD$
PORTNAME= graphene
PORTVERSION= 1.8.2
PORTREVISION= 1
CATEGORIES= graphics devel
MASTER_SITES= GNOME
MAINTAINER= gnome@FreeBSD.org
COMMENT= Optimizations for speeding up vector operations
LICENSE= MIT
USES= gnome meson pkgconfig python:3.4+ shebangfix tar:xz
USE_GNOME= glib20 pygobject3
USE_LDCONFIG= yes
OPTIONS_SUB= yes
OPTIONS_DEFINE= DOCS #INTROSPECTION
#OPTIONS_DEFAULT=INTROSPECTION
SHEBANG_FILES= src/identfilter.py
USE_GNOME+= introspection:build
#INTROSPECTION_DESC= Build Gobject Introspection
#INTROSPECTION_USE= gnome=introspection:build
#INTROSPECTION_MESON_OFF= -Denable-introspection=false
DOCS_MESON_TRUE= gtk_doc
DOCS_BUILD_DEPENDS= gtk-doc>0:textproc/gtk-doc
post-patch:
@${REINPLACE_CMD} -e 's|=python |=${PYTHON_VERSION} |g' \
${WRKSRC}/src/meson.build
# We don't want install tests
post-install:
@${RM} -rf ${STAGEDIR}${PREFIX}/libexec/installed-tests
@${RM} -rf ${STAGEDIR}${PREFIX}/share/installed-tests
.include <bsd.port.mk>