# Created by: Ed Schouten # $FreeBSD$ PORTNAME= cloudabi-utils PORTVERSION= 0.5 CATEGORIES= sysutils MASTER_SITES= https://nuxi.nl/distfiles/cloudabi-utils/ MAINTAINER= ed@FreeBSD.org COMMENT= Utilities for running CloudABI programs LICENSE= BSD2CLAUSE LIB_DEPENDS= libyaml.so:${PORTSDIR}/textproc/libyaml ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= CloudABI has not yet been ported to other architectures USES= compiler:c11 tar:xz PLIST_FILES= bin/cloudabi-run \ libexec/cloudabi-reexec \ man/man1/cloudabi-run.1.gz CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib do-build: @cd ${WRKSRC} && \ ${SETENV} ${MAKE_ENV} \ PREBUILT_ARCH=x86_64 \ PREFIX=${PREFIX} \ ${SH} build do-install: @cd ${WRKSRC} && \ DESTDIR=${STAGEDIR} \ PREFIX=${PREFIX} \ ${SH} install .include .if ${OSVERSION} < 1000100 IGNORE= CloudABI will never support this version of FreeBSD .endif .include