summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2007-10-07 06:51:22 +0000
committerGreg Lewis <glewis@FreeBSD.org>2007-10-07 06:51:22 +0000
commit2beed25bf1c7e947e5f3c8edacdc5f8c49ca164e (patch)
treed6c3d3b0765492dc33207f60c8010f8a1b225dd1
parent- update to 0.6 (diff)
. Update to 4.2.2.
PR: 116734 Submitted by: bf <bf2006a@yahoo.com>
-rw-r--r--math/gnuplot/Makefile15
-rw-r--r--math/gnuplot/distinfo6
2 files changed, 16 insertions, 5 deletions
diff --git a/math/gnuplot/Makefile b/math/gnuplot/Makefile
index ccfa106c67c7..e2ff73bde2f8 100644
--- a/math/gnuplot/Makefile
+++ b/math/gnuplot/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= gnuplot
-PORTVERSION= 4.2.0
-PORTREVISION= 3
+PORTVERSION= 4.2.2
CATEGORIES= math graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -27,8 +26,10 @@ CONFIGURE_ARGS+=--with-kpsexpand \
BUILD_DEPENDS+= latex:${PORTSDIR}/print/teTeX-base
OPTIONS= GD "Enable GD support" on \
+ GRIDBOX "Use the gridbox optimization for hidden3d" off \
PDF "Enable PDF support" on \
PLOT "Enable plot support" on \
+ THINSPLINES "Enable thin plate splines for grids in dgrid3d" off \
WX "Enable WX support" off
MAN1= gnuplot.1 lasergnu.1
@@ -51,6 +52,10 @@ LIB_DEPENDS+= gd.4:${PORTSDIR}/graphics/gd
CONFIGURE_ARGS+= --with-gd=${LOCALBASE}
.endif
+.if !defined(WITHOUT_GRIDBOX)
+CONFIGURE_ARGS+= --disable-h3d-quadtree --enable-h3d-gridbox
+.endif
+
.if defined(WITHOUT_PDF)
CONFIGURE_ARGS+= --without-pdf
.else
@@ -65,6 +70,12 @@ LIB_DEPENDS+= plot.4:${PORTSDIR}/graphics/plotutils
CONFIGURE_ARGS+= --with-plot=${LOCALBASE}
.endif
+.if defined(WITHOUT_THINSPLINES)
+CONFIGURE_ARGS+= --disable-thin-splines
+.else
+CONFIGURE_ARGS+= --enable-thin-splines
+.endif
+
.if defined(WITHOUT_WX)
CONFIGURE_ARGS+= --disable-wxwidgets
.else
diff --git a/math/gnuplot/distinfo b/math/gnuplot/distinfo
index ac2a4d04e4d7..0316155779e9 100644
--- a/math/gnuplot/distinfo
+++ b/math/gnuplot/distinfo
@@ -1,3 +1,3 @@
-MD5 (gnuplot-4.2.0.tar.gz) = f688a578ddb4c376fd7d91ce444a0745
-SHA256 (gnuplot-4.2.0.tar.gz) = ede70fb18f05935f0186ae7514e5f77e09d7eab94a4f9cff82ddb48dbcbe20e9
-SIZE (gnuplot-4.2.0.tar.gz) = 2836649
+MD5 (gnuplot-4.2.2.tar.gz) = b9dd34e8210a65336b19ee408766a66f
+SHA256 (gnuplot-4.2.2.tar.gz) = 756f8a058f2743d0ca739a14bd43cda40d6fd9cc14bb50f4d30d92d538478a91
+SIZE (gnuplot-4.2.2.tar.gz) = 2832174