# Created by: Jean-Yves Lefort # $FreeBSD$ PORTREVISION= 1 BOOKS= gdk gtk PLIST= ${.CURDIR}/pkg-plist NO_STAGE= yes do-install: .for d in ${BOOKS} if [ -d ${REFERENCE_SRC}/${d}/html ]; then \ ${MKDIR} ${PREFIX}/share/doc/${d}2; \ cd ${REFERENCE_SRC}/${d}/html && \ ${FIND} * -type d ! -empty -exec ${MKDIR} "${PREFIX}/share/doc/${d}2/{}" \; && \ ${FIND} * -type f -exec ${INSTALL_DATA} "{}" "${PREFIX}/share/doc/${d}2/{}" \; ; \ 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"