1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/science/kst2/Makefile
Raphael Kubo da Costa 366a97ec37 Reassign makc's ports back to the pool.
See "Maintainer Reset" in
https://www.freebsd.org/portmgr/policies_contributors.html. makc's last commit
was in March 31st (r412218), and his ports have been timing out since at least
July (r418155).

I also emailed him 2 weeks ago and have received no response so far.
2016-10-20 15:58:12 +00:00

65 lines
1.7 KiB
Makefile

# Created by: Markus Brueffer <markus@FreeBSD.org>
# $FreeBSD$
PORTNAME= kst
DISTVERSION= 2.0.8
CATEGORIES= science kde
MASTER_SITES= SF/${PORTNAME}/Kst%20${DISTVERSION:C/-r.*//}/
DISTNAME= Kst-${DISTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Data viewing and plotting tool
LIB_DEPENDS= libgsl.so:math/gsl
USES= cmake:outsource pkgconfig
_USE_QT4= gui xml designer svg linguisttools_build \
qmake_build moc_build rcc_build uic_build
_USE_QT5= concurrent network printsupport widgets xml \
buildtools_build linguisttools_build qmake_build
USE_LDCONFIG= yes
CMAKE_ARGS+= -Dkst_install_prefix=${PREFIX} \
-Dkst_pch=off
PLIST_SUB= SHLIB_VER=${PORTVERSION}
OPTIONS_DEFINE= FITS MATLAB NETCDF
OPTIONS_SINGLE= TOOLKIT
OPTIONS_SINGLE_TOOLKIT= QT4 QT5
OPTIONS_DEFAULT= QT4
OPTIONS_SUB= yes
FITS_DESC= Support for data in FITS format
FITS_LIB_DEPENDS= libcfitsio.so:astro/cfitsio
MATLAB_DESC= Support for data in MATLAB format
MATLAB_LIB_DEPENDS= libmatio.so:math/matio
NETCDF_DESC= Support for data in NetCDF format (broken)
NETCDF_LIB_DEPENDS= libnetcdf.so:science/netcdf
NETCDF_IGNORE= does not support NetCDF 4
TOOLKIT_DESC= Qt toolkit
QT4_USE= ${_USE_QT4:S/^/QT4=/}
QT5_USE= ${_USE_QT5:S/^/QT5=/}
QT5_CMAKE_ON= -Dkst_qt5=on
post-patch:
${REINPLACE_CMD} -e '/^Exec=kst2/s,\(kst2\).*,\1 %f,' \
${WRKSRC}/src/kst/kst2.desktop
post-patch-FITS-off:
${REINPLACE_CMD} -e '/find_package(CFITSIO)/d' \
${CMAKE_SOURCE_PATH}/CMakeLists.txt
post-patch-MATLAB-off:
${REINPLACE_CMD} -e '/find_package(Matio)/d' \
${CMAKE_SOURCE_PATH}/CMakeLists.txt
post-patch-NETCDF-off:
${REINPLACE_CMD} -e '/find_package(Netcdf)/d' \
${CMAKE_SOURCE_PATH}/CMakeLists.txt
.include <bsd.port.mk>