aboutsummaryrefslogtreecommitdiff
path: root/devel/qt5-qdoc-data/Makefile
blob: ea5faac93858a91c9ef2cd4d38835f7629006d4b (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
# While this port is part of the Qt distribution itself, we do not set
# QT_DIST=yes because it brings in several patches and targets that are not
# needed; this port only installs some static files.

PORTNAME=	qdoc-data
DISTVERSION=	${QT5_VERSION}
CATEGORIES=	devel textproc
MASTER_SITES=	QT/official_releases/qt/${QT5_VERSION:R}/${QT5_VERSION}/submodules/
PKGNAMEPREFIX=	qt5-
DISTNAME=	qtbase-everywhere-opensource-src-${QT5_VERSION}
WRKSRC=		${WRKDIR}/qtbase-everywhere-src-${QT5_VERSION}
DIST_SUBDIR=	KDE/Qt/${QT5_VERSION}

MAINTAINER=	kde@FreeBSD.org
COMMENT=	QDoc configuration files
WWW=		https://www.qt.io/

LICENSE=	GFDL
LICENSE_FILE=	${WRKSRC}/LICENSE.FDL

USES=		qt:5 tar:xz
USE_QT=		# empty

EXTRACT_AFTER_ARGS=	--include ${DISTNAME:S/-opensource//}/LICENSE.FDL \
			--include ${DISTNAME:S/-opensource//}/doc

NO_ARCH=	yes
NO_BUILD=	yes

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

do-install:
	${MKDIR} ${STAGEDIR}${QT_DOCDIR} && \
		cd ${WRKSRC}/doc/global && \
		${COPYTREE_SHARE} \* ${STAGEDIR}${PREFIX}/${QT_DOCDIR_REL}/global

.include <bsd.port.mk>