mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
e1bfdfbe56
Also various fixes related to said option. PR: 230864 Submitted by: mat exp-runs by: antoine
32 lines
857 B
Makefile
32 lines
857 B
Makefile
# Created by: Alexander Churanov <churanov.port.maintainer@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= boost-docs
|
|
COMMENT= Documentation for libraries from boost.org
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/boost
|
|
UNIQ= /usr/bin/uniq
|
|
|
|
NO_BUILD= yes
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include "${.CURDIR}/..//boost-all/common.mk"
|
|
|
|
do-install:
|
|
# Documentation & examples
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
@cd ${WRKSRC} &&\
|
|
${FIND} . -name "*.htm" -o -name "*.html" -o -name "*.css"\
|
|
-o -name "*.jp*g" -o -name "*.png" -o -name "*.gif"\
|
|
| ${PAX} -rw ${STAGEDIR}${DOCSDIR}
|
|
@cd ${WRKSRC}/libs &&\
|
|
${FIND} . -name "example" -o -name "examples" -o -name "*example*.cpp"\
|
|
-o -name "*example*.c" -o -name "*example*.hpp" | ${UNIQ} |\
|
|
${GREP} -v "assign/test" | ${GREP} -v "iterator/test" | \
|
|
${GREP} -v "range/test" |\
|
|
${PAX} -rw ${STAGEDIR}${DOCSDIR}/libs
|
|
|
|
.include <bsd.port.mk>
|