1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00

Add Argdata.

The existing cloudabi-utils package has a copy of a library called
Argdata integrated. Future versions of cloudabi-utils will no longer
ship with it, as Argdata can be used independently of CloudABI.

This change introduces a new devel/argdata port, which can be used by
future versions of cloudabi-utils.

Approved by:	bapt
Differential Revision:	https://reviews.freebsd.org/D9799
This commit is contained in:
Ed Schouten 2017-02-25 14:02:33 +00:00
parent 8a5a537542
commit 8237f67481
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434809
5 changed files with 42 additions and 0 deletions

View File

@ -106,6 +106,7 @@
SUBDIR += arduino-sevseg
SUBDIR += arduino-tools
SUBDIR += arduino16
SUBDIR += argdata
SUBDIR += argouml
SUBDIR += argp-standalone
SUBDIR += argtable

20
devel/argdata/Makefile Normal file
View File

@ -0,0 +1,20 @@
# Created by: Ed Schouten <ed@FreeBSD.org>
# $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 <bsd.port.mk>

3
devel/argdata/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1488022001
SHA256 (NuxiNL-argdata-v0.1_GH0.tar.gz) = 1fd26745e72382b9e0eda042154b3219682de980f6cdd15f574f9d4288b7df79
SIZE (NuxiNL-argdata-v0.1_GH0.tar.gz) = 18787

14
devel/argdata/pkg-descr Normal file
View File

@ -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

4
devel/argdata/pkg-plist Normal file
View File

@ -0,0 +1,4 @@
include/argdata.h
include/argdata.hpp
lib/libargdata.so
lib/libargdata.so.1