1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Use QT3 instead of QT2.

Bump PORTREVISION.
This commit is contained in:
Tilman Keskinoz 2004-02-17 13:40:10 +00:00
parent 9cc56c2e2c
commit ee4f10cac0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=101213
4 changed files with 42 additions and 13 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= qscanplot
PORTVERSION= 0.4
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= math
# per distfile survey, mastersite disappeared in March 2003
MASTER_SITES= # http://www.gae.ucm.es/~gonzalez/qscanplot/
@ -15,16 +15,16 @@ MASTER_SITES= # http://www.gae.ucm.es/~gonzalez/qscanplot/
MAINTAINER= ports@FreeBSD.org
COMMENT= A program to extract data from scanned plots, graphs and figures
BUILD_DEPENDS= tmake:${PORTSDIR}/devel/tmake
BUILD_DEPENDS= qmake:${PORTSDIR}/devel/qmake
USE_X_PREFIX= yes
USE_QT_VER= 2
USE_QT_VER= 3
USE_PERL5_BUILD=yes
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= LDFLAGS="-lm ${PTHREAD_LIBS}" \
QTDIR=${X11BASE} \
LIBQT=-lqt2
LIBQT=-lqt-mt
MAKE_ENV= QTDIR=${X11BASE}
.include <bsd.port.pre.mk>

View File

@ -0,0 +1,10 @@
--- qscanplot/dinterpolator.cpp.orig Tue Feb 17 14:15:08 2004
+++ qscanplot/dinterpolator.cpp Tue Feb 17 14:15:25 2004
@@ -30,6 +30,7 @@
#include "dinterpolator.h"
#include <qlistbox.h>
#include <qmultilineedit.h>
+#include <qregexp.h>
dInterpolator::dInterpolator(QWidget *parent, const char *name, bool modal )
: dlgInterpolator(parent,name,modal)

View File

@ -1,17 +1,26 @@
$FreeBSD$
--- qscanplot/plugins/make-plugin.sh 2002/04/23 09:48:56 1.1
+++ qscanplot/plugins/make-plugin.sh 2002/04/23 09:53:40
@@ -1,6 +1,6 @@
--- qscanplot/plugins/make-plugin.sh.orig Sun Apr 14 11:42:17 2002
+++ qscanplot/plugins/make-plugin.sh Tue Feb 17 14:12:11 2004
@@ -1,14 +1,5 @@
#! /bin/sh
-TMAKEPATH=/usr/lib/tmake/linux-g++
+TMAKEPATH=${LOCALBASE}/share/tmake/freebsd-g++
-
-export TMAKEPATH
-
-if [ ! -d $TMAKEPATH ]; then
- echo Directory $TMAKEPATH selected for TMAKEPATH does not exist
- exit 1
-fi
-
plg=$1
export TMAKEPATH
plgcpp=$plg.cpp
@@ -34,11 +25,11 @@
@@ -38,7 +38,7 @@
echo Generating makefile . . .
-tmake -o $plgmak $plgpro
+qmake -o $plgmak $plgpro
echo Building plugin $plg

View File

@ -0,0 +1,10 @@
--- qscanplot/qscanplotview.cpp.orig Tue Feb 17 14:17:51 2004
+++ qscanplot/qscanplotview.cpp Tue Feb 17 14:18:09 2004
@@ -33,6 +33,7 @@
#include <qpainter.h>
#include <qapplication.h>
#include <qmsgbox.h>
+#include <qcursor.h>
#include "resource.h"