2 PORTVERSION= ${QT6_VERSION}
4 MASTER_SITES= QT/official_releases/qt/${QT6_VERSION:R}/${QT6_VERSION}/single
6 DISTNAME= qt-everywhere-src-${QT6_VERSION}
7 #WRKSRC= ${WRKDIR}/qt-everywhere-src-${QT5_VERSION}
8 DIST_SUBDIR= KDE/Qt/${QT6_VERSION}
10 MAINTAINER= kde@FreeBSD.org
11 COMMENT= Qt 6 examples sourcecode
19 EXAMPLESDIR= ${PREFIX}/share/examples/qt6
20 # The destination location depends on the values given in
21 # share/doc/qt5/<module>/examples-manifest.xml. The exception is
22 # qtscript and qtserialbus where the examples are looked up in $EXAMPLESDIR/.
23 # This way, the examples show up in qtcreator on the examples front page.
25 _QT_DISTS= 3d 5compat activeqt base charts coap connectivity datavis3d \
26 declarative doc httpserver mqtt multimedia networkauth opcua \
27 positioning quick3d quick3dphysics remoteobjects scxml \
28 sensors serialbus serialport speech svg tools virtualkeyboard \
29 wayland webchannel webengine websockets webview
30 EXAMPLES= ${_QT_DISTS:C/^/qt/}
32 .for example in ${EXAMPLES}
33 EXTRACT_AFTER_ARGS+= ${DISTNAME:S/-opensource//}/${example}/examples
37 .for example in ${EXAMPLES}
38 cd ${WRKSRC}/${example}/examples && \
39 ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
42 .include <bsd.port.mk>