Tweak devel/gobject-introspection version 0.10.8_3
[dports.git] / devel / gobject-introspection / Makefile
1 # New ports collection makefile for:    gobject-introspection
2 # Date created:                         19 July 2009
3 # Whom:                                 Alexander Logvinov <avl@FreeBSD.org>
4 #
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 $
7 #
8
9 PORTNAME=       gobject-introspection
10 PORTVERSION=    0.10.8
11 PORTREVISION=   3
12 CATEGORIES=     devel
13 MASTER_SITES=   GNOME
14 DIST_SUBDIR=    gnome3
15
16 MAINTAINER=     gnome@FreeBSD.org
17 COMMENT=        Generate interface introspection data for GObject libraries
18
19 LIB_DEPENDS=    ffi.5:${PORTSDIR}/devel/libffi
20
21 USE_BZIP2=      yes
22 GNU_CONFIGURE=  yes
23 USE_GMAKE=      yes
24 USE_GNOME=      gnomehack glib20 ltverhack
25 USE_PYTHON=     -2.7
26 USE_BISON=      build
27 USE_GETTEXT=    yes
28 USE_AUTOTOOLS=  libtool
29 USE_LDCONFIG=   yes
30 MAKE_JOBS_UNSAFE=yes
31 CPPFLAGS+=      -I${LOCALBASE}/include
32 LDFLAGS+=       -L${LOCALBASE}/lib
33 CONFIGURE_ARGS= --disable-tests
34
35 # Force it to put the .cache in ${WRKSRC} instead of ~/.cache. ports/143260
36 MAKE_ENV=       HOME=${WRKDIR}
37
38 MAN1=           g-ir-compiler.1 g-ir-generate.1 g-ir-scanner.1
39
40
41 post-patch:
42         @${REINPLACE_CMD} -e "s|'cc'|'${CC:Q:C/[[:space:]]+/', '/g}'|g" \
43                 ${WRKSRC}/giscanner/sourcescanner.py
44
45 .include <bsd.port.pre.mk>
46
47 .if ${ARCH} == "arm"
48 BROKEN=         Does not compile on arm
49 .endif
50
51 .include <bsd.port.post.mk>