aboutsummaryrefslogtreecommitdiffstats
path: root/x11-toolkits/qwt6
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2010-07-24 23:59:51 +0800
committermakc <makc@FreeBSD.org>2010-07-24 23:59:51 +0800
commit62f3dbb28da689b18b79759afcc8fb05aa83a8f5 (patch)
treeb39c9a9f1e79d542ebbe032df0792084e25195a8 /x11-toolkits/qwt6
parent0f895d56962d1552037843cd90a2e42fc8bef74b (diff)
downloadfreebsd-ports-gnome-62f3dbb28da689b18b79759afcc8fb05aa83a8f5.tar.gz
freebsd-ports-gnome-62f3dbb28da689b18b79759afcc8fb05aa83a8f5.tar.zst
freebsd-ports-gnome-62f3dbb28da689b18b79759afcc8fb05aa83a8f5.zip
Split qwt5 port into designer plugin and qwt library.
Designer plugin is not needed for regular users, while it pulls relatively heavy qt4 components.
Diffstat (limited to 'x11-toolkits/qwt6')
-rw-r--r--x11-toolkits/qwt6/Makefile12
-rw-r--r--x11-toolkits/qwt6/files/patch-designer__designer.pro11
-rw-r--r--x11-toolkits/qwt6/pkg-plist3
3 files changed, 1 insertions, 25 deletions
diff --git a/x11-toolkits/qwt6/Makefile b/x11-toolkits/qwt6/Makefile
index e519216c895e..a310a08dced7 100644
--- a/x11-toolkits/qwt6/Makefile
+++ b/x11-toolkits/qwt6/Makefile
@@ -7,6 +7,7 @@
PORTNAME= qwt
PORTVERSION= 5.2.1
+PORTREVISION= 1
CATEGORIES= x11-toolkits
MASTER_SITES= SF
@@ -22,22 +23,11 @@ HAS_CONFIGURE= yes
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
-OPTIONS= DESIGNER_PLUGIN "Install plugin for Qt Designer" on
-
STRIP_FILES= lib/libqwt.so.${PORTVERSION}
.include <bsd.port.pre.mk>
.include <${FILESDIR}/Makefile.man>
-.if !defined(WITHOUT_DESIGNER_PLUGIN)
-QT_COMPONENTS+= designer rcc_build
-QMAKE_ARGS+= CONFIG+=QwtDesigner PLUGINDIR=${PREFIX}/${QT_PLUGINDIR_REL}
-PLIST_SUB+= DESIGNER_PLUGIN=""
-STRIP_FILES+= ${QT_PLUGINDIR_REL}/designer/libqwt_designer_plugin.so
-.else
-PLIST_SUB+= DESIGNER_PLUGIN="@comment "
-.endif
-
do-configure:
(cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS})
diff --git a/x11-toolkits/qwt6/files/patch-designer__designer.pro b/x11-toolkits/qwt6/files/patch-designer__designer.pro
deleted file mode 100644
index 030bd15ede67..000000000000
--- a/x11-toolkits/qwt6/files/patch-designer__designer.pro
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./designer/designer.pro.orig 2008-05-01 17:43:56.000000000 +0400
-+++ ./designer/designer.pro 2008-05-03 02:21:17.000000000 +0400
-@@ -123,7 +123,7 @@
- RESOURCES += \
- qwt_designer_plugin.qrc
-
-- target.path = $$[QT_INSTALL_PLUGINS]/designer
-+ target.path = $$PLUGINDIR/designer
- INSTALLS += target
- }
- }
diff --git a/x11-toolkits/qwt6/pkg-plist b/x11-toolkits/qwt6/pkg-plist
index d33fc8c81624..2f43f7ab18bc 100644
--- a/x11-toolkits/qwt6/pkg-plist
+++ b/x11-toolkits/qwt6/pkg-plist
@@ -72,7 +72,6 @@ lib/libqwt.so
lib/libqwt.so.5
lib/libqwt.so.5.2
lib/libqwt.so.5.2.1
-%%DESIGNER_PLUGIN%%lib/qt4/plugins/designer/libqwt_designer_plugin.so
%%PORTDOCS%%%%DOCSDIR%%/analogclock.png
%%PORTDOCS%%%%DOCSDIR%%/annotated.html
%%PORTDOCS%%%%DOCSDIR%%/class_qwt_abstract_scale-members.html
@@ -728,6 +727,4 @@ lib/libqwt.so.5.2.1
%%PORTDOCS%%%%DOCSDIR%%/tab_r.gif
%%PORTDOCS%%%%DOCSDIR%%/tabs.css
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%DESIGNER_PLUGIN%%@dirrmtry %%QT_PLUGINDIR_REL%%/designer
-%%DESIGNER_PLUGIN%%@dirrmtry %%QT_PLUGINDIR_REL%%
@dirrm include/qwt