diff options
author | skrll <skrll@pkgsrc.org> | 2001-12-04 12:36:53 +0000 |
---|---|---|
committer | skrll <skrll@pkgsrc.org> | 2001-12-04 12:36:53 +0000 |
commit | 31b5c286648279425feaa27484a9639b6454bb9b (patch) | |
tree | c715ec22434841cd1bfc6ab79bd6fbf0ec983762 /x11/kdelibdocs2/Makefile | |
parent | 3d02b6c8c78142bf18b6d6099b3e4e4a299c9827 (diff) | |
download | pkgsrc-31b5c286648279425feaa27484a9639b6454bb9b.tar.gz |
Redo this pkg so that it generates the documentation from kdelibs sources
Diffstat (limited to 'x11/kdelibdocs2/Makefile')
-rw-r--r-- | x11/kdelibdocs2/Makefile | 50 |
1 files changed, 34 insertions, 16 deletions
diff --git a/x11/kdelibdocs2/Makefile b/x11/kdelibdocs2/Makefile index 3e81926badb..5c3ae6b42c6 100644 --- a/x11/kdelibdocs2/Makefile +++ b/x11/kdelibdocs2/Makefile @@ -1,24 +1,42 @@ -# $NetBSD: Makefile,v 1.2 2001/11/13 21:29:20 jlam Exp $ +# $NetBSD: Makefile,v 1.3 2001/12/04 12:36:53 skrll Exp $ -DISTNAME= kdelibdocs_kdoc2-1.1 -PKGNAME= kdelibdocs-2.1 +DISTNAME= kdelibs-2.2.2 +PKGNAME= ${DISTNAME:S/kdelib/kdelibdoc/} CATEGORIES= x11 devel -MASTER_SITES= ftp://ftp.kdevelop.org/pub/kdevelop/ - -MAINTAINER= packages@netbsd.org -HOMEPAGE= http://www.kdevelop.org/ COMMENT= KDE library documentation -DEPENDS+= qt2-docs>=2.2.4:../../x11/qt2-docs +.include "../../x11/kde2/Makefile.kde2" + +BUILD_DEPENDS+= kdoc>=2.2.2:../../textproc/kdoc2 +DEPENDS+= qt2-docs>=2.3.1:../../x11/qt2-docs + +USE_X11BASE= yes +NO_CONFIGURE= yes + +EVAL_PREFIX+= QT2DIR=qt2 +DOCINSTALLDIR= ${X11BASE}/share/doc/kde/HTML/en -BUILD_USES_MSGFMT= YES -USE_BUILDLINK_ONLY= YES -USE_GMAKE= YES +do-build: + ${MKDIR} ${WRKDIR}/kdelibs + ${LOCALBASE}/bin/qt2kdoc \ + --outdir=${WRKDIR}/kdelibs \ + ${QT2DIR}/qt2/doc/html + ${LOCALBASE}/bin/makekdedoc \ + --srcdir=${WRKSRC} \ + --outputdir=${WRKDIR}/kdelibs \ + --libdir=${WRKDIR}/kdelibs -GNU_CONFIGURE= YES -CONFIGURE_ARGS+= --with-qtdoc-dir=${QTDIR}/qt2/doc/html +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 "../../x11/kde2/buildlink.mk" -.include "../../x11/kdelibs2/buildlink.mk" -.include "../../mk/x11.buildlink.mk" .include "../../mk/bsd.pkg.mk" |