Changeset View
Changeset View
Standalone View
Standalone View
head/misc/qt5-examples/Makefile
Show All 21 Lines | |||||
DISTINFO_FILE= ${.CURDIR:H:H}/misc/qt5-doc/distinfo | DISTINFO_FILE= ${.CURDIR:H:H}/misc/qt5-doc/distinfo | ||||
EXAMPLESDIR= ${PREFIX}/share/examples/qt5 | EXAMPLESDIR= ${PREFIX}/share/examples/qt5 | ||||
# The destination location depends on the values given in | # The destination location depends on the values given in | ||||
# share/doc/qt5/<module>/examples-manifest.xml. The exception is | # share/doc/qt5/<module>/examples-manifest.xml. The exception is | ||||
# qtscript and qtserialbus where the examples are looked up in $EXAMPLESDIR/. | # qtscript and qtserialbus where the examples are looked up in $EXAMPLESDIR/. | ||||
# This way, the examples show up in qtcreator on the examples front page. | # This way, the examples show up in qtcreator on the examples front page. | ||||
EXAMPLES= qt3d qtbase qtcanvas3d qtconnectivity qtdeclarative qtenginio \ | EXAMPLES= qt3d qtbase qtcanvas3d qtcharts qtconnectivity qtdeclarative \ | ||||
qtlocation qtmultimedia qtquickcontrols qtquickcontrols2 \ | qtgamepad qtlocation qtmultimedia qtpurchasing qtquickcontrols \ | ||||
qtscript qtsensors qtserialbus qtserialport qtsvg qttools \ | qtquickcontrols2 qtscript qtscxml qtsensors qtserialbus \ | ||||
qtwebchannel qtwebsockets qtxmlpatterns | qtserialport qtsvg qttools qtvirtualkeyboard qtwebchannel \ | ||||
qtwebsockets qtxmlpatterns | |||||
.for example in ${EXAMPLES} | .for example in ${EXAMPLES} | ||||
EXTRACT_AFTER_ARGS+= ${DISTNAME:C,\-[0-9]$,,}/${example}/examples | EXTRACT_AFTER_ARGS+= ${DISTNAME}/${example}/examples | ||||
.endfor | .endfor | ||||
do-install: | do-install: | ||||
.for example in ${EXAMPLES} | .for example in ${EXAMPLES} | ||||
cd ${WRKSRC}/${example}/examples && \ | cd ${WRKSRC}/${example}/examples && \ | ||||
${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR} | ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR} | ||||
.endfor | .endfor | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |