freebsd-ports/devel/boost-docs/Makefile
Baptiste Daroussin 3f6692467b - update to 1.52.0
- pass maintainership to office@
- detect if compiler is gcc or clang and correctly set the toolset for bjam
- enable long-double support
- some cleanup

Approved by:	maintainer timeout (3 weeks with no reply)
2013-01-31 13:33:04 +00:00

32 lines
913 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
.include "${.CURDIR}/..//boost-all/common.mk"
do-install:
# Documentation & examples
@${MKDIR} ${DOCSDIR}
@cd ${WRKSRC} &&\
${FIND} . -name "*.htm" -o -name "*.html" -o -name "*.css"\
-o -name "*.jp*g" -o -name "*.png" -o -name "*.gif"\
| ${PAX} -rw ${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 ${DOCSDIR}/libs
@${FIND} ${DOCSDIR} -type f -exec ${CHMOD} 0444 {} \;
@${FIND} ${DOCSDIR} -type d -exec ${CHMOD} 0755 {} \;
.include <bsd.port.mk>