# Created by: Marie Loise Nolden # $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-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= qt:5 tar:xz USE_QT= # DESCR= ${.CURDIR:H:H}/devel/qt5/pkg-descr DISTINFO_FILE= ${.CURDIR}/distinfo EXAMPLESDIR= ${PREFIX}/share/examples/qt5 # The destination location depends on the values given in # share/doc/qt5//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 qtcharts qtconnectivity qtdeclarative \ qtgamepad qtlocation qtmultimedia qtpurchasing qtquickcontrols \ qtquickcontrols2 qtscript qtscxml qtsensors qtserialbus \ qtserialport qtsvg qttools qtvirtualkeyboard qtwebchannel \ qtwebsockets qtxmlpatterns .for example in ${EXAMPLES} EXTRACT_AFTER_ARGS+= ${DISTNAME}/${example}/examples .endfor do-install: .for example in ${EXAMPLES} cd ${WRKSRC}/${example}/examples && \ ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR} .endfor .include