From 9d4cec932d7191bab51867bda00327a2d84fdbe1 Mon Sep 17 00:00:00 2001 From: Jean-Marc Zucconi Date: Wed, 13 Mar 2002 02:53:19 +0000 Subject: Qwt widget library for technical purposes PR: ports/35834 Submitted by: Bob Bomar --- x11-toolkits/Makefile | 1 + x11-toolkits/qwt/Makefile | 68 ++++++++++++++++++++++ x11-toolkits/qwt/distinfo | 1 + .../qwt/files/patch-makefiles::freebsd-g++ | 27 +++++++++ x11-toolkits/qwt/pkg-comment | 1 + x11-toolkits/qwt/pkg-descr | 7 +++ x11-toolkits/qwt/pkg-plist | 33 +++++++++++ x11-toolkits/qwt4/Makefile | 68 ++++++++++++++++++++++ x11-toolkits/qwt4/distinfo | 1 + .../qwt4/files/patch-makefiles::freebsd-g++ | 27 +++++++++ x11-toolkits/qwt4/pkg-comment | 1 + x11-toolkits/qwt4/pkg-descr | 7 +++ x11-toolkits/qwt4/pkg-plist | 33 +++++++++++ 13 files changed, 275 insertions(+) create mode 100644 x11-toolkits/qwt/Makefile create mode 100644 x11-toolkits/qwt/distinfo create mode 100644 x11-toolkits/qwt/files/patch-makefiles::freebsd-g++ create mode 100644 x11-toolkits/qwt/pkg-comment create mode 100644 x11-toolkits/qwt/pkg-descr create mode 100644 x11-toolkits/qwt/pkg-plist create mode 100644 x11-toolkits/qwt4/Makefile create mode 100644 x11-toolkits/qwt4/distinfo create mode 100644 x11-toolkits/qwt4/files/patch-makefiles::freebsd-g++ create mode 100644 x11-toolkits/qwt4/pkg-comment create mode 100644 x11-toolkits/qwt4/pkg-descr create mode 100644 x11-toolkits/qwt4/pkg-plist diff --git a/x11-toolkits/Makefile b/x11-toolkits/Makefile index 71a74da2281e..9a760623ba51 100644 --- a/x11-toolkits/Makefile +++ b/x11-toolkits/Makefile @@ -105,6 +105,7 @@ SUBDIR += qt145 SUBDIR += qt2-static SUBDIR += qt23 + SUBDIR += qwt SUBDIR += rep-gtk SUBDIR += ruby-fltk SUBDIR += ruby-fox diff --git a/x11-toolkits/qwt/Makefile b/x11-toolkits/qwt/Makefile new file mode 100644 index 000000000000..a2003d6ad153 --- /dev/null +++ b/x11-toolkits/qwt/Makefile @@ -0,0 +1,68 @@ +# New ports collection makefile for: Qwt +# Date created: 02 March 2002 +# Whom: Bob Bomar +# +# $FreeBSD$ +# + +PORTNAME= qwt +PORTVERSION= 0.4.0 +CATEGORIES= x11-toolkits +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR=qwt + +MAINTAINER= bob@fly.homeunix.org + +USE_QT_VER= 2 + +MAKE_ENV= CXXFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" \ + INCPATH="-I${X11BASE}/include/qt2" \ + LIBS="-L${X11BASE}/lib" \ + QTDIR="${X11BASE}" \ + MOC=${MOC} + +MAN3= Qwt.3 \ + QwtArrowButton.3 \ + QwtAutoScale.3 \ + QwtColorFilter.3 \ + QwtCounter.3 \ + QwtCurve.3 \ + QwtDblRange.3 \ + QwtDiMap.3 \ + QwtFltrDim.3 \ + QwtFltrGray.3 \ + QwtFltrInv.3 \ + QwtGrid.3 \ + QwtKnob.3 \ + QwtLegend.3 \ + QwtLegendItem.3 \ + QwtMarker.3 \ + QwtPixFrame.3 \ + QwtPlot.3 \ + QwtScale.3 \ + QwtScaleDiv.3 \ + QwtScaleDraw.3 \ + QwtScaleIf.3 \ + QwtSlider.3 \ + QwtSliderBase.3 \ + QwtSpline.3 \ + QwtSymbol.3 \ + QwtThermo.3 \ + QwtWheel.3 \ + bug.3 \ + changes.3 \ + install.3 \ + qwt_math.h.3 \ + screenshots.3 + +pre-build: + ${LN} -fs ${WRKSRC}/makefiles/freebsd-g++ ${WRKSRC}/Makefile + +do-install: + ${INSTALL_DATA} ${WRKSRC}/libqwt.so.0.4.0 ${PREFIX}/lib + ${LN} -fs libqwt.so.0.4.0 ${PREFIX}/lib/libqwt.so + ${MKDIR} ${PREFIX}/include/qwt + ${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/qwt + ${INSTALL_MAN} ${WRKSRC}/doc/man/man3/* ${PREFIX}/man/man3 + +.include diff --git a/x11-toolkits/qwt/distinfo b/x11-toolkits/qwt/distinfo new file mode 100644 index 000000000000..5cbd9b71447d --- /dev/null +++ b/x11-toolkits/qwt/distinfo @@ -0,0 +1 @@ +MD5 (qwt-0.4.0.tar.gz) = 3ca757793fa02ab691a7bfbbe531b1d8 diff --git a/x11-toolkits/qwt/files/patch-makefiles::freebsd-g++ b/x11-toolkits/qwt/files/patch-makefiles::freebsd-g++ new file mode 100644 index 000000000000..663f3cc167c6 --- /dev/null +++ b/x11-toolkits/qwt/files/patch-makefiles::freebsd-g++ @@ -0,0 +1,27 @@ +--- makefiles/freebsd-g++.orig Mon Oct 22 12:38:06 2001 ++++ makefiles/freebsd-g++ Tue Mar 12 17:40:28 2002 +@@ -7,17 +7,17 @@ + + ####### Compiler, tools and options + +-CC = gcc +-CXX = g++ +-CFLAGS = -pipe -O2 -fPIC -DNO_DEBUG +-CXXFLAGS= -pipe -O2 -fPIC -DNO_DEBUG +-INCPATH = -I/usr/local/include -I$(QTDIR)/include ++CC ?= gcc ++CXX ?= g++ ++CFLAGS ?= -pipe -O2 -fPIC -DNO_DEBUG ++CXXFLAGS?= -pipe -O2 -fPIC -DNO_DEBUG ++INCPATH ?= -I/usr/local/include -I$(QTDIR)/include + LINK = g++ + LFLAGS = -shared +-LIBS = $(SUBLIBS) -L/usr/local/lib -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt -lXext -lX11 -lm ++LIBS = $(SUBLIBS) -L/usr/local/lib -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt2 -lXext -lX11 -lm + AR = ar cqs + RANLIB = +-MOC = $(QTDIR)/bin/moc ++MOC ?= $(QTDIR)/bin/moc + UIC = $(QTDIR)/bin/uic + + TAR = tar -cf diff --git a/x11-toolkits/qwt/pkg-comment b/x11-toolkits/qwt/pkg-comment new file mode 100644 index 000000000000..b350a01e5d79 --- /dev/null +++ b/x11-toolkits/qwt/pkg-comment @@ -0,0 +1 @@ +Qwt widget library for technical purposes diff --git a/x11-toolkits/qwt/pkg-descr b/x11-toolkits/qwt/pkg-descr new file mode 100644 index 000000000000..1b06bc84898a --- /dev/null +++ b/x11-toolkits/qwt/pkg-descr @@ -0,0 +1,7 @@ +Qwt is an extension to the Qt GUI library from Troll Tech AS. The Qwt library +contains widgets and componets which are primarily useful for technical and +scientifical purposes. It includes a 2-D plotting widget, different kinds of +sliders and much more. + +- Bob Bomar + diff --git a/x11-toolkits/qwt/pkg-plist b/x11-toolkits/qwt/pkg-plist new file mode 100644 index 000000000000..3381384d194d --- /dev/null +++ b/x11-toolkits/qwt/pkg-plist @@ -0,0 +1,33 @@ +include/qwt/qwt.h +include/qwt/qwt_arrbtn.h +include/qwt/qwt_autoscl.h +include/qwt/qwt_clrfltr.h +include/qwt/qwt_counter.h +include/qwt/qwt_curve.h +include/qwt/qwt_dimap.h +include/qwt/qwt_drange.h +include/qwt/qwt_grid.h +include/qwt/qwt_knob.h +include/qwt/qwt_legend.h +include/qwt/qwt_marker.h +include/qwt/qwt_math.h +include/qwt/qwt_pixframe.h +include/qwt/qwt_plot.h +include/qwt/qwt_plot_classes.h +include/qwt/qwt_plot_dict.h +include/qwt/qwt_plot_item.h +include/qwt/qwt_plot_pixframe.h +include/qwt/qwt_rect.h +include/qwt/qwt_scale.h +include/qwt/qwt_scldiv.h +include/qwt/qwt_scldraw.h +include/qwt/qwt_sclif.h +include/qwt/qwt_sldbase.h +include/qwt/qwt_slider.h +include/qwt/qwt_spline.h +include/qwt/qwt_symbol.h +include/qwt/qwt_thermo.h +include/qwt/qwt_wheel.h +lib/libqwt.so +lib/libqwt.so.0.4.0 +@dirrm include/qwt diff --git a/x11-toolkits/qwt4/Makefile b/x11-toolkits/qwt4/Makefile new file mode 100644 index 000000000000..a2003d6ad153 --- /dev/null +++ b/x11-toolkits/qwt4/Makefile @@ -0,0 +1,68 @@ +# New ports collection makefile for: Qwt +# Date created: 02 March 2002 +# Whom: Bob Bomar +# +# $FreeBSD$ +# + +PORTNAME= qwt +PORTVERSION= 0.4.0 +CATEGORIES= x11-toolkits +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR=qwt + +MAINTAINER= bob@fly.homeunix.org + +USE_QT_VER= 2 + +MAKE_ENV= CXXFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" \ + INCPATH="-I${X11BASE}/include/qt2" \ + LIBS="-L${X11BASE}/lib" \ + QTDIR="${X11BASE}" \ + MOC=${MOC} + +MAN3= Qwt.3 \ + QwtArrowButton.3 \ + QwtAutoScale.3 \ + QwtColorFilter.3 \ + QwtCounter.3 \ + QwtCurve.3 \ + QwtDblRange.3 \ + QwtDiMap.3 \ + QwtFltrDim.3 \ + QwtFltrGray.3 \ + QwtFltrInv.3 \ + QwtGrid.3 \ + QwtKnob.3 \ + QwtLegend.3 \ + QwtLegendItem.3 \ + QwtMarker.3 \ + QwtPixFrame.3 \ + QwtPlot.3 \ + QwtScale.3 \ + QwtScaleDiv.3 \ + QwtScaleDraw.3 \ + QwtScaleIf.3 \ + QwtSlider.3 \ + QwtSliderBase.3 \ + QwtSpline.3 \ + QwtSymbol.3 \ + QwtThermo.3 \ + QwtWheel.3 \ + bug.3 \ + changes.3 \ + install.3 \ + qwt_math.h.3 \ + screenshots.3 + +pre-build: + ${LN} -fs ${WRKSRC}/makefiles/freebsd-g++ ${WRKSRC}/Makefile + +do-install: + ${INSTALL_DATA} ${WRKSRC}/libqwt.so.0.4.0 ${PREFIX}/lib + ${LN} -fs libqwt.so.0.4.0 ${PREFIX}/lib/libqwt.so + ${MKDIR} ${PREFIX}/include/qwt + ${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/qwt + ${INSTALL_MAN} ${WRKSRC}/doc/man/man3/* ${PREFIX}/man/man3 + +.include diff --git a/x11-toolkits/qwt4/distinfo b/x11-toolkits/qwt4/distinfo new file mode 100644 index 000000000000..5cbd9b71447d --- /dev/null +++ b/x11-toolkits/qwt4/distinfo @@ -0,0 +1 @@ +MD5 (qwt-0.4.0.tar.gz) = 3ca757793fa02ab691a7bfbbe531b1d8 diff --git a/x11-toolkits/qwt4/files/patch-makefiles::freebsd-g++ b/x11-toolkits/qwt4/files/patch-makefiles::freebsd-g++ new file mode 100644 index 000000000000..663f3cc167c6 --- /dev/null +++ b/x11-toolkits/qwt4/files/patch-makefiles::freebsd-g++ @@ -0,0 +1,27 @@ +--- makefiles/freebsd-g++.orig Mon Oct 22 12:38:06 2001 ++++ makefiles/freebsd-g++ Tue Mar 12 17:40:28 2002 +@@ -7,17 +7,17 @@ + + ####### Compiler, tools and options + +-CC = gcc +-CXX = g++ +-CFLAGS = -pipe -O2 -fPIC -DNO_DEBUG +-CXXFLAGS= -pipe -O2 -fPIC -DNO_DEBUG +-INCPATH = -I/usr/local/include -I$(QTDIR)/include ++CC ?= gcc ++CXX ?= g++ ++CFLAGS ?= -pipe -O2 -fPIC -DNO_DEBUG ++CXXFLAGS?= -pipe -O2 -fPIC -DNO_DEBUG ++INCPATH ?= -I/usr/local/include -I$(QTDIR)/include + LINK = g++ + LFLAGS = -shared +-LIBS = $(SUBLIBS) -L/usr/local/lib -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt -lXext -lX11 -lm ++LIBS = $(SUBLIBS) -L/usr/local/lib -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt2 -lXext -lX11 -lm + AR = ar cqs + RANLIB = +-MOC = $(QTDIR)/bin/moc ++MOC ?= $(QTDIR)/bin/moc + UIC = $(QTDIR)/bin/uic + + TAR = tar -cf diff --git a/x11-toolkits/qwt4/pkg-comment b/x11-toolkits/qwt4/pkg-comment new file mode 100644 index 000000000000..b350a01e5d79 --- /dev/null +++ b/x11-toolkits/qwt4/pkg-comment @@ -0,0 +1 @@ +Qwt widget library for technical purposes diff --git a/x11-toolkits/qwt4/pkg-descr b/x11-toolkits/qwt4/pkg-descr new file mode 100644 index 000000000000..1b06bc84898a --- /dev/null +++ b/x11-toolkits/qwt4/pkg-descr @@ -0,0 +1,7 @@ +Qwt is an extension to the Qt GUI library from Troll Tech AS. The Qwt library +contains widgets and componets which are primarily useful for technical and +scientifical purposes. It includes a 2-D plotting widget, different kinds of +sliders and much more. + +- Bob Bomar + diff --git a/x11-toolkits/qwt4/pkg-plist b/x11-toolkits/qwt4/pkg-plist new file mode 100644 index 000000000000..3381384d194d --- /dev/null +++ b/x11-toolkits/qwt4/pkg-plist @@ -0,0 +1,33 @@ +include/qwt/qwt.h +include/qwt/qwt_arrbtn.h +include/qwt/qwt_autoscl.h +include/qwt/qwt_clrfltr.h +include/qwt/qwt_counter.h +include/qwt/qwt_curve.h +include/qwt/qwt_dimap.h +include/qwt/qwt_drange.h +include/qwt/qwt_grid.h +include/qwt/qwt_knob.h +include/qwt/qwt_legend.h +include/qwt/qwt_marker.h +include/qwt/qwt_math.h +include/qwt/qwt_pixframe.h +include/qwt/qwt_plot.h +include/qwt/qwt_plot_classes.h +include/qwt/qwt_plot_dict.h +include/qwt/qwt_plot_item.h +include/qwt/qwt_plot_pixframe.h +include/qwt/qwt_rect.h +include/qwt/qwt_scale.h +include/qwt/qwt_scldiv.h +include/qwt/qwt_scldraw.h +include/qwt/qwt_sclif.h +include/qwt/qwt_sldbase.h +include/qwt/qwt_slider.h +include/qwt/qwt_spline.h +include/qwt/qwt_symbol.h +include/qwt/qwt_thermo.h +include/qwt/qwt_wheel.h +lib/libqwt.so +lib/libqwt.so.0.4.0 +@dirrm include/qwt -- cgit v1.2.3