aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormartymac <martymac@FreeBSD.org>2013-11-08 18:40:28 +0800
committermartymac <martymac@FreeBSD.org>2013-11-08 18:40:28 +0800
commitc1d986b013b3665bb31ae03f3413719b02bbef16 (patch)
tree120ce79623f568ecfcfa2a8242b60c277173a390 /devel
parent8ad0880c655fea933e892a99aaccfad8b301a013 (diff)
downloadfreebsd-ports-gnome-c1d986b013b3665bb31ae03f3413719b02bbef16.tar.gz
freebsd-ports-gnome-c1d986b013b3665bb31ae03f3413719b02bbef16.tar.zst
freebsd-ports-gnome-c1d986b013b3665bb31ae03f3413719b02bbef16.zip
- Enable staging
- Update USES - Strip libraries - Update WWW
Diffstat (limited to 'devel')
-rw-r--r--devel/tbb/Makefile22
-rw-r--r--devel/tbb/pkg-descr2
2 files changed, 15 insertions, 9 deletions
diff --git a/devel/tbb/Makefile b/devel/tbb/Makefile
index 57d77ed9ce13..55218851031d 100644
--- a/devel/tbb/Makefile
+++ b/devel/tbb/Makefile
@@ -3,6 +3,7 @@
PORTNAME= tbb
PORTVERSION= 4.1.3
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://threadingbuildingblocks.org/sites/default/files/software_releases/source/ \
LOCAL/martymac
@@ -18,12 +19,11 @@ ONLY_FOR_ARCHS= amd64 i386 ia64
ONLY_FOR_ARCHS_REASON= has not been ported to this platform
USE_LDCONFIG= yes
-USE_GMAKE= yes
+USES= gmake
ALL_TARGET= default
WRKSRC= ${WRKDIR}/tbb41_20130314oss
-NO_STAGE= yes
post-extract:
.if ${CC} != "gcc"
@${CP} ${WRKSRC}/build/FreeBSD.gcc.inc ${WRKSRC}/build/FreeBSD.${CC}.inc
@@ -37,12 +37,18 @@ post-patch:
do-install:
cd ${WRKSRC}; \
${INSTALL_DATA} build/FreeBSD*release/libtbb.so \
- ${PREFIX}/lib/libtbb.so.4; \
- ${LN} -fs ${PREFIX}/lib/libtbb.so.4 ${PREFIX}/lib/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 \
- ${PREFIX}/lib/libtbbmalloc.so.4; \
- ${LN} -fs ${PREFIX}/lib/libtbbmalloc.so.4 ${PREFIX}/lib/libtbbmalloc.so; \
- ${MKDIR} ${PREFIX}/include/tbb/; \
- cd include/tbb/ && ${COPYTREE_SHARE} \* ${PREFIX}/include/tbb/
+ ${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>
diff --git a/devel/tbb/pkg-descr b/devel/tbb/pkg-descr
index 0359b6987263..693df903cb4c 100644
--- a/devel/tbb/pkg-descr
+++ b/devel/tbb/pkg-descr
@@ -6,4 +6,4 @@ is not just a threads-replacement library. It represents a higher-level,
task-based parallelism that abstracts platform details and threading
mechanism for performance and scalability.
-WWW: http://tbb.sourceforge.net/
+WWW: http://threadingbuildingblocks.org/