Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Mar 2002 18:05:27 -0600 (CST)
From:      Bob Bomar <bob@fly.homeunix.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35834: New Port: Qwt 
Message-ID:  <20020313000527.304005CD2@fly.homeunix.org>

next in thread | raw e-mail | index | archive | help

>Number:         35834
>Category:       ports
>Synopsis:       New Port: Qwt
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 12 16:10:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Bob Bomar
>Release:        FreeBSD 4.5-STABLE i386
>Organization:
>Environment:
System: FreeBSD fly.homeunix.org 4.5-STABLE FreeBSD 4.5-STABLE #0: Sun Mar 10 21:41:23 CST 2002 root@fly.homeunix.org:/usr/obj/usr/src/sys/GENERIC i386


	
>Description:
	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.

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	qwt
#	qwt/pkg-comment
#	qwt/pkg-descr
#	qwt/pkg-plist
#	qwt/Makefile
#	qwt/distinfo
#	qwt/files
#	qwt/files/patch-makefiles::freebsd-g++
#
echo c - qwt
mkdir -p qwt > /dev/null 2>&1
echo x - qwt/pkg-comment
sed 's/^X//' >qwt/pkg-comment << 'END-of-qwt/pkg-comment'
XQwt widget library for technical purposes
END-of-qwt/pkg-comment
echo x - qwt/pkg-descr
sed 's/^X//' >qwt/pkg-descr << 'END-of-qwt/pkg-descr'
XQwt is an extension to the Qt GUI library from Troll Tech AS.  The Qwt library 
Xcontains widgets and componets which are primarily useful for technical and 
Xscientifical purposes.  It includes a 2-D plotting widget, different kinds of 
Xsliders and much more.
X
X- Bob Bomar
X<bob@fly.homeunix.org>
END-of-qwt/pkg-descr
echo x - qwt/pkg-plist
sed 's/^X//' >qwt/pkg-plist << 'END-of-qwt/pkg-plist'
Xinclude/qwt/qwt.h
Xinclude/qwt/qwt_arrbtn.h
Xinclude/qwt/qwt_autoscl.h
Xinclude/qwt/qwt_clrfltr.h
Xinclude/qwt/qwt_counter.h
Xinclude/qwt/qwt_curve.h
Xinclude/qwt/qwt_dimap.h
Xinclude/qwt/qwt_drange.h
Xinclude/qwt/qwt_grid.h
Xinclude/qwt/qwt_knob.h
Xinclude/qwt/qwt_legend.h
Xinclude/qwt/qwt_marker.h
Xinclude/qwt/qwt_math.h
Xinclude/qwt/qwt_pixframe.h
Xinclude/qwt/qwt_plot.h
Xinclude/qwt/qwt_plot_classes.h
Xinclude/qwt/qwt_plot_dict.h
Xinclude/qwt/qwt_plot_item.h
Xinclude/qwt/qwt_plot_pixframe.h
Xinclude/qwt/qwt_rect.h
Xinclude/qwt/qwt_scale.h
Xinclude/qwt/qwt_scldiv.h
Xinclude/qwt/qwt_scldraw.h
Xinclude/qwt/qwt_sclif.h
Xinclude/qwt/qwt_sldbase.h
Xinclude/qwt/qwt_slider.h
Xinclude/qwt/qwt_spline.h
Xinclude/qwt/qwt_symbol.h
Xinclude/qwt/qwt_thermo.h
Xinclude/qwt/qwt_wheel.h
Xlib/libqwt.so
Xlib/libqwt.so.0.4.0
X@dirrm include/qwt
END-of-qwt/pkg-plist
echo x - qwt/Makefile
sed 's/^X//' >qwt/Makefile << 'END-of-qwt/Makefile'
X# New ports collection makefile for:	Qwt
X# Date created:		02 March 2002
X# Whom:			Bob Bomar <bob@fly.homeunix.org>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	qwt
XPORTVERSION=	0.4.0
XCATEGORIES=	x11-toolkits
XMASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
XMASTER_SITE_SUBDIR=qwt
X
XMAINTAINER= 	bob@fly.homeunix.org
X
XUSE_QT_VER=	2
X
XMAKE_ENV=	CXXFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" \
X		INCPATH="-I${X11BASE}/include/qt2" \
X		LIBS="-L${X11BASE}/lib" \
X		QTDIR="${X11BASE}"	\
X		MOC=${MOC}
X
XMAN3=		Qwt.3			\
X		QwtArrowButton.3	\
X		QwtAutoScale.3		\
X		QwtColorFilter.3	\
X		QwtCounter.3		\
X		QwtCurve.3		\
X		QwtDblRange.3		\
X		QwtDiMap.3		\
X		QwtFltrDim.3		\
X		QwtFltrGray.3		\
X		QwtFltrInv.3		\
X		QwtGrid.3		\
X		QwtKnob.3		\
X		QwtLegend.3		\
X		QwtLegendItem.3		\
X		QwtMarker.3		\
X		QwtPixFrame.3		\
X		QwtPlot.3		\
X		QwtScale.3		\
X		QwtScaleDiv.3		\
X		QwtScaleDraw.3		\
X		QwtScaleIf.3		\
X		QwtSlider.3		\
X		QwtSliderBase.3		\
X		QwtSpline.3		\
X		QwtSymbol.3		\
X		QwtThermo.3		\
X		QwtWheel.3		\
X		bug.3			\
X		changes.3		\
X		install.3		\
X		qwt_math.h.3		\
X		screenshots.3
X
Xpre-build:
X	${LN} -fs ${WRKSRC}/makefiles/freebsd-g++ ${WRKSRC}/Makefile
X
Xdo-install:
X	${INSTALL_DATA} ${WRKSRC}/libqwt.so.0.4.0 ${PREFIX}/lib
X	${LN} -fs libqwt.so.0.4.0 ${PREFIX}/lib/libqwt.so
X	${MKDIR} ${PREFIX}/include/qwt
X	${INSTALL_DATA} ${WRKSRC}/include/*.h ${PREFIX}/include/qwt
X	${INSTALL_MAN} ${WRKSRC}/doc/man/man3/* ${PREFIX}/man/man3
X
X.include <bsd.port.mk>
END-of-qwt/Makefile
echo x - qwt/distinfo
sed 's/^X//' >qwt/distinfo << 'END-of-qwt/distinfo'
XMD5 (qwt-0.4.0.tar.gz) = 3ca757793fa02ab691a7bfbbe531b1d8
END-of-qwt/distinfo
echo c - qwt/files
mkdir -p qwt/files > /dev/null 2>&1
echo x - qwt/files/patch-makefiles::freebsd-g++
sed 's/^X//' >qwt/files/patch-makefiles::freebsd-g++ << 'END-of-qwt/files/patch-makefiles::freebsd-g++'
X--- makefiles/freebsd-g++.orig	Mon Oct 22 12:38:06 2001
X+++ makefiles/freebsd-g++	Tue Mar 12 17:40:28 2002
X@@ -7,17 +7,17 @@
X 
X ####### Compiler, tools and options
X 
X-CC	=	gcc
X-CXX	=	g++
X-CFLAGS	=	-pipe -O2 -fPIC -DNO_DEBUG
X-CXXFLAGS=	-pipe -O2 -fPIC -DNO_DEBUG
X-INCPATH	=	-I/usr/local/include -I$(QTDIR)/include
X+CC	?=	gcc
X+CXX	?=	g++
X+CFLAGS	?=	-pipe -O2 -fPIC -DNO_DEBUG
X+CXXFLAGS?=	-pipe -O2 -fPIC -DNO_DEBUG
X+INCPATH	?=	-I/usr/local/include -I$(QTDIR)/include
X LINK	=	g++
X LFLAGS	=	-shared 
X-LIBS	=	$(SUBLIBS) -L/usr/local/lib -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt -lXext -lX11 -lm
X+LIBS	=	$(SUBLIBS) -L/usr/local/lib -L$(QTDIR)/lib -L/usr/X11R6/lib -lqt2 -lXext -lX11 -lm
X AR	=	ar cqs
X RANLIB	=	
X-MOC	=	$(QTDIR)/bin/moc
X+MOC	?=	$(QTDIR)/bin/moc
X UIC	=	$(QTDIR)/bin/uic
X 
X TAR	=	tar -cf
END-of-qwt/files/patch-makefiles::freebsd-g++
exit

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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