aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorriggs <riggs@FreeBSD.org>2015-02-08 04:19:52 +0800
committerriggs <riggs@FreeBSD.org>2015-02-08 04:19:52 +0800
commitbd655647069a17efb270ccc5cff7277ac68dcef3 (patch)
treebff24663002bbcab9869a17e2c8fbb50a10d74b3 /devel
parentc1fab1a459c337cda2ccab5298ccaac5c3b4c12f (diff)
downloadfreebsd-ports-gnome-bd655647069a17efb270ccc5cff7277ac68dcef3.tar.gz
freebsd-ports-gnome-bd655647069a17efb270ccc5cff7277ac68dcef3.tar.zst
freebsd-ports-gnome-bd655647069a17efb270ccc5cff7277ac68dcef3.zip
- Update to upstream version 0.2.2
- Introduce non-default OPTION to run tests during the build process
Diffstat (limited to 'devel')
-rw-r--r--devel/embb/Makefile27
-rw-r--r--devel/embb/distinfo4
-rw-r--r--devel/embb/pkg-plist3
3 files changed, 23 insertions, 11 deletions
diff --git a/devel/embb/Makefile b/devel/embb/Makefile
index 8c57f9343347..8a1657ba16e5 100644
--- a/devel/embb/Makefile
+++ b/devel/embb/Makefile
@@ -2,34 +2,47 @@
# $FreeBSD$
PORTNAME= embb
-PORTVERSION= 0.2.1
+PORTVERSION= 0.2.2
CATEGORIES= devel
MAINTAINER= riggs@FreeBSD.org
-COMMENT= Embedded Multicore Building Blocks
+COMMENT= C/C++ library for parallel programming
LICENSE= BSD2CLAUSE BSD3CLAUSE
LICENSE_COMB= multi
USE_GITHUB= yes
-GH_ACCOUNT= riggs-
-GH_COMMIT= d40a5c3
+GH_ACCOUNT= siemens
+GH_COMMIT= d9c1d0c
GH_TAGNAME= ${GH_COMMIT}
USES= cmake:outsource compiler:c11
-CMAKE_ARGS= -DINSTALL_PREFIX=${PREFIX} \
- -DBUILD_TESTS=OFF
+CMAKE_ARGS= -DINSTALL_PREFIX=${PREFIX}
-OPTIONS_DEFINE= DOCS EXAMPLES
+OPTIONS_DEFINE= DOCS EXAMPLES TESTS
+
+TESTS_DESC= Build and run parallel unit tests
DOCS_CMAKE_OFF= -DINSTALL_DOCS=OFF
+TESTS_CMAKE_OFF=-DBUILD_TESTS=OFF
+
OPTIONS_SUB= yes
+.include <bsd.port.options.mk>
+
post-patch:
${RM} ${WRKSRC}/doc/examples/CMakeLists.txt
${MV} ${WRKSRC}/doc/examples ${WRKSRC}
+ ${REINPLACE_CMD} -e \
+ 's|$${INSTALL_PREFIX_DOCS} PARENT_SCOPE|"${DOCSDIR}" PARENT_SCOPE|' \
+ ${WRKSRC}/CMakeCommon/SetInstallPaths.cmake
+
+.if ${PORT_OPTIONS:MTESTS}
+post-build:
+ (cd ${BUILD_WRKSRC}/binaries && ./run_tests.sh)
+.endif
post-install:
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}/${EXAMPLESDIR}
diff --git a/devel/embb/distinfo b/devel/embb/distinfo
index c3061898f6a8..a2d3be3ea3ce 100644
--- a/devel/embb/distinfo
+++ b/devel/embb/distinfo
@@ -1,2 +1,2 @@
-SHA256 (embb-0.2.1.tar.gz) = ff4b0b82cbb4e9596576117f1c24dcb4e1899e8e486b4422da39bd47c0394a29
-SIZE (embb-0.2.1.tar.gz) = 1447957
+SHA256 (embb-0.2.2.tar.gz) = 9e7ec9e5983edb025e7b59302fe88da8cd9ac4c8de1429dff7b0920dc9d6d3b0
+SIZE (embb-0.2.2.tar.gz) = 1451333
diff --git a/devel/embb/pkg-plist b/devel/embb/pkg-plist
index bd455c84cd62..09d8d09a86bb 100644
--- a/devel/embb/pkg-plist
+++ b/devel/embb/pkg-plist
@@ -1,6 +1,5 @@
include/embb/algorithms/algorithms.h
include/embb/algorithms/count.h
-include/embb/algorithms/execution_policy.h
include/embb/algorithms/for_each.h
include/embb/algorithms/identity.h
include/embb/algorithms/internal/count-inl.h
@@ -126,9 +125,9 @@ include/embb/dataflow/internal/tuple.h
include/embb/dataflow/internal/typelist.h
include/embb/dataflow/network.h
include/embb/mtapi/action.h
-include/embb/mtapi/affinity.h
include/embb/mtapi/c/mtapi.h
include/embb/mtapi/continuation.h
+include/embb/mtapi/execution_policy.h
include/embb/mtapi/group.h
include/embb/mtapi/mtapi.h
include/embb/mtapi/node.h