freebsd-ports/graphics/graphene/Makefile
Mathieu Arnold d0cba2b797 Cleanup Mk/Uses/gnome.mk.
- Remove the use of comp_DETECT.
- Remove all comp_DETECT variables.
- Remove a use of comp_DETECT outside of gnome.mk
- Remove py3gobject3.
- Have ports depending directly on devel/py-gobject3 use gnome to do it.

PR:		224618
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D13550
2018-01-03 13:22:31 +00:00

39 lines
906 B
Makefile

# $FreeBSD$
PORTNAME= graphene
PORTVERSION= 1.6.0
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
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
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>