From f406137827a65f3b4373f52ae110ae108061d9df Mon Sep 17 00:00:00 2001 From: Ed Schouten Date: Sun, 28 Jun 2015 09:53:18 +0000 Subject: Add devel/cloudabi-toolchain, a metaport to install all of the toolchain. We can't reasonably expect that people want to install 7 ports to get a working C/C++ toolchain. Add a simple metaport to install all of them in one go. Differential Revision: https://reviews.freebsd.org/D2929 Reviewed by: bapt --- devel/cloudabi-toolchain/Makefile | 28 ++++++++++++++++++++++++++++ devel/cloudabi-toolchain/pkg-descr | 10 ++++++++++ 2 files changed, 38 insertions(+) create mode 100644 devel/cloudabi-toolchain/Makefile create mode 100644 devel/cloudabi-toolchain/pkg-descr (limited to 'devel/cloudabi-toolchain') diff --git a/devel/cloudabi-toolchain/Makefile b/devel/cloudabi-toolchain/Makefile new file mode 100644 index 000000000000..64a6fb029b35 --- /dev/null +++ b/devel/cloudabi-toolchain/Makefile @@ -0,0 +1,28 @@ +# Created by: Ed Schouten +# $FreeBSD$ + +PORTNAME= cloudabi-toolchain +PORTVERSION= 1.0 +CATEGORIES= devel + +MAINTAINER= ed@FreeBSD.org +COMMENT= C and C++ toolchain for CloudABI + +USES= metaport + +LIBDIR= ${LOCALBASE}/x86_64-unknown-cloudabi/lib + +# C and C++ compiler to be run on the development system. +RUN_DEPENDS+= x86_64-unknown-cloudabi-ar:${PORTSDIR}/devel/cloudabi-binutils \ + x86_64-unknown-cloudabi-cc:${PORTSDIR}/lang/cloudabi-clang + +# Libraries for C language support. +RUN_DEPENDS+= ${LIBDIR}/libc.a:${PORTSDIR}/devel/cloudabi-cloudlibc \ + ${LIBDIR}/libcompiler_rt.a:${PORTSDIR}/devel/cloudabi-compiler-rt + +# Libraries for C++ language support. +RUN_DEPENDS+= ${LIBDIR}/libc++.a:${PORTSDIR}/devel/cloudabi-libc++ \ + ${LIBDIR}/libc++abi.a:${PORTSDIR}/devel/cloudabi-libc++abi \ + ${LIBDIR}/libunwind.a:${PORTSDIR}/devel/cloudabi-libunwind + +.include diff --git a/devel/cloudabi-toolchain/pkg-descr b/devel/cloudabi-toolchain/pkg-descr new file mode 100644 index 000000000000..fdc830ce0642 --- /dev/null +++ b/devel/cloudabi-toolchain/pkg-descr @@ -0,0 +1,10 @@ +Nuxi CloudABI is an application binary interface for UNIX-like operating +systems built around the concept of capability-based security. In a +nutshell, it means that you can run processes directly on top of a UNIX +kernel while keeping complete control over the actions the process is +allowed to perform. + +This port installs a full toolchain that can be used to compile C and +C++ software against CloudABI. + +WWW: https://github.com/NuxiNL/cloudlibc -- cgit v1.2.3