freebsd-ports/devel/json-glib/Makefile
Pietro Cerutti 4cb5ce4224 devel/json-glib: OPTIONalize generation of introspection data (ON by default)
Although this might seem minor, it allows not to depend on
gobject-introspection, which in turn depends on cairo, which needs llvm to
build. Turning this option OFF saves bit time on a typical poudriere run.

Approved by:	kwm
2016-04-04 13:44:36 +00:00

29 lines
619 B
Makefile

# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD$
PORTNAME= json-glib
PORTVERSION= 1.1.2
CATEGORIES= devel
MASTER_SITES= GNOME
MAINTAINER= gnome@FreeBSD.org
COMMENT= JSON (RFC 4627) interface for Glib
OPTIONS_DEFINE= GIR
OPTIONS_DEFAULT=GIR
OPTIONS_SUB= yes
GIR_DESC= Build introspection data
GIR_USE= gnome=introspection
GIR_CONFIGURE_ENABLE=introspection
USES= gmake libtool pathfix pkgconfig tar:xz
USE_GNOME= glib20 gnomeprefix
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
INSTALL_TARGET= install-strip
PORTDOCS= *
.include <bsd.port.mk>