Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Jun 2015 09:53:18 +0000 (UTC)
From:      Ed Schouten <ed@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r390777 - in head/devel: . cloudabi-toolchain
Message-ID:  <201506280953.t5S9rIXe001289@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org>
+# $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 <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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201506280953.t5S9rIXe001289>