import the qwt addon to qt-1.x
citing pkg/DESCR: 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.
This commit is contained in:
parent
159a1bf8f9
commit
f09c7534e4
8 changed files with 201 additions and 0 deletions
29
x11/qwt/Makefile
Normal file
29
x11/qwt/Makefile
Normal file
|
@ -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"
|
40
x11/qwt/files/Makefile.apps
Normal file
40
x11/qwt/files/Makefile.apps
Normal file
|
@ -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)
|
||||
|
26
x11/qwt/files/Makefile.common
Normal file
26
x11/qwt/files/Makefile.common
Normal file
|
@ -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
|
||||
|
||||
|
39
x11/qwt/files/Makefile.lib
Normal file
39
x11/qwt/files/Makefile.lib
Normal file
|
@ -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
|
2
x11/qwt/files/md5
Normal file
2
x11/qwt/files/md5
Normal file
|
@ -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
|
1
x11/qwt/pkg/COMMENT
Normal file
1
x11/qwt/pkg/COMMENT
Normal file
|
@ -0,0 +1 @@
|
|||
Qt widget library for technical purposes
|
5
x11/qwt/pkg/DESCR
Normal file
5
x11/qwt/pkg/DESCR
Normal file
|
@ -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.
|
59
x11/qwt/pkg/PLIST
Normal file
59
x11/qwt/pkg/PLIST
Normal file
|
@ -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
|
Loading…
Reference in a new issue