aboutsummaryrefslogtreecommitdiff
path: root/devel/onetbb/Makefile
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2021-02-24 11:15:21 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2021-02-24 11:15:21 +0000
commit12215c1ee011d6f393dd1bec0aacf7598c893aed (patch)
tree38bd7fdde5b18be3cdae9e81ebcfcf5aecc4726f /devel/onetbb/Makefile
parent806a0202cb3a62284a2702d9413e92552b4bf09d (diff)
downloadports-12215c1ee011d6f393dd1bec0aacf7598c893aed.tar.gz
ports-12215c1ee011d6f393dd1bec0aacf7598c893aed.zip
Repocopy devel/onetbb from devel/tbb
(forgotten with previous introduction of devel/onetbb) Reported by: danfe
Notes
Notes: svn path=/head/; revision=566471
Diffstat (limited to 'devel/onetbb/Makefile')
-rw-r--r--devel/onetbb/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/devel/onetbb/Makefile b/devel/onetbb/Makefile
new file mode 100644
index 000000000000..ed3bec732d6d
--- /dev/null
+++ b/devel/onetbb/Makefile
@@ -0,0 +1,39 @@
+# Created by: Arun Sharma <arun@sharma-home.net>
+# $FreeBSD$
+
+PORTNAME= onetbb
+PORTVERSION= 2021.1.1
+DISTVERSIONPREFIX= v
+CATEGORIES= devel
+
+MAINTAINER= martymac@FreeBSD.org
+COMMENT= Library that provides thread building blocks
+
+LICENSE= APACHE20
+
+LIB_DEPENDS= libhwloc.so.15:devel/hwloc2
+
+USES= cmake compiler:c++11-lang tar:tgz
+
+CMAKE_ARGS+= -DTBB_STRICT:BOOL=FALSE
+
+CONFLICTS= tbb-[0-9]*
+
+USE_GITHUB= yes
+GH_ACCOUNT= oneapi-src
+GH_PROJECT= oneTBB
+
+SUB_FILES= onetbb.pc
+SUB_LIST= prefix="${PREFIX}" \
+ name="${PORTNAME}" \
+ description="${COMMENT}" \
+ version="${PORTVERSION}"
+
+USE_LDCONFIG= yes
+
+.include <bsd.port.pre.mk>
+
+post-install:
+ ${INSTALL_DATA} ${WRKDIR}/onetbb.pc ${STAGEDIR}${PREFIX}/libdata/pkgconfig
+
+.include <bsd.port.post.mk>