freebsd-ports/misc/qt5-doc/Makefile
Tobias C. Berner 1c35361b47 Update Qt5 to 5.12.2
- Thanks to kai for updating webengine.

Exp-run by:	antoine
PR:		236895
2019-04-05 20:50:59 +00:00

37 lines
1 KiB
Makefile

# Created by: Marie Loise Nolden <loise@kde.org>
# $FreeBSD$
PORTNAME= doc
DISTVERSION= ${QT5_VERSION}
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
WRKSRC= ${WRKDIR}/Docs/Qt-${QT5_VERSION}
# bsdtar(1) from 10.3 and earlier cannot read the distfile correctly:
# tar: Damaged 7-Zip archive
# Depend on p7zip across all versions because Uses/7z.mk does not work if
# included after bsd.port.pre.mk.
USES= 7z:p7zip 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>