Index: head/devel/Makefile =================================================================== --- head/devel/Makefile +++ head/devel/Makefile @@ -106,6 +106,7 @@ SUBDIR += arduino-sevseg SUBDIR += arduino-tools SUBDIR += arduino16 + SUBDIR += argdata SUBDIR += argouml SUBDIR += argp-standalone SUBDIR += argtable Index: head/devel/argdata/Makefile =================================================================== --- head/devel/argdata/Makefile +++ head/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: head/devel/argdata/distinfo =================================================================== --- head/devel/argdata/distinfo +++ head/devel/argdata/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1488022001 +SHA256 (NuxiNL-argdata-v0.1_GH0.tar.gz) = 1fd26745e72382b9e0eda042154b3219682de980f6cdd15f574f9d4288b7df79 +SIZE (NuxiNL-argdata-v0.1_GH0.tar.gz) = 18787 Index: head/devel/argdata/pkg-descr =================================================================== --- head/devel/argdata/pkg-descr +++ head/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 Index: head/devel/argdata/pkg-plist =================================================================== --- head/devel/argdata/pkg-plist +++ head/devel/argdata/pkg-plist @@ -0,0 +1,4 @@ +include/argdata.h +include/argdata.hpp +lib/libargdata.so +lib/libargdata.so.1