1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/devel/embb/Makefile
Gerald Pfeifer 04d6f52202 Bump PORTREVISIONs for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using using Mk/bsd.octave.mk which in turn has USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang,
   c++11-lang, c++0x, c11, or gcc-c++11-lib.

PR:		216707
2017-04-01 15:23:30 +00:00

53 lines
1.0 KiB
Makefile

# Created by: Thomas Zander <riggs@FreeBSD.org>
# $FreeBSD$
PORTNAME= embb
PORTVERSION= 0.5.0
PORTREVISION= 1
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:outsource compiler:c11
CMAKE_ARGS= -DINSTALL_PREFIX=${PREFIX}
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= i386 amd64
.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>