freebsd-ports/sysutils/cloudabi-utils/Makefile
Ed Schouten fe5ae893f0 Update cloudabi-utils to 0.6.
Compared to version 0.5, this package is identical, except that it now
provides support for aarch64.

Reviewed by:	bapt
Differential Revision:	https://reviews.freebsd.org/D3976
2015-10-22 13:35:23 +00:00

47 lines
989 B
Makefile

# Created by: Ed Schouten <ed@FreeBSD.org>
# $FreeBSD$
PORTNAME= cloudabi-utils
PORTVERSION= 0.6
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= aarch64 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} \
PREFIX=${PREFIX} \
${SH} build
do-install:
@cd ${WRKSRC} && \
ARCH=${ARCH:S/amd64/x86_64/} \
DESTDIR=${STAGEDIR} \
PREFIX=${PREFIX} \
${SH} install
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 1000100
IGNORE= CloudABI will never support this version of FreeBSD
.endif
.include <bsd.port.post.mk>