# Created by: Joe Marcus Clarke <marcus@FreeBSD.org>
# $FreeBSD: head/devel/json-glib/Makefile 437489 2017-04-01 21:31:15Z bapt $

PORTNAME=	json-glib
PORTVERSION=	1.2.8
CATEGORIES=	devel
MASTER_SITES=	GNOME

MAINTAINER=	gnome@FreeBSD.org
COMMENT=	JSON (RFC 4627) interface for Glib

LICENSE=	LGPL21

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>
