Index: devel/Makefile =================================================================== --- devel/Makefile +++ devel/Makefile @@ -106,6 +106,7 @@ SUBDIR += arduino-sevseg SUBDIR += arduino-tools SUBDIR += arduino16 + SUBDIR += argdata SUBDIR += argouml SUBDIR += argp-standalone SUBDIR += argtable Index: devel/argdata/Makefile =================================================================== --- /dev/null +++ devel/argdata/Makefile @@ -0,0 +1,20 @@ +# Created by: Ed Schouten +# $FreeBSD$ + +PORTNAME= argdata +PORTVERSION= 0.1 +DISTVERSIONPREFIX=v +CATEGORIES= devel + +MAINTAINER= ed@FreeBSD.org +COMMENT= Binary serialisation format inspired by YAML, MessagePack and nvlists + +LICENSE= BSD2CLAUSE + +USE_GITHUB= yes +GH_ACCOUNT= NuxiNL + +USES= cmake compiler:c11 tar:xz +USE_LDCONFIG= yes + +.include Index: devel/argdata/distinfo =================================================================== --- /dev/null +++ devel/argdata/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1488020229 +SHA256 (NuxiNL-argdata-v0.1_GH0.tar.gz) = 22b11146286326173df27a7542fefbe1bc6c57c25822c4b001f124a912222a35 +SIZE (NuxiNL-argdata-v0.1_GH0.tar.gz) = 18772 Index: devel/argdata/pkg-descr =================================================================== --- /dev/null +++ devel/argdata/pkg-descr @@ -0,0 +1,14 @@ +Argdata is a binary serialisation format similar to FreeBSD's nvlists. +It differs from nvlists in that it uses data types that are more similar +to YAML. + +Argdata is used by CloudABI as a replacement for string command line +arguments and environment variables. CloudABI processes can start new +processes by passing them a YAML-like tree of arguments, having file +descriptors of resources annotated to the tree. + +This package provides a native port of the Argdata library, so that it +can be used in native FreeBSD applications, but also to spawn CloudABI +processes appropriately. + +WWW: https://github.com/NuxiNL/argdata