- Add a DOCS option to install documentation [1]

- Remove deprecated @dirrm

PR:		194216 [1]
Submitted by:	gahr [1]
This commit is contained in:
Ganael LAPLANCHE 2014-10-09 06:42:01 +00:00
parent 1a3853cac2
commit f6fa1b21c7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=370505
2 changed files with 6 additions and 4 deletions

View File

@ -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>

View File

@ -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