freebsd-ports/science/kst2/Makefile
Felix Palmen ddae4e92d8 Mk/Uses: always use colon for build/run suffix
Most USES use a colon for build/run(/test) suffixes. Change kde.mk,
qt.mk and pyqt.mk to do the same, and update all ports using that.

Document in CHANGES.

PR:			266034
Exp-run by:		antoine
Approved by:		tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D36349
2022-09-11 12:20:14 +02:00

61 lines
1.7 KiB
Makefile

PORTNAME= kst
DISTVERSION= ${KST_VERSION}.${KST_DATE}
PORTREVISION= 1
CATEGORIES= science
MAINTAINER= makc@FreeBSD.org
COMMENT= Data viewing and plotting tool
WWW= https://kst-plot.kde.org
LICENSE= GPLv2 GFDL LGPL20
LICENSE_COMB= multi
LICENSE_FILE_GPLv2= ${WRKSRC}/COPYING
LICENSE_FILE_GFDL= ${WRKSRC}/COPYING-DOCS
LICENSE_FILE_LGPL20= ${WRKSRC}/COPYING.LGPL
LIB_DEPENDS= libgsl.so:math/gsl \
libtiff.so:graphics/tiff
USES= cmake compiler:c++11-lang desktop-file-utils kde:5 pkgconfig \
qt:5 shared-mime-info
USE_QT= concurrent core gui network printsupport svg widgets xml \
buildtools:build linguisttools:build qmake:build
USE_LDCONFIG= yes
KST_VERSION= 2.0.8
KST_DATE= 20220216
KST_COMMIT= 40cdf2d3
KDE_INVENT= 40cdf2d397e4277ee7226188ef89ae3e0f12d884 graphics kst-plot
CMAKE_ARGS= -Dkst_install_prefix=${PREFIX} \
-Dkst_pch=off \
-Dkst_version_string=${KST_VERSION} \
-Dkst_revision="${KST_COMMIT} ${KST_DATE}" \
-DCMAKE_DISABLE_FIND_PACKAGE_Getdata=ON \
-Dkst_qt5=on
PLIST_SUB= SHLIB_VER=${KST_VERSION}
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
NETCDF_DESC= Support for data in NetCDF format (broken)
NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf
NETCDF_IGNORE= does not support NetCDF 4
NETCDF_CMAKE_OFF= -DCMAKE_DISABLE_FIND_PACKAGE_Netcdf=ON
.include <bsd.port.mk>