Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Apr 2018 17:11:22 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r468283 - in head: . audio/simon finance/qhacc x11-toolkits x11-toolkits/qwt6 x11-toolkits/qwt6-designerplugin x11-toolkits/qwt6/files x11/leechcraft x11/leechcraft/files
Message-ID:  <201804251711.w3PHBMTN060387@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Wed Apr 25 17:11:22 2018
New Revision: 468283
URL: https://svnweb.freebsd.org/changeset/ports/468283

Log:
  x11-toolkits/qwt6 -- flavorize, with qt4 and qt5 variants
  
  Submitted by:	lbartoletti@tuxfamily.org (maintainer)
  Approved by:	portmgr (mat)
  Differential Revision:	https://reviews.freebsd.org/D14462

Added:
  head/x11-toolkits/qwt6/files/patch-designer_designer.pro   (contents, props changed)
  head/x11/leechcraft/files/patch-cmake_FindQwt.cmake   (contents, props changed)
Deleted:
  head/x11-toolkits/qwt6-designerplugin/
Modified:
  head/MOVED
  head/audio/simon/Makefile
  head/finance/qhacc/Makefile
  head/x11-toolkits/Makefile
  head/x11-toolkits/qwt6/Makefile
  head/x11-toolkits/qwt6/files/patch-qwtconfig.pri
  head/x11-toolkits/qwt6/pkg-descr
  head/x11-toolkits/qwt6/pkg-plist
  head/x11/leechcraft/Makefile

Modified: head/MOVED
==============================================================================
--- head/MOVED	Wed Apr 25 16:42:37 2018	(r468282)
+++ head/MOVED	Wed Apr 25 17:11:22 2018	(r468283)
@@ -10180,3 +10180,4 @@ devel/subversion18|devel/subversion|2018-04-19|Has exp
 math/rkward-kde4|math/rkward-kde|2018-04-21|No more specific to KDE4
 devel/py-msgpack-python|devel/py-msgpack|2018-04-22|Upstream renamed package name on PyPI from msgpack-python to msgpack since 0.5
 deskutils/py-pycarddav|www/pycarddav|2018-04-23|Remove dupplicate port
+x11-toolkits/qwt6-designerplugin||2018-04-25|Merged with x11-toolkits/qwt6

Modified: head/audio/simon/Makefile
==============================================================================
--- head/audio/simon/Makefile	Wed Apr 25 16:42:37 2018	(r468282)
+++ head/audio/simon/Makefile	Wed Apr 25 17:11:22 2018	(r468283)
@@ -3,7 +3,7 @@
 
 PORTNAME=	simon
 PORTVERSION=	0.4.1
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	audio kde
 MASTER_SITES=	KDE/stable/${PORTNAME}/${PORTVERSION}/src
 DIST_SUBDIR=	KDE
@@ -15,7 +15,7 @@ LIB_DEPENDS=	libasound.so:audio/alsa-lib \
 		libsamplerate.so:audio/libsamplerate \
 		libpocketsphinx.so:audio/pocketsphinx \
 		libsphinxad.so:audio/sphinxbase \
-		libqwt6.so:x11-toolkits/qwt6
+		libqwt6.so:x11-toolkits/qwt6@qt4
 
 USES=		cmake:outsource gettext kde:4 tar:bz2
 USE_KDE=	kdelibs automoc4 pimlibs

Modified: head/finance/qhacc/Makefile
==============================================================================
--- head/finance/qhacc/Makefile	Wed Apr 25 16:42:37 2018	(r468282)
+++ head/finance/qhacc/Makefile	Wed Apr 25 17:11:22 2018	(r468283)
@@ -3,7 +3,7 @@
 
 PORTNAME=	qhacc
 PORTVERSION=	4.3
-PORTREVISION=	4
+PORTREVISION=	5
 CATEGORIES=	finance
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
 
@@ -14,7 +14,7 @@ LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 LIB_DEPENDS=	libgpgme.so:security/gpgme \
-		libqwt6.so:x11-toolkits/qwt6
+		libqwt6.so:x11-toolkits/qwt6@qt4
 
 USES=		compiler:c++11-lib qmake:norecursive tar:tgz
 USE_QT4=	corelib gui sql moc_build rcc_build uic_build
@@ -28,8 +28,8 @@ OPTIONS_DEFINE=	DOCS
 post-patch:
 	@${REINPLACE_CMD} -e \
 		'/^INSTALLDIR/s|=.*|=${DATADIR}| ; \
-		 /^QWTINCS/s|=.*|=${LOCALBASE}/include/qwt6| ; \
-		 /^QWTLIBS/s|=.*|=${LOCALBASE}/lib -lqwt6| ; \
+		 /^QWTINCS/s|=.*|=${QT_INCDIR}/qwt6| ; \
+		 /^QWTLIBS/s|=.*|=${QT_LIBDIR} -lqwt6| ; \
 		 /+= debug/s|^|#| ; \
 		 /^QMAKE_CFLAGS/s|=.*|= $$$${GPGMEINCS}| ; \
 		 /^QMAKE_CXXFLAGS/s|=.*|= $$$${GPGMEINCS}| ; \

Modified: head/x11-toolkits/Makefile
==============================================================================
--- head/x11-toolkits/Makefile	Wed Apr 25 16:42:37 2018	(r468282)
+++ head/x11-toolkits/Makefile	Wed Apr 25 17:11:22 2018	(r468283)
@@ -242,7 +242,6 @@
     SUBDIR += qwt5
     SUBDIR += qwt5-designerplugin
     SUBDIR += qwt6
-    SUBDIR += qwt6-designerplugin
     SUBDIR += rep-gtk2
     SUBDIR += rubygem-gdk3
     SUBDIR += rubygem-gtk2

Modified: head/x11-toolkits/qwt6/Makefile
==============================================================================
--- head/x11-toolkits/qwt6/Makefile	Wed Apr 25 16:42:37 2018	(r468282)
+++ head/x11-toolkits/qwt6/Makefile	Wed Apr 25 17:11:22 2018	(r468283)
@@ -2,29 +2,42 @@
 
 PORTNAME=	qwt
 PORTVERSION=	6.1.3
+PORTREVISION=	1
 CATEGORIES=	x11-toolkits
 MASTER_SITES=	SF
-PKGNAMESUFFIX=	6
+PKGNAMESUFFIX=	6-${FLAVOR}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	lbartoletti@tuxfamily.org
 COMMENT=	Qt Widgets for Technical Applications
 
-USES=		gmake qmake tar:bzip2
-USE_QT4=	corelib gui opengl svg xml moc_build
+FLAVORS=	qt4 qt5
+FLAVOR?=	${FLAVORS:[1]}
+
+USES=		gmake qmake tar:bzip2 uniquefiles:dirs
 USE_GL=		gl
 USE_LDCONFIG=	yes
-DOCSDIR=	${PREFIX}/share/doc/qwt6
 
 PORTDOCS=	*
-PLIST_SUB=	INCLUDEDIR=include/qwt6 \
-		SHLIB_VER=${PORTVERSION} \
-		SHLIB_SHVER=${PORTVERSION:R} \
-		QT_MKSPECDIR=share/qt4/mkspecs
+PLIST_SUB=	SHLIB_VER=${PORTVERSION} \
+		SHLIB_SHVER=${PORTVERSION:R}
 
+QMAKE_ARGS+=	PLUGINDIR=${PREFIX}/${QT_PLUGINDIR_REL}
+
+.if ${FLAVOR} == qt4
+USE_QT4=	corelib designer gui opengl svg xml moc_build rcc_build script
+.else
+USE_QT5=	buildtools_build widgets gui core designer gui opengl svg xml printsupport concurrent
+.endif
+
 OPTIONS_DEFINE=	DOCS
 
 post-patch:
 	@${REINPLACE_CMD} -e '/INSTALLS.*doc/d' ${WRKSRC}/doc/doc.pro
+	@${REINPLACE_CMD} -e 's/%%QT_VERSION%%/${FLAVOR:S/qt//}/g' \
+			-e 's|%%QT_INCDIR%%|${QT_INCDIR}|g' \
+			-e 's|%%QT_LIBDIR%%|${QT_LIBDIR}|g' \
+			-e 's|%%QT_MKSPECDIR%%|${QT_MKSPECDIR}|g' \
+			${WRKSRC}/qwtconfig.pri
 
 post-install-DOCS-on:
 	@(cd ${WRKSRC}/doc/html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR})

Added: head/x11-toolkits/qwt6/files/patch-designer_designer.pro
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11-toolkits/qwt6/files/patch-designer_designer.pro	Wed Apr 25 17:11:22 2018	(r468283)
@@ -0,0 +1,29 @@
+--- designer/designer.pro.orig	2018-03-06 14:52:45 UTC
++++ designer/designer.pro
+@@ -42,7 +42,7 @@ contains(QWT_CONFIG, QwtDesigner) {
+ 
+ 
+     TEMPLATE        = lib
+-    TARGET          = qwt_designer_plugin
++    TARGET          = qwt6_designer_plugin
+ 
+     DESTDIR         = plugins/designer
+ 
+@@ -84,7 +84,7 @@ contains(QWT_CONFIG, QwtDesigner) {
+         # into the plugin. Not supported on Windows !
+ 
+         QMAKE_RPATHDIR *= $${QWT_INSTALL_LIBS}
+-        qwtAddLibrary($${QWT_OUT_ROOT}/lib, qwt)
++        qwtAddLibrary($${QWT_OUT_ROOT}/lib, qwt6)
+ 
+         contains(QWT_CONFIG, QwtDll) {
+ 
+@@ -113,7 +113,7 @@ contains(QWT_CONFIG, QwtDesigner) {
+ 
+     RESOURCES += qwt_designer_plugin.qrc
+ 
+-    target.path = $${QWT_INSTALL_PLUGINS}
++    target.path = $$PLUGINDIR/designer
+     INSTALLS += target
+ }
+ else {

Modified: head/x11-toolkits/qwt6/files/patch-qwtconfig.pri
==============================================================================
--- head/x11-toolkits/qwt6/files/patch-qwtconfig.pri	Wed Apr 25 16:42:37 2018	(r468282)
+++ head/x11-toolkits/qwt6/files/patch-qwtconfig.pri	Wed Apr 25 17:11:22 2018	(r468283)
@@ -1,4 +1,4 @@
---- qwtconfig.pri.orig	2016-06-13 07:14:23 UTC
+--- qwtconfig.pri.orig	2018-03-06 14:23:36 UTC
 +++ qwtconfig.pri
 @@ -19,7 +19,7 @@ QWT_VERSION      = $${QWT_VER_MAJ}.$${QW
  QWT_INSTALL_PREFIX = $$[QT_INSTALL_PREFIX]
@@ -9,21 +9,34 @@
      # QWT_INSTALL_PREFIX = /usr/local/qwt-$$QWT_VERSION-qt-$$QT_VERSION
  }
  
-@@ -29,7 +29,7 @@ win32 {
+@@ -28,9 +28,9 @@ win32 {
+     # QWT_INSTALL_PREFIX = C:/Qwt-$$QWT_VERSION-qt-$$QT_VERSION
  }
  
- QWT_INSTALL_DOCS      = $${QWT_INSTALL_PREFIX}/doc
+-QWT_INSTALL_DOCS      = $${QWT_INSTALL_PREFIX}/doc
 -QWT_INSTALL_HEADERS   = $${QWT_INSTALL_PREFIX}/include
-+QWT_INSTALL_HEADERS   = $${QWT_INSTALL_PREFIX}/include/qwt6
- QWT_INSTALL_LIBS      = $${QWT_INSTALL_PREFIX}/lib
+-QWT_INSTALL_LIBS      = $${QWT_INSTALL_PREFIX}/lib
++QWT_INSTALL_DOCS      = $${QWT_INSTALL_PREFIX}/share/doc/qwt6-qt%%QT_VERSION%%
++QWT_INSTALL_HEADERS   = %%QT_INCDIR%%/qwt6
++QWT_INSTALL_LIBS      = %%QT_LIBDIR%%
  
  ######################################################################
+ # Designer plugin
+@@ -42,7 +42,7 @@ QWT_INSTALL_LIBS      = $${QWT_INSTALL_P
+ # runtime environment of designer/creator.
+ ######################################################################
+ 
+-QWT_INSTALL_PLUGINS   = $${QWT_INSTALL_PREFIX}/plugins/designer
++QWT_INSTALL_PLUGINS   = %%QT_LIBDIR%%/plugins/designer
+ 
+ # linux distributors often organize the Qt installation
+ # their way and QT_INSTALL_PREFIX doesn't offer a good
 @@ -63,7 +63,7 @@ QWT_INSTALL_PLUGINS   = $${QWT_INSTALL_P
  # with every Qt upgrade. 
  ######################################################################
  
 -QWT_INSTALL_FEATURES  = $${QWT_INSTALL_PREFIX}/features
-+QWT_INSTALL_FEATURES  = $${QWT_INSTALL_PREFIX}/share/qt4/mkspecs/features
++QWT_INSTALL_FEATURES  = %%QT_MKSPECDIR%%/features
  # QWT_INSTALL_FEATURES  = $$[QT_INSTALL_PREFIX]/features
  
  ######################################################################
@@ -36,12 +49,3 @@
  
  ######################################################################
  # If you want to build the Qwt designer plugin, 
-@@ -118,7 +118,7 @@ QWT_CONFIG     += QwtOpenGL
- # Otherwise you have to build it from the designer directory.
- ######################################################################
- 
--QWT_CONFIG     += QwtDesigner
-+#QWT_CONFIG     += QwtDesigner
- 
- ######################################################################
- # Compile all Qwt classes into the designer plugin instead

Modified: head/x11-toolkits/qwt6/pkg-descr
==============================================================================
--- head/x11-toolkits/qwt6/pkg-descr	Wed Apr 25 16:42:37 2018	(r468282)
+++ head/x11-toolkits/qwt6/pkg-descr	Wed Apr 25 17:11:22 2018	(r468283)
@@ -1,4 +1,4 @@
-This is Qt4 port of Qwt library version 6.  The Qwt library contains
+This is the port of Qwt library version 6. The Qwt library contains
 GUI Components and utility classes which are primarily useful for
 programs with a technical background.  Beside a 2D plot widget it
 provides scales, sliders, dials, compasses, thermometers, wheels

Modified: head/x11-toolkits/qwt6/pkg-plist
==============================================================================
--- head/x11-toolkits/qwt6/pkg-plist	Wed Apr 25 16:42:37 2018	(r468282)
+++ head/x11-toolkits/qwt6/pkg-plist	Wed Apr 25 17:11:22 2018	(r468283)
@@ -1,111 +1,112 @@
-%%INCLUDEDIR%%/qwt.h
-%%INCLUDEDIR%%/qwt_abstract_legend.h
-%%INCLUDEDIR%%/qwt_abstract_scale.h
-%%INCLUDEDIR%%/qwt_abstract_scale_draw.h
-%%INCLUDEDIR%%/qwt_abstract_slider.h
-%%INCLUDEDIR%%/qwt_analog_clock.h
-%%INCLUDEDIR%%/qwt_arrow_button.h
-%%INCLUDEDIR%%/qwt_clipper.h
-%%INCLUDEDIR%%/qwt_color_map.h
-%%INCLUDEDIR%%/qwt_column_symbol.h
-%%INCLUDEDIR%%/qwt_compass.h
-%%INCLUDEDIR%%/qwt_compass_rose.h
-%%INCLUDEDIR%%/qwt_compat.h
-%%INCLUDEDIR%%/qwt_counter.h
-%%INCLUDEDIR%%/qwt_curve_fitter.h
-%%INCLUDEDIR%%/qwt_date.h
-%%INCLUDEDIR%%/qwt_date_scale_draw.h
-%%INCLUDEDIR%%/qwt_date_scale_engine.h
-%%INCLUDEDIR%%/qwt_dial.h
-%%INCLUDEDIR%%/qwt_dial_needle.h
-%%INCLUDEDIR%%/qwt_dyngrid_layout.h
-%%INCLUDEDIR%%/qwt_event_pattern.h
-%%INCLUDEDIR%%/qwt_global.h
-%%INCLUDEDIR%%/qwt_graphic.h
-%%INCLUDEDIR%%/qwt_interval.h
-%%INCLUDEDIR%%/qwt_interval_symbol.h
-%%INCLUDEDIR%%/qwt_knob.h
-%%INCLUDEDIR%%/qwt_legend.h
-%%INCLUDEDIR%%/qwt_legend_data.h
-%%INCLUDEDIR%%/qwt_legend_label.h
-%%INCLUDEDIR%%/qwt_magnifier.h
-%%INCLUDEDIR%%/qwt_math.h
-%%INCLUDEDIR%%/qwt_mathml_text_engine.h
-%%INCLUDEDIR%%/qwt_matrix_raster_data.h
-%%INCLUDEDIR%%/qwt_null_paintdevice.h
-%%INCLUDEDIR%%/qwt_painter.h
-%%INCLUDEDIR%%/qwt_painter_command.h
-%%INCLUDEDIR%%/qwt_panner.h
-%%INCLUDEDIR%%/qwt_picker.h
-%%INCLUDEDIR%%/qwt_picker_machine.h
-%%INCLUDEDIR%%/qwt_pixel_matrix.h
-%%INCLUDEDIR%%/qwt_plot.h
-%%INCLUDEDIR%%/qwt_plot_abstract_barchart.h
-%%INCLUDEDIR%%/qwt_plot_barchart.h
-%%INCLUDEDIR%%/qwt_plot_canvas.h
-%%INCLUDEDIR%%/qwt_plot_curve.h
-%%INCLUDEDIR%%/qwt_plot_dict.h
-%%INCLUDEDIR%%/qwt_plot_directpainter.h
-%%INCLUDEDIR%%/qwt_plot_glcanvas.h
-%%INCLUDEDIR%%/qwt_plot_grid.h
-%%INCLUDEDIR%%/qwt_plot_histogram.h
-%%INCLUDEDIR%%/qwt_plot_intervalcurve.h
-%%INCLUDEDIR%%/qwt_plot_item.h
-%%INCLUDEDIR%%/qwt_plot_layout.h
-%%INCLUDEDIR%%/qwt_plot_legenditem.h
-%%INCLUDEDIR%%/qwt_plot_magnifier.h
-%%INCLUDEDIR%%/qwt_plot_marker.h
-%%INCLUDEDIR%%/qwt_plot_multi_barchart.h
-%%INCLUDEDIR%%/qwt_plot_panner.h
-%%INCLUDEDIR%%/qwt_plot_picker.h
-%%INCLUDEDIR%%/qwt_plot_rasteritem.h
-%%INCLUDEDIR%%/qwt_plot_renderer.h
-%%INCLUDEDIR%%/qwt_plot_rescaler.h
-%%INCLUDEDIR%%/qwt_plot_scaleitem.h
-%%INCLUDEDIR%%/qwt_plot_seriesitem.h
-%%INCLUDEDIR%%/qwt_plot_shapeitem.h
-%%INCLUDEDIR%%/qwt_plot_spectrocurve.h
-%%INCLUDEDIR%%/qwt_plot_spectrogram.h
-%%INCLUDEDIR%%/qwt_plot_svgitem.h
-%%INCLUDEDIR%%/qwt_plot_textlabel.h
-%%INCLUDEDIR%%/qwt_plot_tradingcurve.h
-%%INCLUDEDIR%%/qwt_plot_zoneitem.h
-%%INCLUDEDIR%%/qwt_plot_zoomer.h
-%%INCLUDEDIR%%/qwt_point_3d.h
-%%INCLUDEDIR%%/qwt_point_data.h
-%%INCLUDEDIR%%/qwt_point_mapper.h
-%%INCLUDEDIR%%/qwt_point_polar.h
-%%INCLUDEDIR%%/qwt_raster_data.h
-%%INCLUDEDIR%%/qwt_round_scale_draw.h
-%%INCLUDEDIR%%/qwt_samples.h
-%%INCLUDEDIR%%/qwt_sampling_thread.h
-%%INCLUDEDIR%%/qwt_scale_div.h
-%%INCLUDEDIR%%/qwt_scale_draw.h
-%%INCLUDEDIR%%/qwt_scale_engine.h
-%%INCLUDEDIR%%/qwt_scale_map.h
-%%INCLUDEDIR%%/qwt_scale_widget.h
-%%INCLUDEDIR%%/qwt_series_data.h
-%%INCLUDEDIR%%/qwt_series_store.h
-%%INCLUDEDIR%%/qwt_slider.h
-%%INCLUDEDIR%%/qwt_spline.h
-%%INCLUDEDIR%%/qwt_symbol.h
-%%INCLUDEDIR%%/qwt_system_clock.h
-%%INCLUDEDIR%%/qwt_text.h
-%%INCLUDEDIR%%/qwt_text_engine.h
-%%INCLUDEDIR%%/qwt_text_label.h
-%%INCLUDEDIR%%/qwt_thermo.h
-%%INCLUDEDIR%%/qwt_transform.h
-%%INCLUDEDIR%%/qwt_wheel.h
-%%INCLUDEDIR%%/qwt_widget_overlay.h
-lib/libqwt6.so
-lib/libqwt6.so.6
-lib/libqwt6.so.%%SHLIB_VER%%
-lib/libqwt6.so.%%SHLIB_SHVER%%
-lib/libqwtmathml.so
-lib/libqwtmathml.so.6
-lib/libqwtmathml.so.%%SHLIB_VER%%
-lib/libqwtmathml.so.%%SHLIB_SHVER%%
+%%QT_INCDIR%%/qwt6/qwt.h
+%%QT_INCDIR%%/qwt6/qwt_abstract_legend.h
+%%QT_INCDIR%%/qwt6/qwt_abstract_scale.h
+%%QT_INCDIR%%/qwt6/qwt_abstract_scale_draw.h
+%%QT_INCDIR%%/qwt6/qwt_abstract_slider.h
+%%QT_INCDIR%%/qwt6/qwt_analog_clock.h
+%%QT_INCDIR%%/qwt6/qwt_arrow_button.h
+%%QT_INCDIR%%/qwt6/qwt_clipper.h
+%%QT_INCDIR%%/qwt6/qwt_color_map.h
+%%QT_INCDIR%%/qwt6/qwt_column_symbol.h
+%%QT_INCDIR%%/qwt6/qwt_compass.h
+%%QT_INCDIR%%/qwt6/qwt_compass_rose.h
+%%QT_INCDIR%%/qwt6/qwt_compat.h
+%%QT_INCDIR%%/qwt6/qwt_counter.h
+%%QT_INCDIR%%/qwt6/qwt_curve_fitter.h
+%%QT_INCDIR%%/qwt6/qwt_date.h
+%%QT_INCDIR%%/qwt6/qwt_date_scale_draw.h
+%%QT_INCDIR%%/qwt6/qwt_date_scale_engine.h
+%%QT_INCDIR%%/qwt6/qwt_dial.h
+%%QT_INCDIR%%/qwt6/qwt_dial_needle.h
+%%QT_INCDIR%%/qwt6/qwt_dyngrid_layout.h
+%%QT_INCDIR%%/qwt6/qwt_event_pattern.h
+%%QT_INCDIR%%/qwt6/qwt_global.h
+%%QT_INCDIR%%/qwt6/qwt_graphic.h
+%%QT_INCDIR%%/qwt6/qwt_interval.h
+%%QT_INCDIR%%/qwt6/qwt_interval_symbol.h
+%%QT_INCDIR%%/qwt6/qwt_knob.h
+%%QT_INCDIR%%/qwt6/qwt_legend.h
+%%QT_INCDIR%%/qwt6/qwt_legend_data.h
+%%QT_INCDIR%%/qwt6/qwt_legend_label.h
+%%QT_INCDIR%%/qwt6/qwt_magnifier.h
+%%QT_INCDIR%%/qwt6/qwt_math.h
+%%QT_INCDIR%%/qwt6/qwt_mathml_text_engine.h
+%%QT_INCDIR%%/qwt6/qwt_matrix_raster_data.h
+%%QT_INCDIR%%/qwt6/qwt_null_paintdevice.h
+%%QT_INCDIR%%/qwt6/qwt_painter.h
+%%QT_INCDIR%%/qwt6/qwt_painter_command.h
+%%QT_INCDIR%%/qwt6/qwt_panner.h
+%%QT_INCDIR%%/qwt6/qwt_picker.h
+%%QT_INCDIR%%/qwt6/qwt_picker_machine.h
+%%QT_INCDIR%%/qwt6/qwt_pixel_matrix.h
+%%QT_INCDIR%%/qwt6/qwt_plot.h
+%%QT_INCDIR%%/qwt6/qwt_plot_abstract_barchart.h
+%%QT_INCDIR%%/qwt6/qwt_plot_barchart.h
+%%QT_INCDIR%%/qwt6/qwt_plot_canvas.h
+%%QT_INCDIR%%/qwt6/qwt_plot_curve.h
+%%QT_INCDIR%%/qwt6/qwt_plot_dict.h
+%%QT_INCDIR%%/qwt6/qwt_plot_directpainter.h
+%%QT_INCDIR%%/qwt6/qwt_plot_glcanvas.h
+%%QT_INCDIR%%/qwt6/qwt_plot_grid.h
+%%QT_INCDIR%%/qwt6/qwt_plot_histogram.h
+%%QT_INCDIR%%/qwt6/qwt_plot_intervalcurve.h
+%%QT_INCDIR%%/qwt6/qwt_plot_item.h
+%%QT_INCDIR%%/qwt6/qwt_plot_layout.h
+%%QT_INCDIR%%/qwt6/qwt_plot_legenditem.h
+%%QT_INCDIR%%/qwt6/qwt_plot_magnifier.h
+%%QT_INCDIR%%/qwt6/qwt_plot_marker.h
+%%QT_INCDIR%%/qwt6/qwt_plot_multi_barchart.h
+%%QT_INCDIR%%/qwt6/qwt_plot_panner.h
+%%QT_INCDIR%%/qwt6/qwt_plot_picker.h
+%%QT_INCDIR%%/qwt6/qwt_plot_rasteritem.h
+%%QT_INCDIR%%/qwt6/qwt_plot_renderer.h
+%%QT_INCDIR%%/qwt6/qwt_plot_rescaler.h
+%%QT_INCDIR%%/qwt6/qwt_plot_scaleitem.h
+%%QT_INCDIR%%/qwt6/qwt_plot_seriesitem.h
+%%QT_INCDIR%%/qwt6/qwt_plot_shapeitem.h
+%%QT_INCDIR%%/qwt6/qwt_plot_spectrocurve.h
+%%QT_INCDIR%%/qwt6/qwt_plot_spectrogram.h
+%%QT_INCDIR%%/qwt6/qwt_plot_svgitem.h
+%%QT_INCDIR%%/qwt6/qwt_plot_textlabel.h
+%%QT_INCDIR%%/qwt6/qwt_plot_tradingcurve.h
+%%QT_INCDIR%%/qwt6/qwt_plot_zoneitem.h
+%%QT_INCDIR%%/qwt6/qwt_plot_zoomer.h
+%%QT_INCDIR%%/qwt6/qwt_point_3d.h
+%%QT_INCDIR%%/qwt6/qwt_point_data.h
+%%QT_INCDIR%%/qwt6/qwt_point_mapper.h
+%%QT_INCDIR%%/qwt6/qwt_point_polar.h
+%%QT_INCDIR%%/qwt6/qwt_raster_data.h
+%%QT_INCDIR%%/qwt6/qwt_round_scale_draw.h
+%%QT_INCDIR%%/qwt6/qwt_samples.h
+%%QT_INCDIR%%/qwt6/qwt_sampling_thread.h
+%%QT_INCDIR%%/qwt6/qwt_scale_div.h
+%%QT_INCDIR%%/qwt6/qwt_scale_draw.h
+%%QT_INCDIR%%/qwt6/qwt_scale_engine.h
+%%QT_INCDIR%%/qwt6/qwt_scale_map.h
+%%QT_INCDIR%%/qwt6/qwt_scale_widget.h
+%%QT_INCDIR%%/qwt6/qwt_series_data.h
+%%QT_INCDIR%%/qwt6/qwt_series_store.h
+%%QT_INCDIR%%/qwt6/qwt_slider.h
+%%QT_INCDIR%%/qwt6/qwt_spline.h
+%%QT_INCDIR%%/qwt6/qwt_symbol.h
+%%QT_INCDIR%%/qwt6/qwt_system_clock.h
+%%QT_INCDIR%%/qwt6/qwt_text.h
+%%QT_INCDIR%%/qwt6/qwt_text_engine.h
+%%QT_INCDIR%%/qwt6/qwt_text_label.h
+%%QT_INCDIR%%/qwt6/qwt_thermo.h
+%%QT_INCDIR%%/qwt6/qwt_transform.h
+%%QT_INCDIR%%/qwt6/qwt_wheel.h
+%%QT_INCDIR%%/qwt6/qwt_widget_overlay.h
+%%QT_LIBDIR%%/libqwt6.so
+%%QT_LIBDIR%%/libqwt6.so.6
+%%QT_LIBDIR%%/libqwt6.so.%%SHLIB_SHVER%%
+%%QT_LIBDIR%%/libqwt6.so.%%SHLIB_VER%%
+%%QT_LIBDIR%%/libqwtmathml.so
+%%QT_LIBDIR%%/libqwtmathml.so.6
+%%QT_LIBDIR%%/libqwtmathml.so.%%SHLIB_SHVER%%
+%%QT_LIBDIR%%/libqwtmathml.so.%%SHLIB_VER%%
 %%QT_MKSPECDIR%%/features/qwt.prf
 %%QT_MKSPECDIR%%/features/qwtconfig.pri
 %%QT_MKSPECDIR%%/features/qwtfunctions.pri
 %%QT_MKSPECDIR%%/features/qwtmathml.prf
+%%QT_PLUGINDIR%%/designer/libqwt6_designer_plugin.so

Modified: head/x11/leechcraft/Makefile
==============================================================================
--- head/x11/leechcraft/Makefile	Wed Apr 25 16:42:37 2018	(r468282)
+++ head/x11/leechcraft/Makefile	Wed Apr 25 17:11:22 2018	(r468283)
@@ -3,7 +3,7 @@
 
 PORTNAME=	leechcraft
 PORTVERSION=	0.6.70
-PORTREVISION=	30
+PORTREVISION=	31
 CATEGORIES=	x11
 MASTER_SITES=	http://dist.leechcraft.org/LeechCraft/0.6.70/
 
@@ -13,7 +13,7 @@ COMMENT=	Cross-platform modular live environment
 LICENSE=	BSL
 LICENSE_FILE=	${WRKDIR}/${DISTNAME}/LICENSE
 
-LIB_DEPENDS=	libqwt6.so:x11-toolkits/qwt6 \
+LIB_DEPENDS=	libqwt6.so:x11-toolkits/qwt6@qt4 \
 		libpcre.so:devel/pcre \
 		libboost_program_options.so:devel/boost-libs
 
@@ -406,6 +406,10 @@ BROKEN=		Lemon has not supported yet because depended 
 BROKEN=		Otlozhu has not supported yet (not ported liblaretz)
 .endif
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|%%QT_INCDIR%%|${QT_INCDIR}|g' \
+                        -e 's|%%QT_LIBDIR%%|${QT_LIBDIR}|g' \
+                        ${WRKSRC}/cmake/FindQwt.cmake
 post-install:
 	@${FIND} -d ${STAGEDIR}${PREFIX}/include/leechcraft \
 		-type d -empty -exec ${RMDIR} {} \;

Added: head/x11/leechcraft/files/patch-cmake_FindQwt.cmake
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/x11/leechcraft/files/patch-cmake_FindQwt.cmake	Wed Apr 25 17:11:22 2018	(r468283)
@@ -0,0 +1,18 @@
+--- cmake/FindQwt.cmake.orig	2018-03-09 18:41:44 UTC
++++ cmake/FindQwt.cmake
+@@ -6,6 +6,7 @@
+ find_path (QWT_INCLUDE_DIRS
+ 	NAMES qwt_plot.h
+ 	PATHS
++	%%QT_INCDIR%%/qwt6
+ 	/usr/local/include/qwt-qt4
+ 	/usr/local/include/qwt6
+ 	/usr/local/include/qwt
+@@ -18,6 +19,7 @@ find_path (QWT_INCLUDE_DIRS
+ find_library (QWT_LIBRARIES
+ 	NAMES qwt-qt4 qwt6 qwt
+ 	PATHS
++	%%QT_LIBDIR%%
+ 	/usr/local/lib
+ 	/usr/lib
+ 	/usr/local/lib/qwt.framework



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201804251711.w3PHBMTN060387>