pkgsrc/x11/kdelibdocs2/Makefile
fredb b48eba1112 Give all packages which depend on "png" a version bump, and update
all dependencies on packages depending on "png" which contain shared
libraries, all for the (imminent) update to the "png" package.
[List courtesy of John Darrow, courtesy of "bulk-build".]
2002-03-13 17:36:35 +00:00

43 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.6 2002/03/13 17:37:58 fredb Exp $
DISTNAME= kdelibs-2.2.2
PKGNAME= ${DISTNAME:S/kdelib/kdelibdoc/}
PKGREVISION= 1
CATEGORIES= x11 devel
COMMENT= KDE library documentation
.include "../../x11/kde2/Makefile.kde2"
BUILD_DEPENDS+= kdoc>=2.2.2:../../textproc/kdoc
DEPENDS+= qt2-docs>=2.3.1nb2:../../x11/qt2-docs
USE_X11BASE= yes
NO_CONFIGURE= yes
EVAL_PREFIX+= QT2DIR=qt2
DOCINSTALLDIR= ${X11BASE}/share/doc/kde/HTML/en
do-build:
${MKDIR} ${WRKDIR}/kdelibs
${LOCALBASE}/bin/qt2kdoc \
--outdir=${WRKDIR}/kdelibs/kdoc-reference \
${QT2DIR}/qt2/doc/html
${LOCALBASE}/bin/makekdedoc \
--srcdir=${WRKSRC} \
--outputdir=${WRKDIR}/kdelibs \
--libdir=${WRKDIR}/kdelibs/kdoc-reference
do-install:
cd ${WRKDIR}; \
DOCDIRS="`${FIND} kdelibs -type d -print | ${SORT}`"; \
for d in $${DOCDIRS}; do \
${ECHO} creating directory ${DOCINSTALLDIR}/$${d}; \
${INSTALL_DATA_DIR} ${DOCINSTALLDIR}/$${d}; \
done ; \
DOCFILES="`${FIND} kdelibs -type f -print | ${SORT}`"; \
(for f in $${DOCFILES}; do \
${ECHO} installing ${DOCINSTALLDIR}/$${f}; \
${INSTALL_DATA} $${f} ${DOCINSTALLDIR}/$${f}; \
done)
.include "../../mk/bsd.pkg.mk"