aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormartymac <martymac@FreeBSD.org>2014-10-09 14:42:01 +0800
committermartymac <martymac@FreeBSD.org>2014-10-09 14:42:01 +0800
commit306d277e08349d0a5d7d2286814f5543ac0eac1a (patch)
tree9d5873e09cf16b682413f9d0a4f7f970682b14cc /devel
parentb81d7a9a516e7dced47a0ee344b25c0d44346d83 (diff)
downloadfreebsd-ports-gnome-306d277e08349d0a5d7d2286814f5543ac0eac1a.tar.gz
freebsd-ports-gnome-306d277e08349d0a5d7d2286814f5543ac0eac1a.tar.zst
freebsd-ports-gnome-306d277e08349d0a5d7d2286814f5543ac0eac1a.zip
- Add a DOCS option to install documentation [1]
- Remove deprecated @dirrm PR: 194216 [1] Submitted by: gahr [1]
Diffstat (limited to 'devel')
-rw-r--r--devel/tbb/Makefile6
-rw-r--r--devel/tbb/pkg-plist4
2 files changed, 6 insertions, 4 deletions
diff --git a/devel/tbb/Makefile b/devel/tbb/Makefile
index 6d6c3249e15e..148a596fd9b8 100644
--- a/devel/tbb/Makefile
+++ b/devel/tbb/Makefile
@@ -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 building blocks
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>
diff --git a/devel/tbb/pkg-plist b/devel/tbb/pkg-plist
index ac7c69a6429e..0b94cb750ce2 100644
--- a/devel/tbb/pkg-plist
+++ b/devel/tbb/pkg-plist
@@ -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