aboutsummaryrefslogtreecommitdiff
path: root/math/qtiplot
diff options
context:
space:
mode:
Diffstat (limited to 'math/qtiplot')
-rw-r--r--math/qtiplot/Makefile11
-rw-r--r--math/qtiplot/distinfo4
2 files changed, 11 insertions, 4 deletions
diff --git a/math/qtiplot/Makefile b/math/qtiplot/Makefile
index 51047618a1b0..14013f838a96 100644
--- a/math/qtiplot/Makefile
+++ b/math/qtiplot/Makefile
@@ -6,9 +6,10 @@
#
PORTNAME= qtiplot
-PORTVERSION= 0.6.0
+PORTVERSION= 0.6.2.2
CATEGORIES= math science
MASTER_SITES= http://soft.proindependent.com/
+DISTNAME= ${PORTNAME}-0.6.2-2
MAINTAINER= gaoj@cpsc.ucalgary.ca
COMMENT= An Origin clone for data analysis and scientific plotting
@@ -33,6 +34,12 @@ MAKE_ENV= QTDIR=${QT_PREFIX}
IGNORE= does not compile on FreeBSD 4.x
.endif
+.if exists(${X11BASE}/share/qt/mkspecs/freebsd-g++)
+QMAKESPEC= ${X11BASE}/share/qt/mkspecs/freebsd-g++
+.else
+QMAKESPEC= ${LOCALBASE}/share/qt/mkspecs/freebsd-g++
+.endif
+
pre-configure:
@${REINPLACE_CMD} -e \
"s:/home/ion/qt/qwt-4.2.0/include:${LOCALBASE}/include/qwt:" \
@@ -42,7 +49,7 @@ pre-configure:
do-configure:
@cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} qmake \
- -spec freebsd-g++ qtiplot.pro
+ -spec ${QMAKESPEC} qtiplot.pro
post-configure:
@${REINPLACE_CMD} -e \
diff --git a/math/qtiplot/distinfo b/math/qtiplot/distinfo
index c9a8d7405439..4b6a97af3e35 100644
--- a/math/qtiplot/distinfo
+++ b/math/qtiplot/distinfo
@@ -1,2 +1,2 @@
-MD5 (qtiplot-0.6.0.zip) = c46768ad8a44f8704c9e3350811e3882
-SIZE (qtiplot-0.6.0.zip) = 336339
+MD5 (qtiplot-0.6.2-2.zip) = 251d406ad4ddfbbb10b7d347f755ee1b
+SIZE (qtiplot-0.6.2-2.zip) = 334479