pkgsrc/x11/qt3-docs/Makefile
skrll ad3f9a41d8 Update QT3 to 3.2.3.
Far too many new features and bug fixes to list here. Includes a fix for
Hangul (Korean character) handling from Bang Jun-Young <junyoung at netbsd
dot org>. Thanks.

"Better late than never"
2003-12-19 15:43:31 +00:00

45 lines
1.4 KiB
Makefile

# $NetBSD: Makefile,v 1.13 2003/12/19 15:43:31 skrll Exp $
#
.include "../qt3-libs/Makefile.common"
PKGNAME= qt3-docs-${QTVERSION}
COMMENT= Documentation for the QT C++ X GUI toolkit
USE_BUILDLINK2= yes
BUILD_QT3= 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.TXT ${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/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"