summaryrefslogtreecommitdiff
path: root/misc/qt5-doc/Makefile
blob: f8372e69f1b2cf049e64b390ffa184a3f5d15fda (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Lock the port at 5.12.2 due to distfile changes: At the moment it seems like
# the documentation is no longer availble as a single tarball. So while we try
# to figure out whether to create a per-module -doc port or some other nastiness
# hold this port back at the last single-file version available.
# If you need up-to-date Qt Documentation, for now, use the the online one :)
QT5_VERSION=	5.12.2

PORTNAME=	doc
PORTVERSION=	${QT5_VERSION}${QT5_KDE_PATCH}
CATEGORIES=	misc
MASTER_SITES=	QT/online/qtsdkrepository/linux_x64/desktop/qt5_${QT5_VERSION:S/.//g}_src_doc_examples/qt.qt5.${QT5_VERSION:S/.//g}.doc/
PKGNAMEPREFIX=	qt5-
DISTNAME=	${QT5_VERSION}-0-201903121945qt-everywhere-documentation
DIST_SUBDIR=	KDE/Qt/${QT5_VERSION}

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Qt 5 documentation
WWW=		https://www.qt.io/

WRKSRC=		${WRKDIR}/Docs/Qt-${QT5_VERSION}

USES=		7z qt:5
USE_QT=		# we just need access to QT5_VERSION and other variables.

DESCR=		${.CURDIR:H:H}/devel/qt5/pkg-descr
NO_ARCH=	yes
NO_BUILD=	yes

post-extract:
	${RM} ${WRKSRC}/Makefile
	${RM} -r ${WRKSRC}/global

do-install:
	${MKDIR} ${STAGEDIR}${QT_DOCDIR}
	cd ${WRKSRC} && \
		${COPYTREE_SHARE} \* ${STAGEDIR}${QT_DOCDIR}

.include <bsd.port.mk>