2025-01-11 12:29:11 +00:00
|
|
|
USE_NOBTCFI-aarch64 = Yes# fortran
|
|
|
|
|
|
2007-09-15 18:44:36 +00:00
|
|
|
COMMENT= library for machine-independent, array-oriented data access
|
2001-05-06 01:58:40 +00:00
|
|
|
|
2025-09-08 19:16:01 +00:00
|
|
|
V= 4.9.3
|
2019-03-13 20:27:40 +00:00
|
|
|
NAME= netcdf
|
|
|
|
|
DISTNAME= ${NAME}-c-${V}
|
|
|
|
|
PKGNAME= ${NAME}-${V}
|
2025-11-01 11:16:40 +00:00
|
|
|
REVISION= 0
|
2019-03-13 20:27:40 +00:00
|
|
|
|
2000-12-26 12:22:53 +00:00
|
|
|
CATEGORIES= math
|
|
|
|
|
|
2025-09-08 19:16:01 +00:00
|
|
|
SHARED_LIBS= netcdf 11.0 # 23.0
|
2005-12-24 14:45:38 +00:00
|
|
|
|
2016-12-18 13:58:21 +00:00
|
|
|
HOMEPAGE= http://www.unidata.ucar.edu/software/netcdf/
|
2000-12-26 12:22:53 +00:00
|
|
|
|
2019-03-13 20:27:40 +00:00
|
|
|
MAINTAINER= Martin Reindl <martin@catai.org>
|
2000-12-26 12:22:53 +00:00
|
|
|
|
2019-03-13 20:27:40 +00:00
|
|
|
# BSD
|
2019-07-12 20:46:54 +00:00
|
|
|
PERMIT_PACKAGE= Yes
|
2000-12-26 12:22:53 +00:00
|
|
|
|
2023-10-15 13:42:14 +00:00
|
|
|
COMPILER= base-clang ports-gcc base-gcc
|
|
|
|
|
|
2025-09-08 19:16:01 +00:00
|
|
|
WANTLIB+= ${COMPILER_LIBCXX} aec blosc bz2 c crypto curl execinfo
|
|
|
|
|
WANTLIB+= hdf5 hdf5_hl iconv lz4 lzma m nghttp2 nghttp3 ngtcp2
|
|
|
|
|
WANTLIB+= ngtcp2_crypto_libressl pthread ssl snappy sz xml2 z zip zstd
|
2023-05-05 20:17:55 +00:00
|
|
|
|
|
|
|
|
# curl is needed for DAP support
|
2023-10-15 13:42:14 +00:00
|
|
|
LIB_DEPENDS= archivers/blosc \
|
2025-09-08 19:16:01 +00:00
|
|
|
archivers/libaec \
|
2023-10-15 13:42:14 +00:00
|
|
|
archivers/libzip \
|
2023-05-07 14:46:42 +00:00
|
|
|
math/hdf5 \
|
|
|
|
|
net/curl \
|
|
|
|
|
textproc/libxml
|
2019-03-13 20:27:40 +00:00
|
|
|
|
2025-09-08 19:16:01 +00:00
|
|
|
TEST_DEPENDS= devel/libsigsegv \
|
|
|
|
|
shells/bash \
|
2019-03-13 20:27:40 +00:00
|
|
|
textproc/gdiff
|
2004-02-01 12:22:05 +00:00
|
|
|
|
2023-09-27 09:27:52 +00:00
|
|
|
SITES= https://downloads.unidata.ucar.edu/netcdf-c/$V/
|
2000-12-26 12:22:53 +00:00
|
|
|
|
2007-11-29 13:43:08 +00:00
|
|
|
CONFIGURE_STYLE= gnu
|
2022-04-16 11:18:44 +00:00
|
|
|
CONFIGURE_ENV+= LDFLAGS="-L${LOCALBASE}/lib -lexecinfo" \
|
2025-09-08 19:16:01 +00:00
|
|
|
CPPFLAGS="-I${LOCALBASE}/include" \
|
2019-03-13 20:27:40 +00:00
|
|
|
|
2016-03-10 11:50:13 +00:00
|
|
|
CONFIGURE_ARGS+= --enable-shared \
|
2019-03-13 20:27:40 +00:00
|
|
|
--disable-doxygen \
|
|
|
|
|
--enable-netcdf-4 \
|
|
|
|
|
--enable-dap \
|
2023-05-05 20:17:55 +00:00
|
|
|
--prefix=${PREFIX}
|
2000-12-26 12:22:53 +00:00
|
|
|
|
2023-10-15 13:42:14 +00:00
|
|
|
TEST_ENV= CC=cc
|
|
|
|
|
|
2007-11-29 13:43:08 +00:00
|
|
|
USE_GMAKE= Yes
|
2012-03-29 13:38:12 +00:00
|
|
|
SEPARATE_BUILD= Yes
|
2000-12-26 12:22:53 +00:00
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|