1 # Created by: Alexander Logvinov <avl@FreeBSD.org>
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= libffi.so:${PORTSDIR}/devel/libffi
19 USES= bison gettext gmake pathfix pkgconfig tar:xz
21 USE_GNOME= gnomehier glib20 ltverhack
23 USE_AUTOTOOLS= libtool
26 CPPFLAGS+= -I${LOCALBASE}/include
27 LDFLAGS+= -L${LOCALBASE}/lib
29 # Force it to put the .cache in ${WRKSRC} instead of ~/.cache. ports/143260
30 MAKE_ENV= HOME=${WRKDIR}
33 @${REINPLACE_CMD} -e 's|'gcc'|'cc'|g' \
34 ${WRKSRC}/giscanner/dumper.py
36 .include <bsd.port.mk>