6da6b2d242
package breakage introduced in the previous commit. Add a SUFFUX to the install dir for reference ports for gtk20 and gtk30. This allows them both to be installed at the same time. Submitted by: QaT Pointyhat to: kwm
24 lines
640 B
Makefile
24 lines
640 B
Makefile
# Created by: Jean-Yves Lefort <jylefort@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTREVISION= 1
|
|
|
|
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}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"
|