2003-03-11 14:10:15 +01:00
|
|
|
# $NetBSD: Makefile,v 1.6 2003/03/11 13:10:31 markd Exp $
|
2002-07-17 13:12:52 +02:00
|
|
|
|
2003-03-11 14:10:15 +01:00
|
|
|
DISTNAME= kdelibs-3.1
|
|
|
|
PKGNAME= kdelibdocs-3.1
|
2002-07-17 13:12:52 +02:00
|
|
|
CATEGORIES= x11 devel
|
|
|
|
|
|
|
|
COMMENT= KDE library documentation
|
|
|
|
|
|
|
|
.include "../../x11/kde3/Makefile.kde3"
|
|
|
|
|
|
|
|
BUILD_DEPENDS+= kdoc>=3.0:../../textproc/kdoc
|
2003-03-11 14:10:15 +01:00
|
|
|
DEPENDS+= qt3-docs>=3.1.1:../../x11/qt3-docs
|
2002-07-17 13:12:52 +02:00
|
|
|
|
|
|
|
USE_X11BASE= yes
|
|
|
|
NO_CONFIGURE= yes
|
|
|
|
|
|
|
|
EVAL_PREFIX+= QT3DIR=qt3
|
|
|
|
DOCINSTALLDIR= ${X11PREFIX}/share/doc/kde/HTML/en
|
|
|
|
|
|
|
|
do-build:
|
|
|
|
${MKDIR} ${WRKDIR}/kdelibs
|
|
|
|
${SETENV} PATH=${LOCALBASE}/bin:${PATH} ${LOCALBASE}/bin/qt2kdoc \
|
|
|
|
--outdir=${WRKDIR}/kdelibs/kdoc-reference \
|
|
|
|
${QT3DIR}/qt3/doc/html
|
|
|
|
${SETENV} PATH=${LOCALBASE}/bin:${PATH} ${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"
|