1 # Created by: Alexander Logvinov <avl@FreeBSD.org>
2 # $FreeBSD: devel/gobject-introspection/Makefile 324926 2013-08-18 15:37:57Z kwm $
3 # $MCom: ports/trunk/devel/gobject-introspection/Makefile 18652 2013-08-18 15:14:13Z kwm $
5 PORTNAME= gobject-introspection
12 MAINTAINER= gnome@FreeBSD.org
13 COMMENT= Generate interface introspection data for GObject libraries
15 # we need cairo otherwise the generated Cairo gir is broken
16 BUILD_DEPENDS= cairo-trace:${PORTSDIR}/graphics/cairo
17 LIB_DEPENDS= ffi:${PORTSDIR}/devel/libffi
19 USES= bison gettext gmake pathfix pkgconfig
22 USE_GNOME= gnomehier glib20 ltverhack
24 USE_AUTOTOOLS= libtool
27 CPPFLAGS+= -I${LOCALBASE}/include
28 LDFLAGS+= -L${LOCALBASE}/lib
30 # Force it to put the .cache in ${WRKSRC} instead of ~/.cache. ports/143260
31 MAKE_ENV= HOME=${WRKDIR}
33 MAN1= g-ir-compiler.1 g-ir-generate.1 g-ir-scanner.1
36 @${REINPLACE_CMD} -e 's|'gcc'|'cc'|g' \
37 ${WRKSRC}/giscanner/dumper.py
39 .include <bsd.port.mk>