From owner-svn-ports-head@FreeBSD.ORG Mon Jan 19 15:07:57 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9831C2AC; Mon, 19 Jan 2015 15:07:57 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 78C239E4; Mon, 19 Jan 2015 15:07:57 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t0JF7vWE070985; Mon, 19 Jan 2015 15:07:57 GMT (envelope-from vanilla@FreeBSD.org) Received: (from vanilla@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t0JF7udV070982; Mon, 19 Jan 2015 15:07:56 GMT (envelope-from vanilla@FreeBSD.org) Message-Id: <201501191507.t0JF7udV070982@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: vanilla set sender to vanilla@FreeBSD.org using -f From: "Vanilla I. Shu" Date: Mon, 19 Jan 2015 15:07:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r377439 - in head/devel: . actor-framework caf X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jan 2015 15:07:57 -0000 Author: vanilla Date: Mon Jan 19 15:07:55 2015 New Revision: 377439 URL: https://svnweb.freebsd.org/changeset/ports/377439 QAT: https://qat.redports.org/buildarchive/r377439/ Log: 1: move actor-framework to caf. 2: pass maintainer bit to submitter. 3: add some options. PR: 196809 Submitted by: Matthias Vallentin Added: head/devel/caf/ - copied from r377438, head/devel/actor-framework/ Deleted: head/devel/actor-framework/ Modified: head/devel/Makefile head/devel/caf/Makefile head/devel/caf/pkg-descr Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Jan 19 15:05:12 2015 (r377438) +++ head/devel/Makefile Mon Jan 19 15:07:55 2015 (r377439) @@ -39,7 +39,6 @@ SUBDIR += ace+tao-doc SUBDIR += acme SUBDIR += activitymail - SUBDIR += actor-framework SUBDIR += adabooch SUBDIR += adacurses SUBDIR += adime @@ -185,6 +184,7 @@ SUBDIR += c-unit SUBDIR += c2mdoc SUBDIR += c4 + SUBDIR += caf SUBDIR += calibrator SUBDIR += capstone SUBDIR += cask Modified: head/devel/caf/Makefile ============================================================================== --- head/devel/actor-framework/Makefile Mon Jan 19 15:05:12 2015 (r377438) +++ head/devel/caf/Makefile Mon Jan 19 15:07:55 2015 (r377439) @@ -3,15 +3,16 @@ PORTNAME= actor-framework PORTVERSION= 0.12.1 -CATEGORIES= devel net +CATEGORIES= devel MASTER_SITES= GH -MAINTAINER= vanilla@FreeBSD.org +MAINTAINER= vallentin@icir.org COMMENT= C++ actor framework LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE -CXXFLAGS+= -std=c++11 +CXXFLAGS+= -std=c++11 -Wextra -Wall -pedantic LDFLAGS+= -pthread USES= compiler:c++11-lang cmake:outsource USE_LDCONFIG= yes @@ -19,4 +20,42 @@ USE_GITHUB= yes GH_ACCOUNT= ${PORTNAME} GH_COMMIT= 56ad470 +OPTIONS_DEFINE= DEBUG TEST STATIC +OPTIONS_RADIO= LOG_LEVEL +OPTIONS_RADIO_LOG_LEVEL= LOG_LEVEL_ERROR LOG_LEVEL_WARN LOG_LEVEL_INFO LOG_LEVEL_DEBUG LOG_LEVEL_TRACE +OPTIONS_DEFAULT= TEST + +TEST_DESC= Build with unit tests +STATIC_DESC= Additionally build static version of library +LOG_LEVEL_ERROR= Use log level ERROR for console output +LOG_LEVEL_WARN= Use log level WARN for console output +LOG_LEVEL_INFO= Use log level INFO for console output +LOG_LEVEL_DEBUG= Use log level DEBUG for console output +LOG_LEVEL_TRACE= Use log level TRACE for console output + +# Until we cannot automatically disentangle examples from other binaries, we do +# not support an EXAMPLES option. We also disable a few components that are +# still quite experimental. +CMAKE_ARGS+= -DCAF_NO_EXAMPLES:BOOL=yes -DCAF_NO_OPENCL:BOOL=yes + +DEBUG_CMAKE_ON= -DCAF_ENABLE_RUNTIME_CHECKS:BOOL=yes +STATIC_CMAKE_ON= -DCAF_BUILD_STATIC:BOOL=yes +TEST_CMAKE_OFF= -DCAF_NO_UNIT_TESTS:BOOL=yes +LOG_LEVEL_ERROR_CMAKE_ON= -DCAF_LOG_LEVEL:STRING=0 +LOG_LEVEL_WARN_CMAKE_ON= -DCAF_LOG_LEVEL:STRING=1 +LOG_LEVEL_INFO_CMAKE_ON= -DCAF_LOG_LEVEL:STRING=2 +LOG_LEVEL_DEBUG_CMAKE_ON= -DCAF_LOG_LEVEL:STRING=3 +LOG_LEVEL_TRACE_CMAKE_ON= -DCAF_LOG_LEVEL:STRING=4 + +.include + +.if ${PORT_OPTIONS:MTEST} +regression-test: build + @cd ${BUILD_WRKSRC} && ${MAKE} test +.endif + +.if ${OSVERSION} < 1001000 +BROKEN= require clang & libc++ +.endif + .include Modified: head/devel/caf/pkg-descr ============================================================================== --- head/devel/actor-framework/pkg-descr Mon Jan 19 15:05:12 2015 (r377438) +++ head/devel/caf/pkg-descr Mon Jan 19 15:07:55 2015 (r377439) @@ -1,5 +1,16 @@ -Actors in CAF are lightweight, consist of only a few hundred bytes, -and are cooperatively managed by a state-of-the-art, work-stealing scheduler. -You can spawn literally millions of actors if you want to. +An Open Source Implementation of the Actor Model in C++. -WWW: http://actor-framework.org/ +Actors in CAF are lightweight, consist of only a few hundred bytes, and +are cooperatively managed by a state-of-the-art, work-stealing +scheduler. You can spawn millions of actors if you want to. + +CAF offers a network-transparent message passing. Actors can talk to +each other, no matter where they've been spawned. You do the hard part +of implementing your app, CAF takes care of the low-level side of +things. CAF allows you to transparently connect actors running on +different machines and OSes via the network. It integrates multiple +computing devices such as multi-core CPUs, GPGPUs, and even embedded +hardware. You can also create message passing interface for your OpenCL +backends. + +WWW: http://www.actor-framework.org