freebsd-ports/x11-toolkits/gtk20-reference/Makefile
Koop Mast 6da6b2d242 Rework the references ports for glib20, gtk20 and gtk30 again to fix the
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
2013-05-23 13:02:32 +00:00

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"