Manual tweak misc/edfbrowser
[dports.git] / misc / qt5-doc / Makefile
1 # Lock the port at 5.12.2 due to distfile changes: At the moment it seems like
2 # the documentation is no longer availble as a single tarball. So while we try
3 # to figure out whether to create a per-module -doc port or some other nastiness
4 # hold this port back at the last single-file version available.
5 # If you need up-to-date Qt Documentation, for now, use the the online one :)
6 QT5_VERSION=    5.12.2
7
8 PORTNAME=       doc
9 PORTVERSION=    ${QT5_VERSION}${QT5_KDE_PATCH}
10 CATEGORIES=     misc
11 MASTER_SITES=   QT/online/qtsdkrepository/linux_x64/desktop/qt5_${QT5_VERSION:S/.//g}_src_doc_examples/qt.qt5.${QT5_VERSION:S/.//g}.doc/
12 PKGNAMEPREFIX=  qt5-
13 DISTNAME=       ${QT5_VERSION}-0-201903121945qt-everywhere-documentation
14 DIST_SUBDIR=    KDE/Qt/${QT5_VERSION}
15
16 MAINTAINER=     kde@FreeBSD.org
17 COMMENT=        Qt 5 documentation
18 WWW=            https://www.qt.io/
19
20 WRKSRC=         ${WRKDIR}/Docs/Qt-${QT5_VERSION}
21
22 USES=           7z qt:5
23 USE_QT=         # we just need access to QT5_VERSION and other variables.
24
25 DESCR=          ${.CURDIR:H:H}/devel/qt5/pkg-descr
26 NO_ARCH=        yes
27 NO_BUILD=       yes
28
29 post-extract:
30         ${RM} ${WRKSRC}/Makefile
31         ${RM} -r ${WRKSRC}/global
32
33 do-install:
34         ${MKDIR} ${STAGEDIR}${QT_DOCDIR}
35         cd ${WRKSRC} && \
36                 ${COPYTREE_SHARE} \* ${STAGEDIR}${QT_DOCDIR}
37
38 .include <bsd.port.mk>