# Created by: Po-Chuan Hsieh # $FreeBSD: head/science/eccodes/Makefile 563300 2021-01-30 12:21:28Z sunpoet $ PORTNAME= eccodes PORTVERSION= 2.20.0 DISTVERSIONSUFFIX= -Source CATEGORIES= science MASTER_SITES= https://confluence.ecmwf.int/download/attachments/45757960/ \ LOCAL/sunpoet MAINTAINER= sunpoet@FreeBSD.org COMMENT= ECMWF API for WMO FM-92 GRIB and FM-94 BUFR messages LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libnetcdf.so:science/netcdf \ libpng.so:graphics/png USES= cmake perl5 shebangfix CMAKE_ARGS= -DBUILD_SHARED_LIBS=BOTH CMAKE_OFF= ENABLE_ALIGN_MEMORY \ ENABLE_ECCODES_OMP_THREADS \ ENABLE_EXTRA_TESTS \ ENABLE_FORTRAN \ ENABLE_GRIB_TIMER \ ENABLE_MEMFS \ ENABLE_MEMORY_MANAGEMENT \ ENABLE_PYTHON CMAKE_ON= ECCODES_INSTALL_EXTRA_TOOLS \ ENABLE_ECCODES_THREADS \ ENABLE_EXAMPLES \ ENABLE_INSTALL_ECCODES_DEFINITIONS \ ENABLE_NETCDF \ ENABLE_PNG USE_CSTD= c99 USE_LDCONFIG= yes CONFLICTS_INSTALL= grib_api PORTSCOUT= site:https://confluence.ecmwf.int/display/ECC/Releases SHEBANG_FILES= tools/bufr_compare_dir OPTIONS_DEFINE= AEC OPTIONS_SINGLE= JPEG OPTIONS_SINGLE_JPEG= JASPER OPENJPEG OPTIONS_DEFAULT=OPENJPEG AEC_DESC= Adaptive Entropy Coding support AEC_CMAKE_BOOL= ENABLE_AEC AEC_LIB_DEPENDS= libaec.so:science/libaec JASPER_CMAKE_BOOL= ENABLE_JPG JASPER_LIB_DEPENDS= libjasper.so:graphics/jasper OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg .include