Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Nov 2013 10:40:28 +0000 (UTC)
From:      Ganael LAPLANCHE <martymac@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333194 - head/devel/tbb
Message-ID:  <201311081040.rA8AeSQr037378@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: martymac
Date: Fri Nov  8 10:40:28 2013
New Revision: 333194
URL: http://svnweb.freebsd.org/changeset/ports/333194

Log:
  - Enable staging
  - Update USES
  - Strip libraries
  - Update WWW

Modified:
  head/devel/tbb/Makefile
  head/devel/tbb/pkg-descr   (contents, props changed)

Modified: head/devel/tbb/Makefile
==============================================================================
--- head/devel/tbb/Makefile	Fri Nov  8 10:37:42 2013	(r333193)
+++ head/devel/tbb/Makefile	Fri Nov  8 10:40:28 2013	(r333194)
@@ -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>

Modified: head/devel/tbb/pkg-descr
==============================================================================
--- head/devel/tbb/pkg-descr	Fri Nov  8 10:37:42 2013	(r333193)
+++ head/devel/tbb/pkg-descr	Fri Nov  8 10:40:28 2013	(r333194)
@@ -6,4 +6,4 @@ is not just a threads-replacement librar
 task-based parallelism that abstracts platform details and threading
 mechanism for performance and scalability.
 
-WWW: http://tbb.sourceforge.net/
+WWW: http://threadingbuildingblocks.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311081040.rA8AeSQr037378>