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

32 lines
965 B
Makefile

# $OpenBSD: Makefile,v 1.2 2016/12/28 01:41:23 zhuk Exp $
QT5NAME = Qt3D
COMMENT-main = Qt5 components for 3D graphics
REVISION-qch = 0
REVISION-html = 0
MULTI_PACKAGES = -main -examples -qch -html -docindex
SHARED_LIBS += Qt53DCore 1.0
SHARED_LIBS += Qt53DInput 1.0
SHARED_LIBS += Qt53DLogic 1.0
SHARED_LIBS += Qt53DQuick 1.0
SHARED_LIBS += Qt53DQuickInput 1.0
SHARED_LIBS += Qt53DQuickRender 1.0
SHARED_LIBS += Qt53DRender 1.0
WANTLIB-main = ${WANTLIB}
WANTLIB-main += GL Qt5Concurrent Qt5Core Qt5Gui Qt5Network Qt5Qml
WANTLIB-main += Qt5Quick c m pthread z
BUILD_DEPENDS = x11/qt5/qtmultimedia>=${QT5_VERSION:R},<${QT5_NEXT_VERSION}
RUN_DEPENDS-examples = x11/qt5/qtmultimedia>=${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>