summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--x11/qwt/Makefile29
-rw-r--r--x11/qwt/files/Makefile.apps40
-rw-r--r--x11/qwt/files/Makefile.common26
-rw-r--r--x11/qwt/files/Makefile.lib39
-rw-r--r--x11/qwt/files/md52
-rw-r--r--x11/qwt/pkg/COMMENT1
-rw-r--r--x11/qwt/pkg/DESCR5
-rw-r--r--x11/qwt/pkg/PLIST59
8 files changed, 201 insertions, 0 deletions
diff --git a/x11/qwt/Makefile b/x11/qwt/Makefile
new file mode 100644
index 00000000000..7b7345f64e1
--- /dev/null
+++ b/x11/qwt/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/11/17 18:32:29 drochner Exp $
+
+DISTNAME= qwtlib-0.2
+CATEGORIES= x11
+MASTER_SITES= ftp://ftp.troll.no/contrib/
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.troll.no/qtprogs.html
+
+DEPENDS+= qt-1.44:../../x11/qt
+
+USE_X11BASE= yes
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+WRKSRC= ${WRKDIR}/qwt
+ALL_TARGET= src
+
+do-configure:
+ ${CP} ${FILESDIR}/Makefile.* ${WRKSRC}
+
+do-install:
+ @${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/src/libqwt.la \
+ ${PREFIX}/lib
+ ${MKDIR} ${PREFIX}/include/qwt
+ ${INSTALL_DATA} ${WRKSRC}/include/* ${PREFIX}/include/qwt
+ ${INSTALL_DATA} ${WRKSRC}/doc/man/* ${PREFIX}/man/man3
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/qwt/files/Makefile.apps b/x11/qwt/files/Makefile.apps
new file mode 100644
index 00000000000..a6481365559
--- /dev/null
+++ b/x11/qwt/files/Makefile.apps
@@ -0,0 +1,40 @@
+# $NetBSD: Makefile.apps,v 1.1.1.1 1999/11/17 18:32:29 drochner Exp $
+#
+# Makefile rules for Qwt examples
+# ===============================
+#
+
+PREFIX?= /usr/X11R6
+include $(QWTDIR)/Makefile.common
+
+#
+# GENERAL SETTINGS
+#
+CC = gcc
+CFLAGS = -O2
+INCLUDES = -I$(QWTINC) -I$(QTINC)
+LD = $(CC)
+LDFLAGS =
+LIBS = -L$(QTLIB) -W,l -R$(QTLIB) -lqt -lXext -lX11 -lqwt -lm
+
+#
+# IMPLICIT RULES
+#
+%.o: %.cpp
+ $(CC) -c $(CFLAGS) $(INCLUDES) -o $@ $<
+
+moc_%.cpp: %.h
+ $(MOC) -o $@ $<
+
+
+#
+# BUILD RULES
+#
+all: $(APPNAME)
+
+$(APPNAME): $(OBJECTS)
+ $(LD) $(LDFLAGS) -o $(APPNAME) $(OBJECTS) $(LIBS)
+
+clean:
+ -rm -f $(OBJECTS) $(APPNAME)
+
diff --git a/x11/qwt/files/Makefile.common b/x11/qwt/files/Makefile.common
new file mode 100644
index 00000000000..68753ef6d4f
--- /dev/null
+++ b/x11/qwt/files/Makefile.common
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile.common,v 1.1.1.1 1999/11/17 18:32:29 drochner Exp $
+#
+# Paths for Qt headers and library
+#
+
+QTDIR=$(PREFIX)
+QTINC=$(QTDIR)/include/qt
+QTLIB=$(QTDIR)/lib
+MOC=$(QTDIR)/bin/moc
+
+#
+# Paths for Qwt headers and library
+# QWTDIR is set autometically
+#
+QWTINC = $(QWTDIR)/include
+QWTLIB = $(QWTDIR)/lib
+
+#
+# Library Names
+#
+LIBSTATIC = libqwt.a
+LIBSHARED = libqwt.so
+LIBSHARED_0 = libqwt.so.0
+LIBSHARED_1 = libqwt.so.0.2
+
+
diff --git a/x11/qwt/files/Makefile.lib b/x11/qwt/files/Makefile.lib
new file mode 100644
index 00000000000..1e31bc4481f
--- /dev/null
+++ b/x11/qwt/files/Makefile.lib
@@ -0,0 +1,39 @@
+# $NetBSD: Makefile.lib,v 1.1.1.1 1999/11/17 18:32:29 drochner Exp $
+#
+# Makefile rules for the Qwt Library
+# ==================================
+#
+
+include $(QWTDIR)/Makefile.common
+
+
+# GENERAL SETTINGS
+#
+LCXX = $(LIBTOOL) --mode=compile $(CXX)
+INCLUDES = -I../include -I$(QTINC)
+LLD = $(LIBTOOL) --mode=link $(CXX) -rpath $(PREFIX)/lib \
+ -version-info 0:2
+
+#
+# IMPLICIT RULES
+#
+%.lo: %.cpp
+ $(LCXX) $(CXXFLAGS) $(INCLUDES) -c $<
+
+moc_%.cpp: %.h
+ $(MOC) -o $@ $<
+
+#
+# BUILD RULES
+#
+
+all: $(LIBSHARED)
+
+$(LIBSHARED): $(OBJECTS:.o=.lo)
+ $(LLD) $(LDFLAGS) -o libqwt.la $(OBJECTS:.o=.lo)
+
+clean:
+ -rm -f *.o *.so *.so.* *.a *~
+
+depend:
+ makedepend $(QTINC) $(QWTINC) *.cpp
diff --git a/x11/qwt/files/md5 b/x11/qwt/files/md5
new file mode 100644
index 00000000000..546fbb35fab
--- /dev/null
+++ b/x11/qwt/files/md5
@@ -0,0 +1,2 @@
+$NetBSD: md5,v 1.1.1.1 1999/11/17 18:32:29 drochner Exp $
+MD5 (qwtlib-0.2.tgz) = d40ca70a996799337c4027c89c5fedb2
diff --git a/x11/qwt/pkg/COMMENT b/x11/qwt/pkg/COMMENT
new file mode 100644
index 00000000000..49373203f00
--- /dev/null
+++ b/x11/qwt/pkg/COMMENT
@@ -0,0 +1 @@
+Qt widget library for technical purposes
diff --git a/x11/qwt/pkg/DESCR b/x11/qwt/pkg/DESCR
new file mode 100644
index 00000000000..636c36b62d0
--- /dev/null
+++ b/x11/qwt/pkg/DESCR
@@ -0,0 +1,5 @@
+Qwt is an extension to the Qt GUI library from Troll Tech AS.
+The Qwt library contains widgets and components which are
+primarily useful for technical and scientifical purposes.
+It includes a 2-D plotting widget, different kinds of sliders,
+and much more.
diff --git a/x11/qwt/pkg/PLIST b/x11/qwt/pkg/PLIST
new file mode 100644
index 00000000000..a1538aaa7e4
--- /dev/null
+++ b/x11/qwt/pkg/PLIST
@@ -0,0 +1,59 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/11/17 18:32:29 drochner Exp $
+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.0.2
+lib/libqwt.a
+man/man3/Qwt.3
+man/man3/QwtArrowButton.3
+man/man3/QwtAutoScale.3
+man/man3/QwtColorFilter.3
+man/man3/QwtCounter.3
+man/man3/QwtCurve.3
+man/man3/QwtDblRange.3
+man/man3/QwtDiMap.3
+man/man3/QwtGrid.3
+man/man3/QwtKnob.3
+man/man3/QwtLegend.3
+man/man3/QwtMarker.3
+man/man3/QwtMath.3
+man/man3/QwtPixFrame.3
+man/man3/QwtPlot.3
+man/man3/QwtScale.3
+man/man3/QwtScaleDiv.3
+man/man3/QwtScaleDraw.3
+man/man3/QwtScaleIf.3
+man/man3/QwtSlider.3
+man/man3/QwtSliderBase.3
+man/man3/QwtSpline.3
+man/man3/QwtSymbol.3
+man/man3/QwtThermo.3
+man/man3/QwtWheel.3
+@dirrm include/qwt