# Created by: Jean-Yves Lefort # $FreeBSD$ PORTREVISION= 2 BOOKS= gdk gtk PLIST= ${.CURDIR}/pkg-plist do-install: .for d in ${BOOKS} if [ -d ${REFERENCE_SRC}/${d}/html ]; then \ ${MKDIR} ${PREFIX}/share/doc/${d}3; \ cd ${REFERENCE_SRC}/${d}/html && \ ${FIND} * -type d ! -empty -exec ${MKDIR} "${PREFIX}/share/doc/${d}3/{}" \; && \ ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/share/doc/${d}3/{}" \; ; \ fi .endfor # overwrite this from bsd.port.mk, because we not don't honow DOCSDIR add-plist-docs: @${DO_NADA} .include "${.CURDIR}/../../devel/glib20-reference/bsd.gnome-reference.mk"