1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-05 01:55:52 +00:00

science/kst2:

- Update to 2019.03.25 snapshot
- Download tarball from the official KDE repo on Github
- Remove kde from CATEGORIES: kst is pure Qt app
- Add option for HDF5 data files support
- Enable all options by default
This commit is contained in:
Max Brazhnikov 2019-04-21 20:53:50 +00:00
parent d3e770598b
commit bd781394ba
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=499593
3 changed files with 19 additions and 12 deletions

View File

@ -3,8 +3,7 @@
PORTNAME= kst
DISTVERSION= ${KST_VERSION}.${KST_DATE}
PORTREVISION= 5
CATEGORIES= science kde
CATEGORIES= science
MAINTAINER= makc@FreeBSD.org
COMMENT= Data viewing and plotting tool
@ -19,7 +18,7 @@ LIB_DEPENDS= libgsl.so:math/gsl \
libtiff.so:graphics/tiff
KST_VERSION= 2.0.8
KST_DATE= 20181123
KST_DATE= 20190325
USES= cmake compiler:c++11-lang desktop-file-utils pkgconfig \
qt:5 shared-mime-info
@ -28,25 +27,31 @@ USE_QT= concurrent core gui network printsupport svg widgets xml \
USE_LDCONFIG= yes
USE_GITHUB= yes
GH_ACCOUNT= Kst-plot
GH_TAGNAME= c5dddb1
GH_ACCOUNT= KDE
GH_PROJECT= kst-plot
GH_TAGNAME= 35c35e1
CMAKE_ARGS= -Dkst_install_prefix=${PREFIX} \
-Dkst_pch=off \
-Dkst_version_string=${KST_VERSION} \
-Dkst_revision=${KST_DATE} \
-Dkst_revision="${GH_TAGNAME} ${KST_DATE}" \
-DCMAKE_DISABLE_FIND_PACKAGE_Getdata=ON \
-Dkst_qt5=on
PLIST_SUB= SHLIB_VER=${KST_VERSION}
OPTIONS_DEFINE= FITS MATLAB NETCDF
OPTIONS_DEFINE= FITS HDF5 MATLAB NETCDF
OPTIONS_DEFAULT= FITS HDF5 MATLAB
OPTIONS_SUB= yes
FITS_DESC= Support for data in FITS format
FITS_LIB_DEPENDS= libcfitsio.so:astro/cfitsio
FITS_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_CFITSIO=ON
HDF5_DESC= Support for data in HDF5 format
HDF5_LIB_DEPENDS= libhdf5.so:science/hdf5
HDF5_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_HDF5=ON
MATLAB_DESC= Support for data in MATLAB format
MATLAB_LIB_DEPENDS= libmatio.so:math/matio
MATLAB_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Matio=ON
@ -56,4 +61,7 @@ NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf
NETCDF_IGNORE= does not support NetCDF 4
NETCDF_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Netcdf=ON
post-patch:
${REINPLACE_CMD} 's,hdf5/serial/,,' ${WRKSRC}/src/datasources/hdf5/hdf5.h
.include <bsd.port.mk>

View File

@ -1,5 +1,3 @@
TIMESTAMP = 1543060711
SHA256 (Kst-plot-kst-2.0.8.20181123-c5dddb1_GH0.tar.gz) = a590558a3b090cfacf81739daa0cbe28697265b7b93b28801e9a2385d0203ebd
SIZE (Kst-plot-kst-2.0.8.20181123-c5dddb1_GH0.tar.gz) = 18774842
SHA256 (de3110c59874.patch) = d3d4a95ad65a680f11efdbbd2f9b0e753f409b84f04c517563eb010856894b22
SIZE (de3110c59874.patch) = 1131
TIMESTAMP = 1555765884
SHA256 (KDE-kst-plot-2.0.8.20190325-35c35e1_GH0.tar.gz) = b448a857d18ae066001a80e20b6eb0cbfaa40fa3634791793221c5e08ee61a14
SIZE (KDE-kst-plot-2.0.8.20190325-35c35e1_GH0.tar.gz) = 18791194

View File

@ -26,6 +26,7 @@ lib/kst2/plugins/libkst2_dataobject_syncbin.so
lib/kst2/plugins/libkst2_datasource_ascii.so
lib/kst2/plugins/libkst2_datasource_bis.so
%%FITS%%lib/kst2/plugins/libkst2_datasource_fitsimage.so
%%HDF5%%lib/kst2/plugins/libkst2_datasource_hdf5.so
lib/kst2/plugins/libkst2_datasource_its.so
%%MATLAB%%lib/kst2/plugins/libkst2_datasource_matlab.so
%%NETCDF%%lib/kst2/plugins/libkst2_datasource_netcdf.so