... by adding BUILD_DEPENDS textproc/gtk-doc for the GTKDOC case PR: 220974 Submitted by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at> Reported by: Grzegorz Junka <list1@gjunka.com>
41 lines
973 B
Makefile
41 lines
973 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= graphene
|
|
PORTVERSION= 1.6.0
|
|
PORTREVISION= 2
|
|
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= GTKDOC #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
|
|
|
|
GTKDOC_MESON_TRUE= enable-gtk-doc
|
|
GTKDOC_DESC= Build documentation
|
|
GTKDOC_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
|
|
|
|
.include <bsd.port.mk>
|