pkgsrc/x11/kdelibdocs3/Makefile
2005-10-13 12:40:51 +00:00

36 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.32 2005/10/13 12:40:51 markd Exp $
DISTNAME= kdelibs-${_KDE_VERSION}
PKGNAME= kdelibdocs-${_KDE_VERSION}
CATEGORIES= x11 devel
COMMENT= KDE library documentation
.include "../../meta-pkgs/kde3/Makefile.kde3"
BUILD_DEPENDS+= doxygen>=1.4.5nb1:../../devel/doxygen
BUILD_DEPENDS+= graphviz-[0-9]*:../../graphics/graphviz
BUILD_DEPENDS+= qt3-docs>=3.1.1:../../x11/qt3-docs
BUILD_TARGET= apidox
INSTALL_TARGET= install-data-local
UNLIMIT_RESOURCES+= datasize
pre-install:
${MV} ${PREFIX}/share/doc/kde/HTML/en/kdelibs-apidocs/common \
${PREFIX}/share/doc/kde/HTML/en/kdelibs-apidocs/common.save
post-install:
cd ${WRKSRC}; \
DOCDIRS="arts dcop dnssd interfaces kabc kate kdecore kdefx kdeprint kdeui khtml kio kjs kmdi knewstuff kparts kresources kutils kwallet libkmid"; \
for d in $${DOCDIRS}; do \
(cd $${d}; ${GMAKE} install-apidox); \
done
${RM} ${PREFIX}/share/doc/kde/HTML/en/kdelibs-apidocs/common
${MV} ${PREFIX}/share/doc/kde/HTML/en/kdelibs-apidocs/common.save \
${PREFIX}/share/doc/kde/HTML/en/kdelibs-apidocs/common
.include "../../meta-pkgs/kde3/kde3.mk"
.include "../../x11/kdelibs3/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"