Files
ports/devel/embb/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

54 lines
1.1 KiB
Makefile

# Created by: Thomas Zander <riggs@FreeBSD.org>
# $FreeBSD$
PORTNAME= embb
PORTVERSION= 1.0.0
PORTREVISION= 4
DISTVERSIONPREFIX= v
CATEGORIES= devel
MAINTAINER= riggs@FreeBSD.org
COMMENT= C/C++ library for parallel programming
LICENSE= BSD2CLAUSE BSD3CLAUSE
LICENSE_COMB= multi
USE_GITHUB= yes
GH_ACCOUNT= siemens
USES= cmake compiler:c++11-lib
CMAKE_ARGS= -DINSTALL_PREFIX=${PREFIX} \
-DUSE_C11_AND_CXX11:BOOL=true
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
ONLY_FOR_ARCHS= amd64 i386
.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}
.include <bsd.port.mk>