aboutsummaryrefslogtreecommitdiff
path: root/math/labplot/Makefile
blob: 8276263615b47c7c5f9e9778961f702dd9f89c3c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Created by: Kay Lehmann <kay_lehmann@web.de>
# $FreeBSD$

PORTNAME=	labplot
PORTVERSION=	2.4.0
PORTREVISION=	5
DISTVERSIONSUFFIX=-kf5
CATEGORIES=	math kde
MASTER_SITES=	KDE/stable/${PORTNAME}/${PORTVERSION}

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Data plotting and function analysis tool for KDE

LICENSE=	GPLv2+
LICENSE_FILE=	${WRKSRC}/COPYING

LIB_DEPENDS=	libgsl.so:math/gsl

OPTIONS_DEFINE=		FITS FFTW3 HDF5 NETCDF
OPTIONS_DEFAULT=	${OPTIONS_DEFINE}
FITS_DESC=		Flexible Image Transport System Data Format (FITS) Library
FITS_CMAKE_BOOL=	ENABLE_FITS
FITS_LIB_DEPENDS=	libcfitsio.so:astro/cfitsio
FFTW3_DESC=		Build with FFTW support
FFTW3_CMAKE_BOOL=	ENABLE_FFTW
FFTW3_LIB_DEPENDS=	libfftw3.so:math/fftw3
HDF5_DESC=		Build with HDF5 support
HDF5_CMAKE_BOOL=	ENABLE_HDF5
HDF5_LIB_DEPENDS=	libhdf5.so:science/hdf5
NETCDF_DESC=		Build with NetCDF support
NETCDF_CMAKE_BOOL=	ENABLE_NETCDF
NETCDF_LIB_DEPENDS=	libnetcdf.so:science/netcdf

USES=		cmake:outsource desktop-file-utils kde:5 qt:5 shared-mime-info tar:xz
USE_KDE=	archive auth bookmarks codecs completion config configwidgets \
		coreaddons crash ecm guiaddons i18n iconthemes itemviews \
		jobwidgets kdelibs4support kio newstuff notifications parts \
		service solid sonnet textwidgets unitconversion widgetsaddons \
		windowsystem xmlgui
USE_QT=		core dbus gui network printsupport svg widgets xml \
		buildtools_build qmake_build

DATADIR=	${PREFIX}/share/labplot2

.include <bsd.port.mk>