# Created by: Ed Schouten <ed@FreeBSD.org>
# $FreeBSD: tags/RELEASE_11_1_0/sysutils/cloudabi-utils/Makefile 444111 2017-06-22 12:37:35Z ed $

PORTNAME=	cloudabi-utils
PORTVERSION=	0.25
DISTVERSIONPREFIX=v
CATEGORIES=	sysutils

MAINTAINER=	ed@FreeBSD.org
COMMENT=	Utilities for running CloudABI programs

LICENSE=	BSD2CLAUSE

BUILD_DEPENDS=	${LOCALBASE}/include/cloudabi_types.h:devel/cloudabi
LIB_DEPENDS=	libargdata.so:devel/argdata \
		libyaml.so:textproc/libyaml

USE_GITHUB=	yes
GH_ACCOUNT=	NuxiNL

ONLY_FOR_ARCHS=	aarch64 amd64 armv6 i386
ONLY_FOR_ARCHS_REASON=	CloudABI has not yet been ported to other architectures

USES=		cmake compiler:c11 pkgconfig tar:xz
USE_LDCONFIG=	yes

CFLAGS+=	-I${LOCALBASE}/include

.include <bsd.port.mk>
