1 # New ports collection makefile for: gobject-introspection
2 # Date created: 19 July 2009
3 # Whom: Alexander Logvinov <avl@FreeBSD.org>
5 # $FreeBSD: ports/devel/gobject-introspection/Makefile,v 1.23 2012/12/10 19:56:30 svnexp Exp $
6 # $MCom: ports/devel/gobject-introspection/Makefile,v 1.39 2011/06/11 19:51:15 mezz Exp $
9 PORTNAME= gobject-introspection
16 MAINTAINER= gnome@FreeBSD.org
17 COMMENT= Generate interface introspection data for GObject libraries
19 LIB_DEPENDS= ffi.5:${PORTSDIR}/devel/libffi
24 USE_GNOME= gnomehack glib20 ltverhack
28 USE_AUTOTOOLS= libtool
31 CPPFLAGS+= -I${LOCALBASE}/include
32 LDFLAGS+= -L${LOCALBASE}/lib
33 CONFIGURE_ARGS= --disable-tests
35 # Force it to put the .cache in ${WRKSRC} instead of ~/.cache. ports/143260
36 MAKE_ENV= HOME=${WRKDIR}
38 MAN1= g-ir-compiler.1 g-ir-generate.1 g-ir-scanner.1
42 @${REINPLACE_CMD} -e "s|'cc'|'${CC:Q:C/[[:space:]]+/', '/g}'|g" \
43 ${WRKSRC}/giscanner/sourcescanner.py
45 .include <bsd.port.pre.mk>
48 BROKEN= Does not compile on arm
51 .include <bsd.port.post.mk>