diff options
Diffstat (limited to 'devel/gobject-introspection/Makefile')
-rw-r--r-- | devel/gobject-introspection/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/devel/gobject-introspection/Makefile b/devel/gobject-introspection/Makefile new file mode 100644 index 000000000..9e5debd44 --- /dev/null +++ b/devel/gobject-introspection/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: gobject-introspection +# Date created: 19 July 2009 +# Whom: Alexander Logvinov <avl@FreeBSD.org> +# +# $FreeBSD$ +# $MCom: ports/devel/gobject-introspection/Makefile,v 1.39 2011/06/11 19:51:15 mezz Exp $ +# + +PORTNAME= gobject-introspection +PORTVERSION= 1.29.17 +CATEGORIES= devel +MASTER_SITES= GNOME +DIST_SUBDIR= gnome3 + +MAINTAINER= gnome@FreeBSD.org +COMMENT= Generate interface introspection data for GObject libraries + +LIB_DEPENDS= ffi.5:${PORTSDIR}/devel/libffi \ + cairo.2:${PORTSDIR}/graphics/cairo + +USE_XZ= yes +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_GNOME= gnomehack glib20 ltverhack +USE_PYTHON= -2.7 +USE_BISON= build +USE_GETTEXT= yes +USE_AUTOTOOLS= libtool +USE_LDCONFIG= yes +MAKE_JOBS_UNSAFE=yes +CPPFLAGS= -I${LOCALBASE}/include +CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" +CONFIGURE_ARGS= --disable-tests + +# Force it to put the .cache in ${WRKSRC} instead of ~/.cache. ports/143260 +MAKE_ENV= HOME=${WRKDIR} + +MAN1= g-ir-compiler.1 g-ir-generate.1 g-ir-scanner.1 + +.include <bsd.port.pre.mk> + +post-patch: + @${REINPLACE_CMD} -e 's|'cc'|'${CC:Q}'|g' \ + ${WRKSRC}/giscanner/sourcescanner.py + +.include <bsd.port.post.mk> |