summaryrefslogtreecommitdiff
path: root/misc/qt5-examples/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'misc/qt5-examples/Makefile')
-rw-r--r--misc/qt5-examples/Makefile13
1 files changed, 7 insertions, 6 deletions
diff --git a/misc/qt5-examples/Makefile b/misc/qt5-examples/Makefile
index d01bd7da4e0e..a0031e337acd 100644
--- a/misc/qt5-examples/Makefile
+++ b/misc/qt5-examples/Makefile
@@ -4,7 +4,7 @@
PORTNAME= examples
DISTVERSION= ${QT5_VERSION}
CATEGORIES= misc
-MASTER_SITES= QT/official_releases/qt/${QT5_VERSION:R}/${QT5_VERSION}/single/
+MASTER_SITES= QT/official_releases/qt/${QT5_VERSION:R}/${QT5_VERSION}/${QT5_SUBDIR}/single/
PKGNAMEPREFIX= qt5-
DISTNAME= qt-everywhere-opensource-src-${QT5_VERSION}
DIST_SUBDIR= KDE/Qt/${QT5_VERSION}
@@ -19,6 +19,7 @@ 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
@@ -27,18 +28,18 @@ EXAMPLESDIR= ${PREFIX}/share/examples/qt5
# This way, the examples show up in qtcreator on the examples front page.
EXAMPLES= qt3d qtbase qtcanvas3d qtconnectivity qtdeclarative qtenginio \
- qtlocation qtmultimedia qtquickcontrols qtscript qtsensors \
- qtserialport qtsvg qttools qtwebchannel qtwebkit-examples \
- qtwebsockets qtxmlpatterns
+ qtlocation qtmultimedia qtquickcontrols qtquickcontrols2 \
+ qtscript qtsensors qtserialbus qtserialport qtsvg qttools \
+ qtwebchannel qtwebsockets qtxmlpatterns
.for example in ${EXAMPLES}
-EXTRACT_AFTER_ARGS+= ${DISTNAME}/${example}/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}
+ ${COPYTREE_SHARE} \* ${STAGEDIR}${EXAMPLESDIR}
.endfor
.include <bsd.port.mk>