forked from Lainports/freebsd-ports
CloudABI now has its own package collection for FreeBSD and Debian based systems (https://github.com/NuxiNL/cloudabi-ports/). This package collection will only contain software that is cross compiled for CloudABI -- no FreeBSD native executables. I would like to go ahead and remove all ports that overlap with the packages provided by CloudABI Ports. Let's start off by updating cloudabi-utils to version 0.5. This version no longer depends on the CloudABI toolchain, as it now ships with a precompiled copy of the trampoline executable. Once this is done, I can go ahead and remove devel/cloudabi-cloudlibc, devel/cloudabi-compiler-rt, devel/cloudabi-libc++, devel/cloudabi-libc++abi and devel/cloudabi-libunwind/. Approved by: bapt Differential Revision: https://reviews.freebsd.org/D3616
47 lines
973 B
Makefile
47 lines
973 B
Makefile
# Created by: Ed Schouten <ed@FreeBSD.org>
|
|
# $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 <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} < 1000100
|
|
IGNORE= CloudABI will never support this version of FreeBSD
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|