4 DISTNAME= gobject-introspection-1.32.1
7 MASTER_SITES= ${MASTER_SITE_GNOME:=sources/gobject-introspection/1.32/}
10 MAINTAINER= pkgsrc-users@NetBSD.org
11 HOMEPAGE= http://live.gnome.org/GObjectIntrospection
12 COMMENT= GObject Introspection
13 LICENSE= gnu-gpl-v2 AND gnu-lgpl-v2
15 PKG_DESTDIR_SUPPORT= user-destdir
17 DEPENDS+= ${PYPKGPREFIX}-cElementTree-[0-9]*:../../textproc/py-cElementTree
21 USE_TOOLS+= pkg-config flex bison gmake
24 CONFIGURE_ARGS+= --disable-tests
26 PKGCONFIG_OVERRIDE+= gobject-introspection-1.0.pc.in
27 PKGCONFIG_OVERRIDE+= gobject-introspection-no-export-1.0.pc.in
30 SUBST_STAGE.timet= pre-configure
31 SUBST_FILES.timet= giscanner/ast.py
32 SUBST_FILES.timet+= tests/scanner/Foo-1.0-expected.gir \
33 tests/scanner/Regress-1.0-expected.gir
34 .include "../../mk/bsd.prefs.mk"
35 .if !empty(MACHINE_PLATFORM:MNetBSD-5.99*) || !empty(MACHINE_PLATFORM:MNetBSD-[6-9]*) || !empty(MACHINE_PLATFORM:MMirBSD)
36 SUBST_SED.timet= -e 's,@TIMET_TYPENAME@,TYPE_INT64,g'
37 SUBST_SED.timet+= -e 's,@TIMET_CTYPE@,gint64,g'
39 SUBST_SED.timet= -e 's,@TIMET_TYPENAME@,TYPE_LONG,g'
40 SUBST_SED.timet+= -e 's,@TIMET_CTYPE@,glong,g'
44 CHECK_INTERPRETER_SKIP+= lib/gobject-introspection/giscanner/*.py
46 # needed for test only
47 #.include "../../graphics/cairo/buildlink3.mk"
50 BUILDLINK_API_DEPENDS.glib2+= glib2>=2.30.0
51 .include "../../devel/glib2/buildlink3.mk"
52 .include "../../devel/libffi/buildlink3.mk"
53 .include "../../lang/python/application.mk"
54 .include "../../lang/python/extension.mk"
55 .include "../../mk/bsd.pkg.mk"