aboutsummaryrefslogtreecommitdiffstats
path: root/science/netcdf/Makefile
blob: 8d0ed15cd3f31d5fc60cbf887ebd56f8a3091592 (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
46
47
48
49
50
51
52
PORTNAME=   netcdf
PORTVERSION=    4.9.2
DISTVERSIONPREFIX=  c-
PORTREVISION=   1
CATEGORIES= science
MASTER_SITES=   https://downloads.unidata.ucar.edu/netcdf-c/${PORTVERSION}/ \
        LOCAL/sunpoet

MAINTAINER= sunpoet@FreeBSD.org
COMMENT=    C library for machine-independent, array-oriented data access
WWW=        https://www.unidata.ucar.edu/software/netcdf/ \
        https://github.com/Unidata/netcdf-c

LICENSE=    BSD3CLAUSE
LICENSE_FILE=   ${WRKSRC}/COPYRIGHT

LIB_DEPENDS=    libcurl.so:ftp/curl \
        libhdf5.so:science/hdf5 \
        libzstd.so:archivers/zstd

USES=       gmake libtool localbase ncurses pathfix pkgconfig:run

CONFIGURE_ARGS= --disable-filter-testing --disable-libxml2 \
        --enable-byterange --enable-dap --enable-netcdf-4
CPPFLAGS+=  -fPIC -DPIC
GNU_CONFIGURE=  yes
INSTALL_TARGET= install-strip
LIBS+=      -lexecinfo
TEST_TARGET=    check
USE_LDCONFIG=   yes

CONFLICTS_INSTALL=  hdf-4.[0-9]* netcdf-3.[0-9]* netcdf3-3.[0-9]*

OPTIONS_DEFINE= DOCS DOXYGEN SZIP
OPTIONS_DEFAULT=SZIP
OPTIONS_SUB=    yes
DOXYGEN_IMPLIES=DOCS
SZIP_DESC=  SZIP support (required if HDF5 was built with SZIP)

DOXYGEN_BUILD_DEPENDS=  doxygen:devel/doxygen
DOXYGEN_CONFIGURE_ENABLE=   doxygen
SZIP_LIB_DEPENDS=   libsz.so:science/libaec
SZIP_LIBS=      -lsz

post-build-DOXYGEN-on:
    cd ${WRKSRC}/docs/ && ${LOCALBASE}/bin/doxygen .

post-install-DOXYGEN-on:
    ${MKDIR} ${STAGEDIR}${DOCSDIR}/
    cd ${WRKSRC}/docs/html/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}

.include <bsd.port.mk>
ew_frame_set_tree_view (ETreeViewFrame *tree_view_frame, GtkTreeView *tree_view); gboolean e_tree_view_frame_get_toolbar_visible (ETreeViewFrame *tree_view_frame); void e_tree_view_frame_set_toolbar_visible (ETreeViewFrame *tree_view_frame, gboolean toolbar_visible); GtkPolicyType e_tree_view_frame_get_hscrollbar_policy (ETreeViewFrame *tree_view_frame); void e_tree_view_frame_set_hscrollbar_policy (ETreeViewFrame *tree_view_frame, GtkPolicyType hscrollbar_policy); GtkPolicyType e_tree_view_frame_get_vscrollbar_policy (ETreeViewFrame *tree_view_frame); void e_tree_view_frame_set_vscrollbar_policy (ETreeViewFrame *tree_view_frame, GtkPolicyType vscrollbar_policy); void e_tree_view_frame_insert_toolbar_action (ETreeViewFrame *tree_view_frame, GtkAction *action, gint position); GtkAction * e_tree_view_frame_lookup_toolbar_action (ETreeViewFrame *tree_view_frame, const gchar *action_name); void e_tree_view_frame_update_toolbar_actions (ETreeViewFrame *tree_view_frame); G_END_DECLS #endif /* E_TREE_VIEW_FRAME_H */