diff options
author | wiz <wiz> | 2014-12-30 15:50:28 +0000 |
---|---|---|
committer | wiz <wiz> | 2014-12-30 15:50:28 +0000 |
commit | ab8d8bfc1435a92e2b96b721630190bbf1596596 (patch) | |
tree | cee102c48f8ed93da3f66c5eafd621ce0489bf04 /textproc | |
parent | 2ed182e83c276092f36202faf70ac5365e4a42f0 (diff) | |
download | pkgsrc-ab8d8bfc1435a92e2b96b721630190bbf1596596.tar.gz |
Import qore-json-module-1.4nb4 as textproc/qore-json-module, packaged
for wip by nros.
JSON module for the Qore language that provides (de)serialization to
JSON and RPC support.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/qore-json-module/DESCR | 2 | ||||
-rw-r--r-- | textproc/qore-json-module/Makefile | 39 | ||||
-rw-r--r-- | textproc/qore-json-module/PLIST | 206 | ||||
-rw-r--r-- | textproc/qore-json-module/buildlink3.mk | 14 | ||||
-rw-r--r-- | textproc/qore-json-module/distinfo | 7 | ||||
-rw-r--r-- | textproc/qore-json-module/options.mk | 12 | ||||
-rw-r--r-- | textproc/qore-json-module/patches/patch-configure | 21 | ||||
-rw-r--r-- | textproc/qore-json-module/patches/patch-src_Makefile.in | 13 |
8 files changed, 314 insertions, 0 deletions
diff --git a/textproc/qore-json-module/DESCR b/textproc/qore-json-module/DESCR new file mode 100644 index 00000000000..54a4983d5b7 --- /dev/null +++ b/textproc/qore-json-module/DESCR @@ -0,0 +1,2 @@ +JSON module for the Qore language that provides (de)serialization to +JSON and RPC support. diff --git a/textproc/qore-json-module/Makefile b/textproc/qore-json-module/Makefile new file mode 100644 index 00000000000..ccf196184dd --- /dev/null +++ b/textproc/qore-json-module/Makefile @@ -0,0 +1,39 @@ +# $NetBSD: Makefile,v 1.1 2014/12/30 15:50:28 wiz Exp $ + +DISTNAME= qore-json-module-1.4 +PKGREVISION= 4 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qore/} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= nros@users.sourceforge.net +COMMENT= JSON module for Qore +HOMEPAGE= http://www.qore.org/ +LICENSE= gnu-lgpl-v2.1 OR mit + +GNU_CONFIGURE= yes +USE_LIBTOOL= yes +USE_LANGUAGES= c c++ +USE_TOOLS+= gmake pax +PTHREAD_OPTS+= native + + +#This is needed in order to comply the with MIT license and binary distribution +#Install docs +INSTALLATION_DIRS+= share/doc/${PKGBASE} +post-install: + ${INSTALL_DATA} ${WRKSRC}/COPYING.LGPL \ + ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} + ${INSTALL_DATA} ${WRKSRC}/COPYING.MIT \ + ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} + cd ${WRKSRC}/docs/ && ${PAX} -wr * \ + ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} + ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} \ + ${DESTDIR}${PREFIX}/share/doc/${PKGBASE} + +.include "../../lang/qore/module.mk" +.include "options.mk" + +.include "../../mk/pthread.buildlink3.mk" +.include "../../lang/qore/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/qore-json-module/PLIST b/textproc/qore-json-module/PLIST new file mode 100644 index 00000000000..75f3159983e --- /dev/null +++ b/textproc/qore-json-module/PLIST @@ -0,0 +1,206 @@ +@comment $NetBSD: PLIST,v 1.1 2014/12/30 15:50:28 wiz Exp $ +${QORE_MODULE_DIR}/${QORE_VERSION}/JsonRpcHandler.qm +${QORE_MODULE_DIR}/json-api-${QORE_LATEST_MODULE_API}.qmod +share/doc/qore-json-module/JsonRpcHandler/html/_json_rpc_handler_8qm_8dox_8h_source.html +share/doc/qore-json-module/JsonRpcHandler/html/annotated.html +share/doc/qore-json-module/JsonRpcHandler/html/annotated.js +share/doc/qore-json-module/JsonRpcHandler/html/bc_s.png +share/doc/qore-json-module/JsonRpcHandler/html/bdwn.png +share/doc/qore-json-module/JsonRpcHandler/html/class_json_rpc_handler_1_1_json_rpc_handler-members.html +share/doc/qore-json-module/JsonRpcHandler/html/class_json_rpc_handler_1_1_json_rpc_handler.html +share/doc/qore-json-module/JsonRpcHandler/html/class_json_rpc_handler_1_1_json_rpc_handler.js +share/doc/qore-json-module/JsonRpcHandler/html/classes.html +share/doc/qore-json-module/JsonRpcHandler/html/closed.png +share/doc/qore-json-module/JsonRpcHandler/html/dir_49e56c817e5e54854c35e136979f97ca.html +share/doc/qore-json-module/JsonRpcHandler/html/dir_49e56c817e5e54854c35e136979f97ca_dep.map +share/doc/qore-json-module/JsonRpcHandler/html/dir_49e56c817e5e54854c35e136979f97ca_dep.md5 +share/doc/qore-json-module/JsonRpcHandler/html/dir_49e56c817e5e54854c35e136979f97ca_dep.png +share/doc/qore-json-module/JsonRpcHandler/html/dir_f0c12ab8496b9632c5b71797b5466ad3.html +share/doc/qore-json-module/JsonRpcHandler/html/dir_f0c12ab8496b9632c5b71797b5466ad3_dep.map +share/doc/qore-json-module/JsonRpcHandler/html/dir_f0c12ab8496b9632c5b71797b5466ad3_dep.md5 +share/doc/qore-json-module/JsonRpcHandler/html/dir_f0c12ab8496b9632c5b71797b5466ad3_dep.png +share/doc/qore-json-module/JsonRpcHandler/html/doxygen.css +share/doc/qore-json-module/JsonRpcHandler/html/doxygen.png +share/doc/qore-json-module/JsonRpcHandler/html/dynsections.js +share/doc/qore-json-module/JsonRpcHandler/html/ftv2blank.png +share/doc/qore-json-module/JsonRpcHandler/html/ftv2cl.png +share/doc/qore-json-module/JsonRpcHandler/html/ftv2doc.png +share/doc/qore-json-module/JsonRpcHandler/html/ftv2folderclosed.png +share/doc/qore-json-module/JsonRpcHandler/html/ftv2folderopen.png +share/doc/qore-json-module/JsonRpcHandler/html/ftv2lastnode.png +share/doc/qore-json-module/JsonRpcHandler/html/ftv2link.png +share/doc/qore-json-module/JsonRpcHandler/html/ftv2mlastnode.png +share/doc/qore-json-module/JsonRpcHandler/html/ftv2mnode.png +share/doc/qore-json-module/JsonRpcHandler/html/ftv2mo.png +share/doc/qore-json-module/JsonRpcHandler/html/ftv2node.png +share/doc/qore-json-module/JsonRpcHandler/html/ftv2ns.png +share/doc/qore-json-module/JsonRpcHandler/html/ftv2plastnode.png +share/doc/qore-json-module/JsonRpcHandler/html/ftv2pnode.png +share/doc/qore-json-module/JsonRpcHandler/html/ftv2splitbar.png +share/doc/qore-json-module/JsonRpcHandler/html/ftv2vertline.png +share/doc/qore-json-module/JsonRpcHandler/html/functions.html +share/doc/qore-json-module/JsonRpcHandler/html/functions_func.html +share/doc/qore-json-module/JsonRpcHandler/html/functions_vars.html +share/doc/qore-json-module/JsonRpcHandler/html/graph_legend.html +share/doc/qore-json-module/JsonRpcHandler/html/graph_legend.md5 +share/doc/qore-json-module/JsonRpcHandler/html/graph_legend.png +share/doc/qore-json-module/JsonRpcHandler/html/index.html +share/doc/qore-json-module/JsonRpcHandler/html/index.qhp +share/doc/qore-json-module/JsonRpcHandler/html/jquery.js +share/doc/qore-json-module/JsonRpcHandler/html/namespace_json_rpc_handler.html +share/doc/qore-json-module/JsonRpcHandler/html/namespace_json_rpc_handler.js +share/doc/qore-json-module/JsonRpcHandler/html/namespaces.html +share/doc/qore-json-module/JsonRpcHandler/html/namespaces.js +share/doc/qore-json-module/JsonRpcHandler/html/nav_f.png +share/doc/qore-json-module/JsonRpcHandler/html/nav_g.png +share/doc/qore-json-module/JsonRpcHandler/html/nav_h.png +share/doc/qore-json-module/JsonRpcHandler/html/navtree.css +share/doc/qore-json-module/JsonRpcHandler/html/navtree.js +share/doc/qore-json-module/JsonRpcHandler/html/navtreeindex0.js +share/doc/qore-json-module/JsonRpcHandler/html/open.png +share/doc/qore-json-module/JsonRpcHandler/html/resize.js +share/doc/qore-json-module/JsonRpcHandler/html/search/all_61.html +share/doc/qore-json-module/JsonRpcHandler/html/search/all_61.js +share/doc/qore-json-module/JsonRpcHandler/html/search/all_63.html +share/doc/qore-json-module/JsonRpcHandler/html/search/all_63.js +share/doc/qore-json-module/JsonRpcHandler/html/search/all_67.html +share/doc/qore-json-module/JsonRpcHandler/html/search/all_67.js +share/doc/qore-json-module/JsonRpcHandler/html/search/all_69.html +share/doc/qore-json-module/JsonRpcHandler/html/search/all_69.js +share/doc/qore-json-module/JsonRpcHandler/html/search/all_6a.html +share/doc/qore-json-module/JsonRpcHandler/html/search/all_6a.js +share/doc/qore-json-module/JsonRpcHandler/html/search/all_73.html +share/doc/qore-json-module/JsonRpcHandler/html/search/all_73.js +share/doc/qore-json-module/JsonRpcHandler/html/search/all_76.html +share/doc/qore-json-module/JsonRpcHandler/html/search/all_76.js +share/doc/qore-json-module/JsonRpcHandler/html/search/classes_6a.html +share/doc/qore-json-module/JsonRpcHandler/html/search/classes_6a.js +share/doc/qore-json-module/JsonRpcHandler/html/search/close.png +share/doc/qore-json-module/JsonRpcHandler/html/search/functions_61.html +share/doc/qore-json-module/JsonRpcHandler/html/search/functions_61.js +share/doc/qore-json-module/JsonRpcHandler/html/search/functions_63.html +share/doc/qore-json-module/JsonRpcHandler/html/search/functions_63.js +share/doc/qore-json-module/JsonRpcHandler/html/search/functions_67.html +share/doc/qore-json-module/JsonRpcHandler/html/search/functions_67.js +share/doc/qore-json-module/JsonRpcHandler/html/search/functions_73.html +share/doc/qore-json-module/JsonRpcHandler/html/search/functions_73.js +share/doc/qore-json-module/JsonRpcHandler/html/search/mag_sel.png +share/doc/qore-json-module/JsonRpcHandler/html/search/namespaces_6a.html +share/doc/qore-json-module/JsonRpcHandler/html/search/namespaces_6a.js +share/doc/qore-json-module/JsonRpcHandler/html/search/nomatches.html +share/doc/qore-json-module/JsonRpcHandler/html/search/pages_6a.html +share/doc/qore-json-module/JsonRpcHandler/html/search/pages_6a.js +share/doc/qore-json-module/JsonRpcHandler/html/search/search.css +share/doc/qore-json-module/JsonRpcHandler/html/search/search.js +share/doc/qore-json-module/JsonRpcHandler/html/search/search_l.png +share/doc/qore-json-module/JsonRpcHandler/html/search/search_m.png +share/doc/qore-json-module/JsonRpcHandler/html/search/search_r.png +share/doc/qore-json-module/JsonRpcHandler/html/search/variables_69.html +share/doc/qore-json-module/JsonRpcHandler/html/search/variables_69.js +share/doc/qore-json-module/JsonRpcHandler/html/search/variables_76.html +share/doc/qore-json-module/JsonRpcHandler/html/search/variables_76.js +share/doc/qore-json-module/JsonRpcHandler/html/sync_off.png +share/doc/qore-json-module/JsonRpcHandler/html/sync_on.png +share/doc/qore-json-module/JsonRpcHandler/html/tab_a.png +share/doc/qore-json-module/JsonRpcHandler/html/tab_b.png +share/doc/qore-json-module/JsonRpcHandler/html/tab_h.png +share/doc/qore-json-module/JsonRpcHandler/html/tab_s.png +share/doc/qore-json-module/JsonRpcHandler/html/tabs.css +share/doc/qore-json-module/json/html/annotated.html +share/doc/qore-json-module/json/html/annotated.js +share/doc/qore-json-module/json/html/bc_s.png +share/doc/qore-json-module/json/html/bdwn.png +share/doc/qore-json-module/json/html/classQore_1_1Json_1_1JsonRpcClient-members.html +share/doc/qore-json-module/json/html/classQore_1_1Json_1_1JsonRpcClient.html +share/doc/qore-json-module/json/html/classQore_1_1Json_1_1JsonRpcClient.js +share/doc/qore-json-module/json/html/classes.html +share/doc/qore-json-module/json/html/closed.png +share/doc/qore-json-module/json/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html +share/doc/qore-json-module/json/html/doxygen.css +share/doc/qore-json-module/json/html/doxygen.png +share/doc/qore-json-module/json/html/dynsections.js +share/doc/qore-json-module/json/html/ftv2blank.png +share/doc/qore-json-module/json/html/ftv2cl.png +share/doc/qore-json-module/json/html/ftv2doc.png +share/doc/qore-json-module/json/html/ftv2folderclosed.png +share/doc/qore-json-module/json/html/ftv2folderopen.png +share/doc/qore-json-module/json/html/ftv2lastnode.png +share/doc/qore-json-module/json/html/ftv2link.png +share/doc/qore-json-module/json/html/ftv2mlastnode.png +share/doc/qore-json-module/json/html/ftv2mnode.png +share/doc/qore-json-module/json/html/ftv2mo.png +share/doc/qore-json-module/json/html/ftv2node.png +share/doc/qore-json-module/json/html/ftv2ns.png +share/doc/qore-json-module/json/html/ftv2plastnode.png +share/doc/qore-json-module/json/html/ftv2pnode.png +share/doc/qore-json-module/json/html/ftv2splitbar.png +share/doc/qore-json-module/json/html/ftv2vertline.png +share/doc/qore-json-module/json/html/functions.html +share/doc/qore-json-module/json/html/functions_func.html +share/doc/qore-json-module/json/html/group__json__functions.html +share/doc/qore-json-module/json/html/group__json__functions.js +share/doc/qore-json-module/json/html/group__json__rpc__functions.html +share/doc/qore-json-module/json/html/group__json__rpc__functions.js +share/doc/qore-json-module/json/html/index.html +share/doc/qore-json-module/json/html/jquery.js +share/doc/qore-json-module/json/html/modules.html +share/doc/qore-json-module/json/html/modules.js +share/doc/qore-json-module/json/html/namespaceQore.html +share/doc/qore-json-module/json/html/namespaceQore.js +share/doc/qore-json-module/json/html/namespaceQore_1_1Json.html +share/doc/qore-json-module/json/html/namespaceQore_1_1Json.js +share/doc/qore-json-module/json/html/namespacemembers.html +share/doc/qore-json-module/json/html/namespacemembers_func.html +share/doc/qore-json-module/json/html/namespaces.html +share/doc/qore-json-module/json/html/namespaces.js +share/doc/qore-json-module/json/html/nav_f.png +share/doc/qore-json-module/json/html/nav_g.png +share/doc/qore-json-module/json/html/nav_h.png +share/doc/qore-json-module/json/html/navtree.css +share/doc/qore-json-module/json/html/navtree.js +share/doc/qore-json-module/json/html/navtreeindex0.js +share/doc/qore-json-module/json/html/open.png +share/doc/qore-json-module/json/html/resize.js +share/doc/qore-json-module/json/html/search/all_63.html +share/doc/qore-json-module/json/html/search/all_63.js +share/doc/qore-json-module/json/html/search/all_6a.html +share/doc/qore-json-module/json/html/search/all_6a.js +share/doc/qore-json-module/json/html/search/all_6d.html +share/doc/qore-json-module/json/html/search/all_6d.js +share/doc/qore-json-module/json/html/search/all_70.html +share/doc/qore-json-module/json/html/search/all_70.js +share/doc/qore-json-module/json/html/search/all_71.html +share/doc/qore-json-module/json/html/search/all_71.js +share/doc/qore-json-module/json/html/search/all_73.html +share/doc/qore-json-module/json/html/search/all_73.js +share/doc/qore-json-module/json/html/search/classes_6a.html +share/doc/qore-json-module/json/html/search/classes_6a.js +share/doc/qore-json-module/json/html/search/close.png +share/doc/qore-json-module/json/html/search/functions_63.html +share/doc/qore-json-module/json/html/search/functions_63.js +share/doc/qore-json-module/json/html/search/functions_6d.html +share/doc/qore-json-module/json/html/search/functions_6d.js +share/doc/qore-json-module/json/html/search/functions_70.html +share/doc/qore-json-module/json/html/search/functions_70.js +share/doc/qore-json-module/json/html/search/functions_73.html +share/doc/qore-json-module/json/html/search/functions_73.js +share/doc/qore-json-module/json/html/search/groups_6a.html +share/doc/qore-json-module/json/html/search/groups_6a.js +share/doc/qore-json-module/json/html/search/mag_sel.png +share/doc/qore-json-module/json/html/search/namespaces_71.html +share/doc/qore-json-module/json/html/search/namespaces_71.js +share/doc/qore-json-module/json/html/search/nomatches.html +share/doc/qore-json-module/json/html/search/search.css +share/doc/qore-json-module/json/html/search/search.js +share/doc/qore-json-module/json/html/search/search_l.png +share/doc/qore-json-module/json/html/search/search_m.png +share/doc/qore-json-module/json/html/search/search_r.png +share/doc/qore-json-module/json/html/sync_off.png +share/doc/qore-json-module/json/html/sync_on.png +share/doc/qore-json-module/json/html/tab_a.png +share/doc/qore-json-module/json/html/tab_b.png +share/doc/qore-json-module/json/html/tab_h.png +share/doc/qore-json-module/json/html/tab_s.png +share/doc/qore-json-module/json/html/tabs.css +share/doc/qore-json-module/COPYING.LGPL +share/doc/qore-json-module/COPYING.MIT diff --git a/textproc/qore-json-module/buildlink3.mk b/textproc/qore-json-module/buildlink3.mk new file mode 100644 index 00000000000..242e441f426 --- /dev/null +++ b/textproc/qore-json-module/buildlink3.mk @@ -0,0 +1,14 @@ +# $NetBSD: buildlink3.mk,v 1.1 2014/12/30 15:50:28 wiz Exp $ + +BUILDLINK_TREE+= qore-json-module + +.if !defined(QORE_JSON_MODULE_BUILDLINK3_MK) +QORE_JSON_MODULE_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.qore-json-module+= qore-json-module>=1.4 +BUILDLINK_PKGSRCDIR.qore-json-module?= ../../textproc/qore-json-module + +.include "../../lang/qore/buildlink3.mk" +.endif # QORE_JSON_MODULE_BUILDLINK3_MK + +BUILDLINK_TREE+= -qore-json-module diff --git a/textproc/qore-json-module/distinfo b/textproc/qore-json-module/distinfo new file mode 100644 index 00000000000..ab13c79a7fd --- /dev/null +++ b/textproc/qore-json-module/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1 2014/12/30 15:50:28 wiz Exp $ + +SHA1 (qore-json-module-1.4.tar.bz2) = 390162afdda04297d8d2e2c23133727b952bc194 +RMD160 (qore-json-module-1.4.tar.bz2) = 446416809cea1f3b745a787a6f8b70ded990d6dd +Size (qore-json-module-1.4.tar.bz2) = 454869 bytes +SHA1 (patch-configure) = 5140ccc6e5196a90cc44427ba7a38d9052f5298a +SHA1 (patch-src_Makefile.in) = 507bee586498fec0c244d005b5708365ae74b7e5 diff --git a/textproc/qore-json-module/options.mk b/textproc/qore-json-module/options.mk new file mode 100644 index 00000000000..50cc400a9d7 --- /dev/null +++ b/textproc/qore-json-module/options.mk @@ -0,0 +1,12 @@ +# $NetBSD: options.mk,v 1.1 2014/12/30 15:50:28 wiz Exp $ +# + +PKG_OPTIONS_VAR= PKG_OPTIONS.qore-json-module +PKG_SUPPORTED_OPTIONS= debug +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Mdebug) +CONFIGURE_ARGS+= --enable-debug +.else +CONFIGURE_ARGS+= --disable-debug +.endif diff --git a/textproc/qore-json-module/patches/patch-configure b/textproc/qore-json-module/patches/patch-configure new file mode 100644 index 00000000000..3980c856ae4 --- /dev/null +++ b/textproc/qore-json-module/patches/patch-configure @@ -0,0 +1,21 @@ +$NetBSD: patch-configure,v 1.1 2014/12/30 15:50:28 wiz Exp $ +pkgsrc doesn't use lib64 so don't set it. +fixes build on linux. +http://sf.net/p/qore/code/6817/ +--- configure.orig 2014-10-31 21:35:17.242695818 +0000 ++++ configure +@@ -15669,14 +15669,6 @@ if test "$enable_64bit" = "yes"; then + *linux*) if test "$GXX" = "yes"; then + CXXFLAGS="$CXXFLAGS -m64" + fi +- # only set LIBSUFFIX=64 if /usr/lib64 exists +- if test -d /usr/lib64; then +- LIBSUFFIX=64 +- fi +- target="${host_cpu}-${host_os}" +- if test -d /usr/lib/$target; then +- LIBSUFFIX=/$target +- fi + + ;; + *hpux*) if test "$host_cpu" = "ia64"; then diff --git a/textproc/qore-json-module/patches/patch-src_Makefile.in b/textproc/qore-json-module/patches/patch-src_Makefile.in new file mode 100644 index 00000000000..0fdf36ec5a0 --- /dev/null +++ b/textproc/qore-json-module/patches/patch-src_Makefile.in @@ -0,0 +1,13 @@ +$NetBSD: patch-src_Makefile.in,v 1.1 2014/12/30 15:50:28 wiz Exp $ +*delete the .a file as well as the .la file +--- src/Makefile.in.orig 2013-09-05 14:23:58.000000000 +0000 ++++ src/Makefile.in +@@ -672,7 +672,7 @@ uninstall-am: uninstall-libLTLIBRARIES + + install-exec-hook: + mv $(DESTDIR)$(libdir)/$(MNAME).$(MODULE_SUFFIX) $(DESTDIR)$(libdir)/$(MNAME)-api-$(MODULE_API).qmod +- $(RM) $(DESTDIR)$(libdir)/$(MNAME).la $(RM_OTHER) ++ $(RM) $(DESTDIR)$(libdir)/$(MNAME).la $(RM_OTHER) $(DESTDIR)$(libdir)/$(MNAME).a + + # Tell versions [3.59,3.63) of GNU make to not export all variables. + # Otherwise a system limit (for SysV at least) may be exceeded. |