Tweak devel/gobject-introspection version 1.36.0_2
[dports.git] / devel / gobject-introspection / Makefile
1 # Created by: Alexander Logvinov <avl@FreeBSD.org>
2 # $FreeBSD$
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=    libffi.so:${PORTSDIR}/devel/libffi
18
19 USES=           bison gettext gmake pathfix pkgconfig tar:xz
20 GNU_CONFIGURE=  yes
21 USE_GNOME=      gnomehier glib20 ltverhack
22 USE_PYTHON=     2
23 USE_AUTOTOOLS=  libtool
24 USE_LDCONFIG=   yes
25 MAKE_JOBS_UNSAFE=yes
26 CPPFLAGS+=      -I${LOCALBASE}/include
27 LDFLAGS+=       -L${LOCALBASE}/lib
28
29 # Force it to put the .cache in ${WRKSRC} instead of ~/.cache. ports/143260
30 MAKE_ENV=       HOME=${WRKDIR}
31
32 post-patch:
33         @${REINPLACE_CMD} -e 's|'gcc'|'cc'|g' \
34                 ${WRKSRC}/giscanner/dumper.py
35
36 .include <bsd.port.mk>