freebsd-ports/misc/qt5-examples/Makefile
Tobias C. Berner ea7ceba707 Update Qt to 5.6.2 [1,2]
Thanks to the upstream work of Marie Loise Nolden, we could get rid of a handful
of patches, as they have been properly upstreamed. The rest of the work is just
some minor plist changes.

I would like to thank Loise <nolden@kde.org> for the upstream work, and Adriaan
<groot@kde.org> for getting the update into shape.

[1] http://blog.qt.io/blog/2016/10/12/qt-5-6-2-released/
[2] http://wiki.qt.io/Qt_5.6.2_Change_Files

PR: 213530
Exp-run by: antoine
Submitted by: Adriaan de Groot <groot@kde.org>
Reviewed by: rakuco, mat, tcberner
Approved by: rakuco (mentor)
Differential Revision: https://reviews.freebsd.org/D8228
2016-10-28 13:43:14 +00:00

46 lines
1.3 KiB
Makefile

# Created by: Marie Loise Nolden <nolden@kde.org>
# $FreeBSD$
PORTNAME= examples
DISTVERSION= ${QT5_VERSION}
CATEGORIES= misc
MASTER_SITES= QT/official_releases/qt/${QT5_VERSION:R}/${QT5_VERSION}/single
PKGNAMEPREFIX= qt5-
DISTNAME= qt-everywhere-opensource-src-${QT5_VERSION}
DIST_SUBDIR= KDE/Qt/${QT5_VERSION}
MAINTAINER= kde@FreeBSD.org
COMMENT= Qt 5 examples sourcecode
NO_ARCH= yes
NO_BUILD= yes
USES= tar:xz
USE_QT5= #
DESCR= ${.CURDIR:H:H}/devel/qt5/pkg-descr
DISTINFO_FILE= ${.CURDIR:H:H}/misc/qt5-doc/distinfo
EXAMPLESDIR= ${PREFIX}/share/examples/qt5
# The destination location depends on the values given in
# share/doc/qt5/<module>/examples-manifest.xml. The exception is
# qtscript and qtserialbus where the examples are looked up in $EXAMPLESDIR/.
# This way, the examples show up in qtcreator on the examples front page.
EXAMPLES= qt3d qtbase qtcanvas3d qtconnectivity qtdeclarative qtenginio \
qtlocation qtmultimedia qtquickcontrols qtquickcontrols2 \
qtscript qtsensors qtserialbus qtserialport qtsvg qttools \
qtwebchannel qtwebsockets qtxmlpatterns
.for example in ${EXAMPLES}
EXTRACT_AFTER_ARGS+= ${DISTNAME:C,\-[0-9]$,,}/${example}/examples
.endfor
do-install:
.for example in ${EXAMPLES}
cd ${WRKSRC}/${example}/examples && \
${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>