diff options
author | wiz <wiz@pkgsrc.org> | 2018-12-23 17:22:21 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2018-12-23 17:22:21 +0000 |
commit | 9d0f6c092f2272c6185af53c60556407c8c5f869 (patch) | |
tree | d3f26920f949369e7771ce12e60c09df28f5662e /textproc | |
parent | 592df92fa694947a1881093f2e787ef7f7656db9 (diff) | |
download | pkgsrc-9d0f6c092f2272c6185af53c60556407c8c5f869.tar.gz |
textproc/json-schema: import json-schema-1.0
json-schema is a C++ library for validating JSON documents against
JSON Schemata based on jsoncpp.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/json-schema/DESCR | 2 | ||||
-rw-r--r-- | textproc/json-schema/Makefile | 21 | ||||
-rw-r--r-- | textproc/json-schema/PLIST | 6 | ||||
-rw-r--r-- | textproc/json-schema/buildlink3.mk | 15 | ||||
-rw-r--r-- | textproc/json-schema/distinfo | 6 |
5 files changed, 50 insertions, 0 deletions
diff --git a/textproc/json-schema/DESCR b/textproc/json-schema/DESCR new file mode 100644 index 00000000000..d9d659561fb --- /dev/null +++ b/textproc/json-schema/DESCR @@ -0,0 +1,2 @@ +json-schema is a C++ library for validating JSON documents against +JSON Schemata based on jsoncpp. diff --git a/textproc/json-schema/Makefile b/textproc/json-schema/Makefile new file mode 100644 index 00000000000..2cea15e6c4c --- /dev/null +++ b/textproc/json-schema/Makefile @@ -0,0 +1,21 @@ +# $NetBSD: Makefile,v 1.1 2018/12/23 17:22:21 wiz Exp $ + +DISTNAME= json-schema-1.0 +CATEGORIES= textproc +MASTER_SITES= ${MASTER_SITE_GITHUB:=nfotex/} +GITHUB_RELEASE= ${DISTNAME} +EXTRACT_SUFX= .tar.xz + +MAINTAINER= wiz@NetBSD.org +HOMEPAGE= https://github.com/nfotex/json-schema/ +COMMENT= C++ library to validate JSON documents against JSON Schemata +LICENSE= modified-bsd + +USE_CMAKE= yes +USE_LANGUAGES= c c++ +USE_TOOLS+= perl:test pkg-config +TEST_TARGET= test + +.include "../../devel/pcre/buildlink3.mk" +.include "../../textproc/jsoncpp/buildlink3.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/textproc/json-schema/PLIST b/textproc/json-schema/PLIST new file mode 100644 index 00000000000..f6f55bfa9ed --- /dev/null +++ b/textproc/json-schema/PLIST @@ -0,0 +1,6 @@ +@comment $NetBSD: PLIST,v 1.1 2018/12/23 17:22:21 wiz Exp $ +include/Pointer.h +include/SchemaValidator.h +include/URI.h +lib/libjson-schema.a +lib/pkgconfig/json-schema.pc diff --git a/textproc/json-schema/buildlink3.mk b/textproc/json-schema/buildlink3.mk new file mode 100644 index 00000000000..e909b9efbfa --- /dev/null +++ b/textproc/json-schema/buildlink3.mk @@ -0,0 +1,15 @@ +# $NetBSD: buildlink3.mk,v 1.1 2018/12/23 17:22:21 wiz Exp $ + +BUILDLINK_TREE+= json-schema + +.if !defined(JSON_SCHEMA_BUILDLINK3_MK) +JSON_SCHEMA_BUILDLINK3_MK:= + +BUILDLINK_API_DEPENDS.json-schema+= json-schema>=1.0 +BUILDLINK_PKGSRCDIR.json-schema?= ../../textproc/json-schema +BUILDLINK_DEPMETHOD.json-schema?= build + +.include "../../textproc/jsoncpp/buildlink3.mk" +.endif # JSON_SCHEMA_BUILDLINK3_MK + +BUILDLINK_TREE+= -json-schema diff --git a/textproc/json-schema/distinfo b/textproc/json-schema/distinfo new file mode 100644 index 00000000000..a2472c7915c --- /dev/null +++ b/textproc/json-schema/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1 2018/12/23 17:22:21 wiz Exp $ + +SHA1 (json-schema-1.0.tar.xz) = c72bac210f3f33a7d33fda06c60bf4905f8a4c44 +RMD160 (json-schema-1.0.tar.xz) = 914e046f12f6736b38bbcfa78e757127b272e849 +SHA512 (json-schema-1.0.tar.xz) = 190bfa8c529ee96f0232a145e6bf48e2b39ebcbbfef7cc78abaa0bf259d7f427b1e396842513f9dd59b1966d094d4665673356a420a3e55afd90b2c6a9ced489 +Size (json-schema-1.0.tar.xz) = 40228 bytes |