aboutsummaryrefslogtreecommitdiff
path: root/math/labplot
diff options
context:
space:
mode:
authorWilliam Grzybowski <wg@FreeBSD.org>2013-11-02 14:48:00 +0000
committerWilliam Grzybowski <wg@FreeBSD.org>2013-11-02 14:48:00 +0000
commitc9ed31cec2b3fd407296c075abf29d0f420fa4e9 (patch)
treefc20a14afab7f1cb086986fbd953f305f60e8a41 /math/labplot
parentc501b3fc6647d4724e4e7cecd34101e7759e5831 (diff)
downloadports-c9ed31cec2b3fd407296c075abf29d0f420fa4e9.tar.gz
ports-c9ed31cec2b3fd407296c075abf29d0f420fa4e9.zip
Notes
Diffstat (limited to 'math/labplot')
-rw-r--r--math/labplot/Makefile20
-rw-r--r--math/labplot/distinfo4
-rw-r--r--math/labplot/pkg-plist4
3 files changed, 13 insertions, 15 deletions
diff --git a/math/labplot/Makefile b/math/labplot/Makefile
index 912440546e3c..cb7d35964952 100644
--- a/math/labplot/Makefile
+++ b/math/labplot/Makefile
@@ -2,17 +2,16 @@
# $FreeBSD$
PORTNAME= labplot
-DISTVERSION= 2.0.0.alpha3
-PORTREVISION= 1
+DISTVERSION= 2.0.0.beta1
CATEGORIES= math kde
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION:R}
MAINTAINER= ports@FreeBSD.org
COMMENT= Data plotting and function analysis tool for KDE
-LICENSE= GPLv2
+LICENCE= GPLv2
-LIB_DEPENDS= gsl:${PORTSDIR}/math/gsl
+LIB_DEPENDS= libgsl.so:${PORTSDIR}/math/gsl
OPTIONS_DEFINE= CDF HDF5 NETCDF
CDF_DESC= CDF data support
@@ -20,29 +19,29 @@ HDF5_DESC= HDF5 data support
NETCDF_DESC= NetCDF data support
USE_BZIP2= yes
+USES= cmake
USE_XORG= xft xpm
+USE_GCC= yes
USE_KDE4= automoc4 kdelibs kdeprefix
USE_QT4= moc_build qmake_build rcc_build uic_build
-USES= cmake
CMAKE_ARGS= -DOPJ_LIBRARY:STRING=""
-NO_STAGE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCDF}
-LIB_DEPENDS+= cdf:${PORTSDIR}/science/cdf
+LIB_DEPENDS+= libcdf.so:${PORTSDIR}/science/cdf
.else
CMAKE_ARGS+= -DCDF_LIBRARY:STRING=""
.endif
.if ${PORT_OPTIONS:MHDF5}
-LIB_DEPENDS+= hdf5:${PORTSDIR}/science/hdf5
+LIB_DEPENDS+= libhdf5.so:${PORTSDIR}/science/hdf5
.else
CMAKE_ARGS+= -DHDF5_LIBRARY:STRING=""
.endif
.if ${PORT_OPTIONS:MNETCDF}
-LIB_DEPENDS+= netcdf:${PORTSDIR}/science/netcdf
+LIB_DEPENDS+= libnetcdf.so:${PORTSDIR}/science/netcdf
.else
CMAKE_ARGS+= -DNETCDF_LIBRARY:STRING=""
.endif
@@ -53,5 +52,8 @@ post-patch:
@${REINPLACE_CMD} -e \
's|i->\(children<T>\)|\1|' \
${WRKSRC}/src/backend/core/AbstractAspect.h
+ @${REINPLACE_CMD} -e \
+ 's|!isnan|!std::isnan|' \
+ ${WRKSRC}/src/backend/worksheet/plots/cartesian/CartesianCoordinateSystem.cpp
.include <bsd.port.mk>
diff --git a/math/labplot/distinfo b/math/labplot/distinfo
index 864859f123f6..0c171abc3d7a 100644
--- a/math/labplot/distinfo
+++ b/math/labplot/distinfo
@@ -1,2 +1,2 @@
-SHA256 (labplot-2.0.0.alpha3.tar.bz2) = 881c0a36378a6ad406d2c1102a58a32c038a6fb1e9fd97565da7b7aa95767227
-SIZE (labplot-2.0.0.alpha3.tar.bz2) = 1280273
+SHA256 (labplot-2.0.0.beta1.tar.bz2) = 3e68b7a8036a51670a2011c671a7163dd49ddec79b77c80df1cabbbc019e4221
+SIZE (labplot-2.0.0.beta1.tar.bz2) = 1290084
diff --git a/math/labplot/pkg-plist b/math/labplot/pkg-plist
index ff888364a0da..cae8c68502cc 100644
--- a/math/labplot/pkg-plist
+++ b/math/labplot/pkg-plist
@@ -1,8 +1,4 @@
bin/labplot2
-bin/opj2dat
-lib/liblabplot_origin.so
-lib/liblabplot_origin.so.0
-lib/liblabplot_origin.so.0.0.4
share/apps/LabPlot/LabPlotui.rc
share/apps/LabPlot/labplot.png
share/apps/LabPlot/pics/auto-scale-all.png