Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Jan 2015 15:07:56 +0000 (UTC)
From:      "Vanilla I. Shu" <vanilla@FreeBSD.org>
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
Message-ID:  <201501191507.t0JF7udV070982@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <vallentin at icir.org>

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 <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MTEST}
+regression-test: build
+	@cd ${BUILD_WRKSRC} && ${MAKE} test
+.endif
+
+.if ${OSVERSION} < 1001000
+BROKEN=		require clang & libc++
+.endif
+
 .include <bsd.port.mk>

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



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