pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/json-c
Module Name: pkgsrc
Committed By: khorben
Date: Mon Jan 9 18:16:14 UTC 2023
Modified Files:
pkgsrc/textproc/json-c: Makefile PLIST
Added Files:
pkgsrc/textproc/json-c: options.mk
Log Message:
json-c: introduce an option to build the documentation
The option is left off by default; hence no functional change nor
PKGREVISION bump necessary.
Tested on NetBSD/amd64.
To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/textproc/json-c/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/textproc/json-c/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/textproc/json-c/options.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/json-c/Makefile
diff -u pkgsrc/textproc/json-c/Makefile:1.18 pkgsrc/textproc/json-c/Makefile:1.19
--- pkgsrc/textproc/json-c/Makefile:1.18 Wed Apr 20 20:32:32 2022
+++ pkgsrc/textproc/json-c/Makefile Mon Jan 9 18:16:14 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2022/04/20 20:32:32 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2023/01/09 18:16:14 khorben Exp $
DISTNAME= json-c-0.16
CATEGORIES= textproc
@@ -12,9 +12,10 @@ LICENSE= mit
USE_CMAKE= yes
CMAKE_ARGS+= -DCMAKE_BUILD_TYPE="Release"
-CMAKE_ARGS+= -DBUILD_DOCUMENTATION=OFF
CMAKE_ARGS+= -DDISABLE_WERROR=ON
PKGCONFIG_OVERRIDE+= json-c.pc.in
+.include "options.mk"
+
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/textproc/json-c/PLIST
diff -u pkgsrc/textproc/json-c/PLIST:1.8 pkgsrc/textproc/json-c/PLIST:1.9
--- pkgsrc/textproc/json-c/PLIST:1.8 Wed Apr 20 20:32:32 2022
+++ pkgsrc/textproc/json-c/PLIST Mon Jan 9 18:16:14 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2022/04/20 20:32:32 wiz Exp $
+@comment $NetBSD: PLIST,v 1.9 2023/01/09 18:16:14 khorben Exp $
include/json-c/arraylist.h
include/json-c/debug.h
include/json-c/json.h
@@ -22,3 +22,109 @@ lib/libjson-c.so
lib/libjson-c.so.5
lib/libjson-c.so.5.2.0
lib/pkgconfig/json-c.pc
+${PLIST.doc}share/doc/json-c/html/README_8md.html
+${PLIST.doc}share/doc/json-c/html/annotated.html
+${PLIST.doc}share/doc/json-c/html/arraylist_8h.html
+${PLIST.doc}share/doc/json-c/html/bc_s.png
+${PLIST.doc}share/doc/json-c/html/bc_sd.png
+${PLIST.doc}share/doc/json-c/html/bdwn.png
+${PLIST.doc}share/doc/json-c/html/classes.html
+${PLIST.doc}share/doc/json-c/html/closed.png
+${PLIST.doc}share/doc/json-c/html/deprecated.html
+${PLIST.doc}share/doc/json-c/html/dir_b62156a74b5a818be0c2ef9f85294b95.html
+${PLIST.doc}share/doc/json-c/html/doc.png
+${PLIST.doc}share/doc/json-c/html/docd.png
+${PLIST.doc}share/doc/json-c/html/doxygen.css
+${PLIST.doc}share/doc/json-c/html/doxygen.png
+${PLIST.doc}share/doc/json-c/html/doxygen.svg
+${PLIST.doc}share/doc/json-c/html/dynsections.js
+${PLIST.doc}share/doc/json-c/html/files.html
+${PLIST.doc}share/doc/json-c/html/folderclosed.png
+${PLIST.doc}share/doc/json-c/html/folderopen.png
+${PLIST.doc}share/doc/json-c/html/ftv2blank.png
+${PLIST.doc}share/doc/json-c/html/ftv2cl.png
+${PLIST.doc}share/doc/json-c/html/ftv2doc.png
+${PLIST.doc}share/doc/json-c/html/ftv2folderclosed.png
+${PLIST.doc}share/doc/json-c/html/ftv2folderopen.png
+${PLIST.doc}share/doc/json-c/html/ftv2lastnode.png
+${PLIST.doc}share/doc/json-c/html/ftv2link.png
+${PLIST.doc}share/doc/json-c/html/ftv2mlastnode.png
+${PLIST.doc}share/doc/json-c/html/ftv2mnode.png
+${PLIST.doc}share/doc/json-c/html/ftv2mo.png
+${PLIST.doc}share/doc/json-c/html/ftv2node.png
+${PLIST.doc}share/doc/json-c/html/ftv2ns.png
+${PLIST.doc}share/doc/json-c/html/ftv2plastnode.png
+${PLIST.doc}share/doc/json-c/html/ftv2pnode.png
+${PLIST.doc}share/doc/json-c/html/ftv2splitbar.png
+${PLIST.doc}share/doc/json-c/html/ftv2vertline.png
+${PLIST.doc}share/doc/json-c/html/functions.html
+${PLIST.doc}share/doc/json-c/html/functions_vars.html
+${PLIST.doc}share/doc/json-c/html/globals.html
+${PLIST.doc}share/doc/json-c/html/globals_0x6a.html
+${PLIST.doc}share/doc/json-c/html/globals_0x6c.html
+${PLIST.doc}share/doc/json-c/html/globals_0x70.html
+${PLIST.doc}share/doc/json-c/html/globals_0x73.html
+${PLIST.doc}share/doc/json-c/html/globals_defs.html
+${PLIST.doc}share/doc/json-c/html/globals_enum.html
+${PLIST.doc}share/doc/json-c/html/globals_eval.html
+${PLIST.doc}share/doc/json-c/html/globals_func.html
+${PLIST.doc}share/doc/json-c/html/globals_j.html
+${PLIST.doc}share/doc/json-c/html/globals_l.html
+${PLIST.doc}share/doc/json-c/html/globals_p.html
+${PLIST.doc}share/doc/json-c/html/globals_s.html
+${PLIST.doc}share/doc/json-c/html/globals_type.html
+${PLIST.doc}share/doc/json-c/html/globals_vars.html
+${PLIST.doc}share/doc/json-c/html/index.html
+${PLIST.doc}share/doc/json-c/html/issues__closed__for__0_813_8md.html
+${PLIST.doc}share/doc/json-c/html/issues__closed__for__0_814_8md.html
+${PLIST.doc}share/doc/json-c/html/issues__closed__for__0_815_8md.html
+${PLIST.doc}share/doc/json-c/html/issues__closed__for__0_816_8md.html
+${PLIST.doc}share/doc/json-c/html/jquery.js
+${PLIST.doc}share/doc/json-c/html/json_8h.html
+${PLIST.doc}share/doc/json-c/html/json__c__version_8h.html
+${PLIST.doc}share/doc/json-c/html/json__inttypes_8h.html
+${PLIST.doc}share/doc/json-c/html/json__object_8h.html
+${PLIST.doc}share/doc/json-c/html/json__object__iterator_8h.html
+${PLIST.doc}share/doc/json-c/html/json__pointer_8h.html
+${PLIST.doc}share/doc/json-c/html/json__tokener_8h.html
+${PLIST.doc}share/doc/json-c/html/json__types_8h.html
+${PLIST.doc}share/doc/json-c/html/json__util_8h.html
+${PLIST.doc}share/doc/json-c/html/json__visit_8h.html
+${PLIST.doc}share/doc/json-c/html/linkhash_8h.html
+${PLIST.doc}share/doc/json-c/html/md_README.html
+${PLIST.doc}share/doc/json-c/html/md_issues_closed_for_0.html
+${PLIST.doc}share/doc/json-c/html/md_issues_closed_for_0_13.html
+${PLIST.doc}share/doc/json-c/html/md_issues_closed_for_0_14.html
+${PLIST.doc}share/doc/json-c/html/md_issues_closed_for_0_15.html
+${PLIST.doc}share/doc/json-c/html/md_issues_closed_for_0_16.html
+${PLIST.doc}share/doc/json-c/html/menu.js
+${PLIST.doc}share/doc/json-c/html/menudata.js
+${PLIST.doc}share/doc/json-c/html/nav_f.png
+${PLIST.doc}share/doc/json-c/html/nav_fd.png
+${PLIST.doc}share/doc/json-c/html/nav_g.png
+${PLIST.doc}share/doc/json-c/html/nav_h.png
+${PLIST.doc}share/doc/json-c/html/nav_hd.png
+${PLIST.doc}share/doc/json-c/html/open.png
+${PLIST.doc}share/doc/json-c/html/pages.html
+${PLIST.doc}share/doc/json-c/html/printbuf_8h.html
+${PLIST.doc}share/doc/json-c/html/splitbar.png
+${PLIST.doc}share/doc/json-c/html/splitbard.png
+${PLIST.doc}share/doc/json-c/html/structarray__list.html
+${PLIST.doc}share/doc/json-c/html/structjson__object__iter.html
+${PLIST.doc}share/doc/json-c/html/structjson__object__iterator.html
+${PLIST.doc}share/doc/json-c/html/structjson__tokener.html
+${PLIST.doc}share/doc/json-c/html/structjson__tokener__srec.html
+${PLIST.doc}share/doc/json-c/html/structlh__entry.html
+${PLIST.doc}share/doc/json-c/html/structlh__table.html
+${PLIST.doc}share/doc/json-c/html/structprintbuf.html
+${PLIST.doc}share/doc/json-c/html/sync_off.png
+${PLIST.doc}share/doc/json-c/html/sync_on.png
+${PLIST.doc}share/doc/json-c/html/tab_a.png
+${PLIST.doc}share/doc/json-c/html/tab_ad.png
+${PLIST.doc}share/doc/json-c/html/tab_b.png
+${PLIST.doc}share/doc/json-c/html/tab_bd.png
+${PLIST.doc}share/doc/json-c/html/tab_h.png
+${PLIST.doc}share/doc/json-c/html/tab_hd.png
+${PLIST.doc}share/doc/json-c/html/tab_s.png
+${PLIST.doc}share/doc/json-c/html/tab_sd.png
+${PLIST.doc}share/doc/json-c/html/tabs.css
Added files:
Index: pkgsrc/textproc/json-c/options.mk
diff -u /dev/null pkgsrc/textproc/json-c/options.mk:1.1
--- /dev/null Mon Jan 9 18:16:14 2023
+++ pkgsrc/textproc/json-c/options.mk Mon Jan 9 18:16:14 2023
@@ -0,0 +1,19 @@
+# $NetBSD: options.mk,v 1.1 2023/01/09 18:16:14 khorben Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.json-c
+PKG_SUPPORTED_OPTIONS= doc
+PLIST_VARS+= doc
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mdoc)
+USE_TOOLS+= pax:build
+DEPENDS+= doxygen>=1.8.13:../../devel/doxygen
+BUILD_TARGET+= doc
+PLIST.doc= yes
+
+INSTALLATION_DIRS+= share/doc/json-c
+
+post-install:
+ cd ${WRKSRC}/doc; ${PAX} -rw html ${DESTDIR}${PREFIX}/share/doc/json-c
+.endif
Home |
Main Index |
Thread Index |
Old Index