svn commit: r390777 - in head/devel: . cloudabi-toolchain
Ed Schouten
ed at FreeBSD.org
Sun Jun 28 09:53:19 UTC 2015
Author: ed (src committer)
Date: Sun Jun 28 09:53:18 2015
New Revision: 390777
URL: https://svnweb.freebsd.org/changeset/ports/390777
Log:
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
Added:
head/devel/cloudabi-toolchain/
head/devel/cloudabi-toolchain/Makefile (contents, props changed)
head/devel/cloudabi-toolchain/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Sun Jun 28 09:45:58 2015 (r390776)
+++ head/devel/Makefile Sun Jun 28 09:53:18 2015 (r390777)
@@ -252,6 +252,7 @@
SUBDIR += cloudabi-libc++
SUBDIR += cloudabi-libc++abi
SUBDIR += cloudabi-libunwind
+ SUBDIR += cloudabi-toolchain
SUBDIR += cmake
SUBDIR += cmake-fedora
SUBDIR += cmake-gui
Added: head/devel/cloudabi-toolchain/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/cloudabi-toolchain/Makefile Sun Jun 28 09:53:18 2015 (r390777)
@@ -0,0 +1,28 @@
+# Created by: Ed Schouten <ed at FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= cloudabi-toolchain
+PORTVERSION= 1.0
+CATEGORIES= devel
+
+MAINTAINER= ed at 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 <bsd.port.mk>
Added: head/devel/cloudabi-toolchain/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/cloudabi-toolchain/pkg-descr Sun Jun 28 09:53:18 2015 (r390777)
@@ -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
More information about the svn-ports-head
mailing list