mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
26 lines
654 B
Makefile
26 lines
654 B
Makefile
# Created by: Jean-Yves Lefort <jylefort@FreeBSD.org>
|
|
# $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"
|