diff options
author | skrll <skrll@pkgsrc.org> | 2002-01-07 08:10:34 +0000 |
---|---|---|
committer | skrll <skrll@pkgsrc.org> | 2002-01-07 08:10:34 +0000 |
commit | aa57c2214f7971125b445494ee647a0920c6ad6b (patch) | |
tree | 0e76c928afd70fe5e036770b548b212b712fcf01 /x11/qt3-docs/Makefile | |
parent | 9ae1408888d13d27d4a6ddd9f27f70a8d26a82ee (diff) | |
download | pkgsrc-aa57c2214f7971125b445494ee647a0920c6ad6b.tar.gz |
Initial import of qt3-docs-3.0.1. The documentation from QT3.
Diffstat (limited to 'x11/qt3-docs/Makefile')
-rw-r--r-- | x11/qt3-docs/Makefile | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/x11/qt3-docs/Makefile b/x11/qt3-docs/Makefile new file mode 100644 index 00000000000..e44ab7a3f26 --- /dev/null +++ b/x11/qt3-docs/Makefile @@ -0,0 +1,46 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/01/07 08:10:34 skrll Exp $ +# + +.include "../qt3-libs/Makefile.common" + +PKGNAME= qt3-docs-${QTVERSION} +COMMENT= Documentation for the QT C++ X GUI toolkit + +NO_BUILDLINK_ONLY= yes +BUILDLINK_DEPENDS.qt3-libs= qt3-libs-${QTVERSION} + +NO_PATCH= yes +NO_CONFIGURE= yes +NO_BUILD= yes + +do-install: + ${INSTALL_DATA_DIR} ${QTPREFIX}/doc + ${INSTALL_DATA_DIR} ${QTPREFIX}/man + ${INSTALL_MAN_DIR} ${QTPREFIX}/man/man3 + @cd ${WRKSRC}/doc/man/man3; PAGES="`ls -1 | ${SED} -e 's,3qt$$,3,'`"; \ + (for PAGE in $$PAGES; do \ + ${ECHO} installing ${QTPREFIX}/man/man3/$${PAGE}; \ + set - X `head -1 $${PAGE}qt`; \ + if [ $$# -eq 3 ] && [ "$$2" = .so ]; then \ + ${LN} -fs `basename $$3 | ${SED} s/qt$$//` \ + ${QTPREFIX}/man/man3/$${PAGE}; \ + else \ + ${INSTALL_MAN} $${PAGE}qt ${QTPREFIX}/man/man3/$${PAGE}; \ + fi; \ + done) + ${INSTALL_DATA_DIR} ${QTPREFIX}/doc/html + ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/README.QT ${QTPREFIX}/doc/html + cd ${WRKSRC}; \ + DOCDIRS="`${FIND} doc/html -type d -print | ${SORT}`"; \ + (for d in $${DOCDIRS}; do \ + ${ECHO} installing ${QTPREFIX}/$${d}; \ + ${INSTALL_DATA_DIR} ${QTPREFIX}/$${d}; \ + done) ; \ + DOCFILES="`${FIND} doc/html -type f -print | ${SORT}`"; \ + (for f in $${DOCFILES}; do \ + ${ECHO} installing ${QTPREFIX}/$${f}; \ + ${INSTALL_DATA} $${f} ${QTPREFIX}/$${f}; \ + done) + +.include "../../x11/qt3-libs/buildlink.mk" +.include "../../mk/bsd.pkg.mk" |