diff options
author | skrll <skrll@pkgsrc.org> | 2000-10-19 07:42:34 +0000 |
---|---|---|
committer | skrll <skrll@pkgsrc.org> | 2000-10-19 07:42:34 +0000 |
commit | 406d6f679831352537303469f7196c81bb3d9c11 (patch) | |
tree | 28c5738af83adefa0f1af51972e41f6b3b90c534 /x11/qt2-docs/Makefile | |
parent | 63335e5b422799ec72794e956351ea85cc09e95c (diff) | |
download | pkgsrc-406d6f679831352537303469f7196c81bb3d9c11.tar.gz |
Import new qt-2.2.1 package.
This is the documentation for the qt library and the qt designer.
Diffstat (limited to 'x11/qt2-docs/Makefile')
-rw-r--r-- | x11/qt2-docs/Makefile | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/x11/qt2-docs/Makefile b/x11/qt2-docs/Makefile new file mode 100644 index 00000000000..09ab3ed714c --- /dev/null +++ b/x11/qt2-docs/Makefile @@ -0,0 +1,34 @@ +# $NetBSD: Makefile,v 1.1.1.1 2000/10/19 07:42:34 skrll Exp $ +# + +PKGNAME= qt2-docs-2.2.1 + +.include "../qt2-libs/Makefile.common" + +DEPENDS+= qt2-libs-*:../../x11/qt2-libs + +NO_PATCH= yes +NO_CONFIGURE= yes +NO_BUILD= yes + +EVAL_PREFIX+= QT2DIR=qt2 +QTPREFIX= ${QT2DIR}/qt2 + +do-install: + ${INSTALL_DATA_DIR} ${QTPREFIX}/doc + ${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/README.QT ${QTPREFIX}/doc + ${INSTALL_DATA_DIR} ${QTPREFIX}/doc/man + ${INSTALL_MAN_DIR} ${QTPREFIX}/doc/man/man3 + @cd ${WRKSRC}/doc/man/man3; PAGES="`ls -1 | ${SED} -e 's,3qt$$,3,'`"; \ + (for PAGE in $$PAGES; do \ + ${ECHO} installing ${QTPREFIX}/doc/man/man3/$${PAGE}; \ + set - X `head -1 $${PAGE}qt`; \ + if [ $$# -eq 3 ] && [ "$$2" = .so ]; then \ + ${LN} -fs `basename $$3 | ${SED} s/qt$$//` \ + ${QTPREFIX}/doc/man/man3/$${PAGE}; \ + else \ + ${INSTALL_MAN} $${PAGE}qt ${QTPREFIX}/doc/man/man3/$${PAGE}; \ + fi; \ + done) + +.include "../../mk/bsd.pkg.mk" |