1.66.1 - 2020-10-03 ------------------- * Update glib annotations * Windows: Fix running on different drives [1] * gimarshallingtests: Add more tests for flags [2] * Revert "giscanner: Fix section matching for documentation [3] see [4] [1] https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/239 [2] https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/235 [3] https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/237 [4] https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/360
41 lines
1.1 KiB
Makefile
41 lines
1.1 KiB
Makefile
# Created by: Alexander Logvinov <avl@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gobject-introspection
|
|
PORTVERSION= 1.66.1
|
|
PORTEPOCH= 1
|
|
CATEGORIES= devel
|
|
MASTER_SITES= GNOME
|
|
DIST_SUBDIR= gnome
|
|
|
|
MAINTAINER= desktop@FreeBSD.org
|
|
COMMENT= Generate interface introspection data for GObject libraries
|
|
|
|
LICENSE= GPLv2+ LGPL20+
|
|
LICENSE_COMB= multi
|
|
LICENSE_FILE_LGPL20+ = ${WRKSRC}/COPYING.LGPL
|
|
LICENSE_FILE_GPLv2+ = ${WRKSRC}/COPYING.GPL
|
|
|
|
# we need cairo otherwise the generated Cairo gir is broken
|
|
BUILD_DEPENDS= cairo-trace:graphics/cairo
|
|
LIB_DEPENDS= libffi.so:devel/libffi
|
|
|
|
PORTSCOUT= limitw:1,even
|
|
|
|
USES= bison gettext gnome localbase meson pkgconfig python:3.4+ tar:xz
|
|
BINARY_ALIAS= python3=${PYTHON_CMD}
|
|
USE_GNOME= glib20
|
|
USE_LDCONFIG= yes
|
|
MESON_ARGS= -Ddoctool=disabled \
|
|
-Dpython=${PYTHON_CMD}
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|%%PYTHON_CMD%%|${PYTHON_CMD}|' ${WRKSRC}/tools/meson.build
|
|
|
|
post-stage:
|
|
@${PYTHON_CMD} -m compileall -d ${PREFIX}/lib/${PORTNAME} \
|
|
"${STAGEDIR}${PREFIX}/lib/${PORTNAME}"
|
|
@${PYTHON_CMD} -O -m compileall -d ${PREFIX}/lib/${PORTNAME} \
|
|
"${STAGEDIR}${PREFIX}/lib/${PORTNAME}"
|
|
|
|
.include <bsd.port.mk>
|