aboutsummaryrefslogtreecommitdiffstats
path: root/devel/tbb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/tbb/Makefile')
-rw-r--r--devel/tbb/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/devel/tbb/Makefile b/devel/tbb/Makefile
index 8ceebf0e095f..66759f7a7582 100644
--- a/devel/tbb/Makefile
+++ b/devel/tbb/Makefile
@@ -2,12 +2,11 @@
# $FreeBSD$
PORTNAME= tbb
-PORTVERSION= 4.1.3
-PORTREVISION= 1
+PORTVERSION= 4.2.2
CATEGORIES= devel
MASTER_SITES= http://threadingbuildingblocks.org/sites/default/files/software_releases/source/ \
LOCAL/martymac
-DISTNAME= tbb41_20130314oss_src
+DISTNAME= ${PORTNAME}${PORTVERSION:R:S/.//g}_20131118oss_src
EXTRACT_SUFX= .tgz
MAINTAINER= martymac@FreeBSD.org
@@ -22,7 +21,7 @@ USE_LDCONFIG= yes
USES= gmake
ALL_TARGET= default
-WRKSRC= ${WRKDIR}/tbb41_20130314oss
+WRKSRC= ${WRKDIR}/${DISTNAME:S/_src//}
post-extract:
.if ${CC} != "gcc"
@@ -36,19 +35,15 @@ post-patch:
do-install:
cd ${WRKSRC}; \
- ${INSTALL_DATA} build/FreeBSD*release/libtbb.so \
+ ${INSTALL_LIB} build/FreeBSD*release/libtbb.so \
${STAGEDIR}${PREFIX}/lib/libtbb.so.4; \
${LN} -sf ${PREFIX}/lib/libtbb.so.4 \
${STAGEDIR}${PREFIX}/lib/libtbb.so; \
- ${INSTALL_DATA} build/FreeBSD*release/libtbbmalloc.so \
+ ${INSTALL_LIB} build/FreeBSD*release/libtbbmalloc.so \
${STAGEDIR}${PREFIX}/lib/libtbbmalloc.so.4; \
${LN} -sf ${PREFIX}/lib/libtbbmalloc.so.4 \
${STAGEDIR}${PREFIX}/lib/libtbbmalloc.so; \
${MKDIR} ${STAGEDIR}${PREFIX}/include/tbb/; \
cd include/tbb/ && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/tbb/
-post-install:
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtbb.so.4
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libtbbmalloc.so.4
-
.include <bsd.port.mk>