summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--devel/json-glib/Makefile11
-rw-r--r--devel/json-glib/pkg-plist55
2 files changed, 12 insertions, 54 deletions
diff --git a/devel/json-glib/Makefile b/devel/json-glib/Makefile
index 157d3f4885a6..5bf1dd0ed213 100644
--- a/devel/json-glib/Makefile
+++ b/devel/json-glib/Makefile
@@ -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>
diff --git a/devel/json-glib/pkg-plist b/devel/json-glib/pkg-plist
index 1a0e7b2dd6dc..5dcb76721dad 100644
--- a/devel/json-glib/pkg-plist
+++ b/devel/json-glib/pkg-plist
@@ -13,63 +13,12 @@ include/json-glib-1.0/json-glib/json-types.h
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