Update devel/gobject-introspection to version 1.36.0_2
[dports.git] / devel / gobject-introspection / Makefile
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 $
4
5 PORTNAME=       gobject-introspection
6 PORTVERSION=    1.36.0
7 PORTREVISION=   2
8 CATEGORIES=     devel
9 MASTER_SITES=   GNOME
10 DIST_SUBDIR=    gnome3
11
12 MAINTAINER=     gnome@FreeBSD.org
13 COMMENT=        Generate interface introspection data for GObject libraries
14
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
18
19 USES=           bison gettext gmake pathfix pkgconfig
20 USE_XZ=         yes
21 GNU_CONFIGURE=  yes
22 USE_GNOME=      gnomehier glib20 ltverhack
23 USE_PYTHON=     -2.7
24 USE_AUTOTOOLS=  libtool
25 USE_LDCONFIG=   yes
26 MAKE_JOBS_UNSAFE=yes
27 CPPFLAGS+=      -I${LOCALBASE}/include
28 LDFLAGS+=       -L${LOCALBASE}/lib
29
30 # Force it to put the .cache in ${WRKSRC} instead of ~/.cache. ports/143260
31 MAKE_ENV=       HOME=${WRKDIR}
32
33 MAN1=           g-ir-compiler.1 g-ir-generate.1 g-ir-scanner.1
34
35 post-patch:
36         @${REINPLACE_CMD} -e 's|'gcc'|'cc'|g' \
37                 ${WRKSRC}/giscanner/dumper.py
38
39 .include <bsd.port.mk>