1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

- Update to upstream version 0.2.2

- Introduce non-default OPTION to run tests during the build process
This commit is contained in:
Thomas Zander 2015-02-07 20:19:52 +00:00
parent dc913654a5
commit 284098a8da
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=378618
3 changed files with 23 additions and 11 deletions

View File

@ -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}

View File

@ -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

View File

@ -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