Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Apr 2016 13:44:36 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r412513 - head/devel/json-glib
Message-ID:  <201604041344.u34Dia6s079278@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gahr
Date: Mon Apr  4 13:44:36 2016
New Revision: 412513
URL: https://svnweb.freebsd.org/changeset/ports/412513

Log:
  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

Modified:
  head/devel/json-glib/Makefile
  head/devel/json-glib/pkg-plist

Modified: head/devel/json-glib/Makefile
==============================================================================
--- head/devel/json-glib/Makefile	Mon Apr  4 13:39:54 2016	(r412512)
+++ head/devel/json-glib/Makefile	Mon Apr  4 13:44:36 2016	(r412513)
@@ -9,12 +9,21 @@ 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 introspection
+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>

Modified: head/devel/json-glib/pkg-plist
==============================================================================
--- head/devel/json-glib/pkg-plist	Mon Apr  4 13:39:54 2016	(r412512)
+++ head/devel/json-glib/pkg-plist	Mon Apr  4 13:44:36 2016	(r412513)
@@ -13,63 +13,12 @@ include/json-glib-1.0/json-glib/json-typ
 include/json-glib-1.0/json-glib/json-utils.h
 include/json-glib-1.0/json-glib/json-version-macros.h
 include/json-glib-1.0/json-glib/json-version.h
-lib/girepository-1.0/Json-1.0.typelib
+%%GIR%%lib/girepository-1.0/Json-1.0.typelib
+%%GIR%%share/gir-1.0/Json-1.0.gir
 lib/libjson-glib-1.0.so
 lib/libjson-glib-1.0.so.0
 lib/libjson-glib-1.0.so.0.102.0
 libdata/pkgconfig/json-glib-1.0.pc
-%%DOCSDIR%%/JsonBuilder.html
-%%DOCSDIR%%/JsonGenerator.html
-%%DOCSDIR%%/JsonParser.html
-%%DOCSDIR%%/JsonPath.html
-%%DOCSDIR%%/JsonReader.html
-%%DOCSDIR%%/annotation-glossary.html
-%%DOCSDIR%%/ch01.html
-%%DOCSDIR%%/ch02.html
-%%DOCSDIR%%/ch03.html
-%%DOCSDIR%%/ch04.html
-%%DOCSDIR%%/ch06.html
-%%DOCSDIR%%/home.png
-%%DOCSDIR%%/index.html
-%%DOCSDIR%%/index.sgml
-%%DOCSDIR%%/ix01.html
-%%DOCSDIR%%/ix02.html
-%%DOCSDIR%%/ix03.html
-%%DOCSDIR%%/ix04.html
-%%DOCSDIR%%/ix05.html
-%%DOCSDIR%%/ix06.html
-%%DOCSDIR%%/ix07.html
-%%DOCSDIR%%/ix08.html
-%%DOCSDIR%%/ix09.html
-%%DOCSDIR%%/ix10.html
-%%DOCSDIR%%/ix11.html
-%%DOCSDIR%%/json-advanced.html
-%%DOCSDIR%%/json-base.html
-%%DOCSDIR%%/json-format-tool.html
-%%DOCSDIR%%/json-glib-Boxed-Types-Serialization.html
-%%DOCSDIR%%/json-glib-GObject-Serialization.html
-%%DOCSDIR%%/json-glib-JSON-Array.html
-%%DOCSDIR%%/json-glib-JSON-GVariant-Integration.html
-%%DOCSDIR%%/json-glib-JSON-Node.html
-%%DOCSDIR%%/json-glib-JSON-Object.html
-%%DOCSDIR%%/json-glib-Serializable-Interface.html
-%%DOCSDIR%%/json-glib-Utility-API.html
-%%DOCSDIR%%/json-glib-Versioning-information.html
-%%DOCSDIR%%/json-glib.devhelp2
-%%DOCSDIR%%/json-glib.html
-%%DOCSDIR%%/json-streams.html
-%%DOCSDIR%%/json-tools.html
-%%DOCSDIR%%/json-validate-tool.html
-%%DOCSDIR%%/left-insensitive.png
-%%DOCSDIR%%/left.png
-%%DOCSDIR%%/license.html
-%%DOCSDIR%%/right-insensitive.png
-%%DOCSDIR%%/right.png
-%%DOCSDIR%%/style.css
-%%DOCSDIR%%/tools.html
-%%DOCSDIR%%/up-insensitive.png
-%%DOCSDIR%%/up.png
-share/gir-1.0/Json-1.0.gir
 share/locale/as/LC_MESSAGES/json-glib-1.0.mo
 share/locale/bg/LC_MESSAGES/json-glib-1.0.mo
 share/locale/bn_IN/LC_MESSAGES/json-glib-1.0.mo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604041344.u34Dia6s079278>