Changeset View
Changeset View
Standalone View
Standalone View
misc/qt5-doc/Makefile
| # Created by: Marie Loise Nolden <nolden@kde.org> | # Created by: Marie Loise Nolden <nolden@kde.org> | ||||
| # $FreeBSD$ | # $FreeBSD$ | ||||
| PORTNAME= doc | PORTNAME= doc | ||||
| DISTVERSION= ${QT5_VERSION} | DISTVERSION= ${QT5_VERSION} | ||||
| CATEGORIES= misc | CATEGORIES= misc | ||||
| MASTER_SITES= QT/official_releases/qt/${QT5_VERSION:R}/${QT5_VERSION}/single | MASTER_SITES= QT/official_releases/qt/${QT5_VERSION:R}/${QT5_VERSION}/single | ||||
| PKGNAMEPREFIX= qt5- | PKGNAMEPREFIX= qt5- | ||||
| DISTNAME= qt-everywhere-opensource-src-${QT5_VERSION} | DISTNAME= qt-everywhere-opensource-src-${QT5_VERSION} | ||||
| DIST_SUBDIR= KDE/Qt/${QT5_VERSION} | DIST_SUBDIR= KDE/Qt/${QT5_VERSION} | ||||
| MAINTAINER= kde@FreeBSD.org | MAINTAINER= kde@FreeBSD.org | ||||
| COMMENT= Qt 5 documentation | COMMENT= Qt 5 documentation | ||||
| USES= gmake python:build qmake:norecursive,outsource tar:xz | USES= gmake python:build qmake:norecursive,outsource tar:xz | ||||
| USE_QT5= buildtools_build concurrent_build help_build qdoc_build | USE_QT5= buildtools_build concurrent_build help_build qdoc_build \ | ||||
| sql_build sql-sqlite3_build | |||||
| QMAKE_SOURCE_PATH= ${WRKSRC}/qt.pro | QMAKE_SOURCE_PATH= ${WRKSRC}/qt.pro | ||||
| ALL_TARGET= docs | ALL_TARGET= docs | ||||
| DESCR= ${.CURDIR:H:H}/devel/qt5/pkg-descr | DESCR= ${.CURDIR:H:H}/devel/qt5/pkg-descr | ||||
| NO_ARCH= yes | NO_ARCH= yes | ||||
| # The default qconfig.pri that qmake reads comes from devel/qt5-core and thus | # The default qconfig.pri that qmake reads comes from devel/qt5-core and thus | ||||
| # disables a lot of items. We re-enable the most important ones below so that | # disables a lot of items. We re-enable the most important ones below so that | ||||
| # we do not end up without documentation for QtGui and QtWidgets. | # we do not end up without documentation for QtGui and QtWidgets. | ||||
| QMAKE_ARGS= QT_CONFIG-="no-gui no-widgets" | QMAKE_ARGS= QT_CONFIG-="no-gui no-widgets" | ||||
| # We need to invoke the qmake symlink we create in the pre-configure target so | # We need to invoke the qmake symlink we create in the pre-configure target so | ||||
| # that it reads the qt.conf installed alongside it. | # that it reads the qt.conf installed alongside it. | ||||
| _QMAKE= ${BUILD_WRKSRC}/qtbase/bin/qmake | _QMAKE= ${BUILD_WRKSRC}/qtbase/bin/qmake | ||||
| # There is a bug, which leads to a file being generated / not generated non-deterministically. | |||||
| # An upstream bug report suggests, that passing QT_HASH_SEED=0 to the environment can work around | |||||
| # the issue: https://bugreports.qt.io/browse/QTBUG-42071 | |||||
| MAKE_ENV+= QT_HASH_SEED=0 | |||||
| SUB_FILES= qt.conf | SUB_FILES= qt.conf | ||||
| SUB_LIST= BUILD_WRKSRC=${BUILD_WRKSRC} \ | SUB_LIST= BUILD_WRKSRC=${BUILD_WRKSRC} \ | ||||
| QT_DOCDIR=${QT_DOCDIR} | QT_DOCDIR=${QT_DOCDIR} | ||||
| pre-configure: apply-slist | pre-configure: apply-slist | ||||
| ${MKDIR} ${BUILD_WRKSRC}/qtbase/bin | ${MKDIR} ${BUILD_WRKSRC}/qtbase/bin | ||||
| ${LN} -sf ${MOC} ${BUILD_WRKSRC}/qtbase/bin/moc | ${LN} -sf ${MOC} ${BUILD_WRKSRC}/qtbase/bin/moc | ||||
| Show All 19 Lines | |||||