Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Oct 2014 06:42:02 +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: r370505 - head/devel/tbb
Message-ID:  <201410090642.s996g2i5090670@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: martymac
Date: Thu Oct  9 06:42:01 2014
New Revision: 370505
URL: https://svnweb.freebsd.org/changeset/ports/370505
QAT: https://qat.redports.org/buildarchive/r370505/

Log:
  - Add a DOCS option to install documentation [1]
  - Remove deprecated @dirrm
  
  PR:		194216 [1]
  Submitted by:	gahr [1]

Modified:
  head/devel/tbb/Makefile
  head/devel/tbb/pkg-plist

Modified: head/devel/tbb/Makefile
==============================================================================
--- head/devel/tbb/Makefile	Thu Oct  9 06:28:14 2014	(r370504)
+++ head/devel/tbb/Makefile	Thu Oct  9 06:42:01 2014	(r370505)
@@ -3,6 +3,7 @@
 
 PORTNAME=	tbb
 PORTVERSION=	4.3.0
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://threadingbuildingblocks.org/sites/default/files/software_releases/source/ \
 		LOCAL/martymac
@@ -13,6 +14,9 @@ COMMENT=	Library that provides thread bu
 
 LICENSE=	GPLv2
 
+OPTIONS_DEFINE=	DOCS
+PORTDOCS=	*
+
 ONLY_FOR_ARCHS=	amd64 i386 ia64
 ONLY_FOR_ARCHS_REASON=	has not been ported to this platform
 
@@ -50,5 +54,7 @@ do-install:
 		${STAGEDIR}${PREFIX}/lib/libtbbmalloc.so; \
 	${MKDIR} ${STAGEDIR}${PREFIX}/include/tbb/; \
 	cd include/tbb/ && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/include/tbb/
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	cd ${WRKSRC}/doc/html && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.post.mk>

Modified: head/devel/tbb/pkg-plist
==============================================================================
--- head/devel/tbb/pkg-plist	Thu Oct  9 06:28:14 2014	(r370504)
+++ head/devel/tbb/pkg-plist	Thu Oct  9 06:42:01 2014	(r370505)
@@ -99,7 +99,3 @@ lib/libtbb.so
 lib/libtbb.so.4
 lib/libtbbmalloc.so
 lib/libtbbmalloc.so.4
-@dirrm include/tbb/internal
-@dirrm include/tbb/machine
-@dirrm include/tbb/compat
-@dirrm include/tbb



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