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
20 USE_XZ=         yes
21 GNU_CONFIGURE=  yes
22 USE_GNOME=      gnomehier glib20 ltverhack
23 USE_PYTHON=     2
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 post-patch:
34         @${REINPLACE_CMD} -e 's|'gcc'|'cc'|g' \
35                 ${WRKSRC}/giscanner/dumper.py
36
37 .include <bsd.port.mk>