Hi,

appended another patch for qt assistant to include documentation 
(in conjunction with the qdoc patch posted earlier)

I think as a first step to generate the Qt docs and include it, the tools can 
have them already build so the qt5-doc port will only contain the docs to the 
libraries. Building those togehter with the libraries won't work unless qdoc 
is installed, so that would create a loop.

If that is what we would want, I'd create some patches for designer and 
linguist as well.


-- 
Kind regards,

Ralf Nolden
Index: Makefile
===================================================================
--- Makefile	(Revision 411328)
+++ Makefile	(Arbeitskopie)
@@ -9,9 +9,9 @@
 COMMENT=	Qt 5 documentation browser
 
 USE_QT5=	core gui help network printsupport sql webkit widgets \
-		buildtools_build sql-sqlite3_run
+		buildtools_build sql-sqlite3_run qdoc
 QT_DIST=	tools
-USES=		qmake
+USES=		qmake 
 
 DESKTOP_ENTRIES="Qt 5 Assistant" "" \
 		"${PREFIX}/share/pixmaps/assistant-qt5.png" \
@@ -21,8 +21,14 @@
 BUILD_WRKSRC=	${WRKSRC}/src/${PORTNAME}/${PORTNAME}
 INSTALL_WRKSRC=	${WRKSRC}/src/${PORTNAME}/${PORTNAME}
 
+post-build:
+	cd ${BUILD_WRKSRC};\
+	${MAKE_CMD} docs
+	
 post-install:
 	${INSTALL_DATA} ${INSTALL_WRKSRC}/images/assistant-128.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/assistant-qt5.png
+	cd ${BUILD_WRKSRC};\
+	${MAKE_CMD} INSTALL_ROOT=${STAGEDIR} install_docs
 
 .include <bsd.port.mk>
Index: pkg-plist
===================================================================
--- pkg-plist	(Revision 411328)
+++ pkg-plist	(Arbeitskopie)
@@ -1,2 +1,33 @@
 %%QT_BINDIR%%/assistant
+%%QT_DOCDIR%%/qtassistant.qch
+%%QT_DOCDIR%%/qtassistant/assistant-custom-help-viewer.html
+%%QT_DOCDIR%%/qtassistant/assistant-details.html
+%%QT_DOCDIR%%/qtassistant/assistant-quick-guide.html
+%%QT_DOCDIR%%/qtassistant/examples-qtassistant.html
+%%QT_DOCDIR%%/qtassistant/images/arrow_bc.png
+%%QT_DOCDIR%%/qtassistant/images/assistant-assistant.png
+%%QT_DOCDIR%%/qtassistant/images/assistant-bookmarks.png
+%%QT_DOCDIR%%/qtassistant/images/assistant-dockwidgets.png
+%%QT_DOCDIR%%/qtassistant/images/assistant-examples.png
+%%QT_DOCDIR%%/qtassistant/images/assistant-index.png
+%%QT_DOCDIR%%/qtassistant/images/assistant-preferences-documentation.png
+%%QT_DOCDIR%%/qtassistant/images/assistant-preferences-filters.png
+%%QT_DOCDIR%%/qtassistant/images/assistant-preferences-fonts.png
+%%QT_DOCDIR%%/qtassistant/images/assistant-preferences-options.png
+%%QT_DOCDIR%%/qtassistant/images/assistant-search.png
+%%QT_DOCDIR%%/qtassistant/images/bgrContent.png
+%%QT_DOCDIR%%/qtassistant/images/btn_next.png
+%%QT_DOCDIR%%/qtassistant/images/btn_prev.png
+%%QT_DOCDIR%%/qtassistant/images/bullet_dn.png
+%%QT_DOCDIR%%/qtassistant/images/bullet_sq.png
+%%QT_DOCDIR%%/qtassistant/images/home.png
+%%QT_DOCDIR%%/qtassistant/images/ico_note.png
+%%QT_DOCDIR%%/qtassistant/images/ico_note_attention.png
+%%QT_DOCDIR%%/qtassistant/images/ico_out.png
+%%QT_DOCDIR%%/qtassistant/images/logo.png
+%%QT_DOCDIR%%/qtassistant/qtassistant-index.html
+%%QT_DOCDIR%%/qtassistant/qtassistant.index
+%%QT_DOCDIR%%/qtassistant/qtassistant.qhp
+%%QT_DOCDIR%%/qtassistant/qtassistant.qhp.sha1
+%%QT_DOCDIR%%/qtassistant/style/offline.css
 share/pixmaps/assistant-qt5.png
_______________________________________________
kde-freebsd mailing list
kde-freebsd@kde.org
https://mail.kde.org/mailman/listinfo/kde-freebsd
See also http://freebsd.kde.org/ for latest information

Reply via email to