ac0f2013b4
A new version of cloudlibc and cloudabi-utils has been released, to catch up with ABI changes (due to the import into FreeBSD HEAD). Bump these ports up to v0.4. While there, upgrade the LLVM packages. It looks like the LLVM project is finally releasing tarballs itself, meaning we can use those instead of requiring me to host them myself. Update the ports to use a common Makefile (cloudabi-libc++/Makefile.common) to set the PORTVERSION, MASTER_SITES, etc. Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D3332
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
# Created by: Ed Schouten <ed@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= cloudabi-utils
|
|
PORTVERSION= 0.4
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= https://nuxi.nl/distfiles/cloudabi-utils/
|
|
|
|
MAINTAINER= ed@FreeBSD.org
|
|
COMMENT= Utilities for running CloudABI programs
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
BUILD_DEPENDS= cloudabi-toolchain>=0:${PORTSDIR}/devel/cloudabi-toolchain
|
|
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} \
|
|
PREFIX=${PREFIX} \
|
|
CLOUDABI_CC=${LOCALBASE}/bin/x86_64-unknown-cloudabi-cc \
|
|
${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>
|