zhuk 9f29712c9c Rework Qt5 documentation handling:
* Move share/qt5/doc/* in qtbase from -main to a separate subpackage,
    -global, which (as a bonus) "owns" share/doc/qt5/ directory;

  * Move FOO.index files from -html to a separate subpackage, -docindex,
    and make 'em depend on qtbase,-global;

  * Make DEP,-docindex automatically added as BDEP for each DEP in
    LDEP and BDEP mentioned for -main;

  * Make it clear that building -qch without -html is impossible;

While there, fixed a few minor issues.

This make at least qtenginio,-html build correctly, which failed before
due to missing .index files during qdoc run. Initial report from kili@.
2016-12-28 01:41:23 +00:00

24 lines
658 B
Makefile

# $OpenBSD: Makefile,v 1.2 2016/12/28 01:41:24 zhuk Exp $
QT5NAME = QtWebChannel
COMMENT-main = Qt5 seamless HTML/JavaScript integration
REVISION-qch = 0
REVISION-html = 0
SHARED_LIBS = Qt5WebChannel 1.0
MULTI_PACKAGES = -main -examples -qch -html -docindex
WANTLIB = GL Qt5Core Qt5Gui Qt5Network Qt5Qml Qt5Quick m pthread
BUILD_DEPENDS = x11/qt5/qtwebsockets>=${QT5_VERSION:R},<${QT5_NEXT_VERSION}
RUN_DEPENDS = x11/qt5/qtwebsockets>=${QT5_VERSION:R},<${QT5_NEXT_VERSION}
LIB_DEPENDS = x11/qt5/qtdeclarative>=${QT5_VERSION},<${QT5_NEXT_VERSION}
FLAVORS = debug
PSEUDO_FLAVORS = no_examples no_qch no_html
FLAVOR ?=
.include <bsd.port.mk>