View | Details | Raw Unified | Return to bug 251894 | Differences between
and this patch

Collapse All | Expand All

(-)science/hdf5/Makefile (-29 / +59 lines)
Lines 2-60 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	hdf5
4
PORTNAME=	hdf5
5
PORTVERSION=	1.10.6
5
PORTVERSION=	1.12.0
6
PORTEPOCH=	1
6
PORTEPOCH=	1
7
CATEGORIES=	science archivers graphics
7
CATEGORIES=	science archivers graphics
8
MASTER_SITES=	https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${PORTVERSION:R}/${DISTNAME}/src/ \
8
MASTER_SITES=	https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-${PORTVERSION:R}/hdf5-${PORTVERSION}/src/
9
		LOCAL/sunpoet
9
DISTNAME=	CMake-${PORTNAME}-${PORTVERSION}
10
10
11
MAINTAINER=	sunpoet@FreeBSD.org
11
MAINTAINER=	sunpoet@FreeBSD.org
12
COMMENT=	Hierarchical Data Format library (from NCSA)
12
COMMENT=	Hierarchical Data Format library (from NCSA) (latest)
13
13
14
LICENSE=	BSD4CLAUSE
14
LICENSE=	BSD4CLAUSE
15
LICENSE_FILE=	${WRKSRC}/COPYING
15
LICENSE_FILE=	${WRKSRC}/COPYING
16
16
17
USES=		cmake compiler:c11 localbase perl5
18
USE_PERL5=	build
19
17
CONFLICTS_INSTALL=	hdf-4.[0-9]* hdf5-1.6.[0-9]*
20
CONFLICTS_INSTALL=	hdf-4.[0-9]* hdf5-1.6.[0-9]*
18
21
19
OPTIONS_DEFINE=	DEBUG EXAMPLES FORTRAN SZIP
22
OPTIONS_DEFINE=	DEBUG EXAMPLES FORTRAN SZIP
20
OPTIONS_RADIO=	SUPPORT
23
OPTIONS_RADIO=	SUPPORT
21
OPTIONS_RADIO_SUPPORT=	CXX PARALLEL
24
OPTIONS_RADIO_SUPPORT=	CXX PARALLEL
22
OPTIONS_DEFAULT=CXX SZIP
25
OPTIONS_DEFAULT=CXX FORTRAN SZIP
23
OPTIONS_SUB=	yes
26
OPTIONS_SUB=	yes
24
PARALLEL_DESC=	Parallel support
27
PARALLEL_DESC=	Parallel support
25
28
26
USES=		compiler:c11 libtool localbase tar:bzip2
29
WRKSRC_SUBDIR=	${PORTNAME}-${PORTVERSION}
27
30
CMAKE_ON=	HDF5_BUILD_HL_LIB		\
28
CONFIGURE_ARGS=	--enable-hl \
31
		HDF5_ENABLE_INSTRUMENT		\
29
		--enable-instrument \
32
		HDF5_BUILD_TOOLS		\
30
		--enable-strict-format-checks
33
		HDF5_STRICT_FORMAT_CHECKS
31
GNU_CONFIGURE=	yes
34
CMAKE_ARGS=	-DHDF5_INSTALL_INCLUDE_DIR:PATH=${PREFIX}/include	\
32
INSTALL_TARGET=	install-strip
35
		-DDEFAULT_API_VERSION="v110"
33
MAKE_JOBS_UNSAFE=	yes
36
EXAMPLESVER=	1.12.6
34
TEST_TARGET=	check
37
TEST_TARGET=	test
35
USE_LDCONFIG=	yes
38
USE_LDCONFIG=	yes
36
39
40
DATASTUFF=	RELEASE.txt			\
41
		USING_HDF5_CMake.txt
42
DATASTUFFEX=	CTestScript.cmake		\
43
		HDF5_Examples.cmake		\
44
		HDF5_Examples_options.cmake	\
45
		USING_CMake_Examples.txt
46
PKGCFGDIR=	${PREFIX}/libdata/pkgconfig
47
PKGCFG=		hdf5.pc hdf5_hl.pc
48
PKGCFGCXX=	hdf5_cpp.pc hdf5_hl_cpp.pc
49
PKGCFGFC=	hdf5_fortran.pc
50
37
PORTEXAMPLES=	*
51
PORTEXAMPLES=	*
38
52
39
CXX_CONFIGURE_ENABLE=	cxx
53
CXX_CMAKE_BOOL=		HDF5_BUILD_CPP_LIB
40
DEBUG_CONFIGURE_OFF=	--enable-build-mode=production
54
CXX_VARS=		PKGCFG+="${PKGCFGCXX}"
41
DEBUG_CONFIGURE_ON=	--enable-build-mode=debug
55
EXAMPLES_CMAKE_BOOL=	HDF5_BUILD_EXAMPLES HDF5_TEST_EXAMPLES HDF5_PACK_EXAMPLES
42
FORTRAN_CONFIGURE_ENABLE=	fortran
56
EXAMPLES_VARS=		DATASTUFF+="${DATASTUFFEX}"
57
FORTRAN_CMAKE_BOOL=	HDF5_BUILD_FORTRAN
43
FORTRAN_CONFIGURE_ENV=	F9X=${FC}
58
FORTRAN_CONFIGURE_ENV=	F9X=${FC}
44
FORTRAN_USES=		fortran
59
FORTRAN_USES=		fortran
45
PARALLEL_CONFIGURE_ENABLE=	parallel
60
FORTRAN_VARS=		PKGCFG+="${PKGCFGFC}"
46
PARALLEL_LDFLAGS=	-L${LOCALBASE}/lib -lmpi
61
PARALLEL_IMPLIES=	FORTRAN
62
PARALLEL_CMAKE_BOOL=	HDF5_ENABLE_PARALLEL
63
PARALLEL_VARS=		FCFLAGS+=-I${LOCALBASE}/include
64
PARALLEL_LDFLAGS=	-L${LOCALBASE}/lib -lmpifort -lmpi
47
PARALLEL_LIB_DEPENDS=	libmpi.so:net/mpich
65
PARALLEL_LIB_DEPENDS=	libmpi.so:net/mpich
48
SZIP_CONFIGURE_ON=	--with-szlib=${LOCALBASE}
66
SZIP_CMAKE_BOOL=	HDF5_ENABLE_SZIP_SUPPORT
49
SZIP_LIB_DEPENDS=	libsz.so:science/szip
67
SZIP_LIB_DEPENDS=	libsz.so:science/szip
50
68
51
post-patch:
69
.include <bsd.port.options.mk>
52
	@${REINPLACE_CMD} -e 's|-O3||g' ${WRKSRC}/config/gnu-flags
53
	@${REINPLACE_CMD} \
54
		-e '/LD_LIBRARY_PATH/ s|^|#|' \
55
		-e 's|/share/hdf5_examples|/${EXAMPLESDIR_REL}|' \
56
		-e 's|(INSTALL)|(INSTALL_DATA)|' \
57
			`${FIND} ${WRKSRC} -regex '.*/examples/Makefile.in'`
58
	@${REINPLACE_CMD} -e 's|\[ -a|\[ -f|g' `${FIND} ${WRKSRC} -name \*.sh\*`
59
70
71
post-extract-EXAMPLES-on:
72
	(cd ${WRKSRC} && ${TAR} xfz ../HDF5Examples-${EXAMPLESVER}-Source.tar.gz)
73
74
pre-build-EXAMPLES-on:
75
	${MKDIR} ${WRKDIR}/.build
76
	${CP} -R ${WRKSRC}/HDF5Examples ${WRKDIR}/.build
77
78
post-stage:
79
	${RM} ${STAGEDIR}${PREFIX}/share/COPYING
80
	${MKDIR} ${STAGEDIR}${DATADIR}
81
	(cd ${STAGEDIR}${PREFIX}/share && ${MV} ${DATASTUFF} ${STAGEDIR}${DATADIR}/)
82
.for pk in ${PKGCFG}
83
	${LN} -sf ${pk:C/5/5${PKGNAMESUFFIX}/:C/.pc/-${PORTVERSION}.pc/}	\
84
		${STAGEDIR}${PKGCFGDIR}/${pk}
85
.endfor
86
87
post-stage-EXAMPLES-on:
88
	${MV} ${STAGEDIR}${PREFIX}/share/HDF5Examples ${STAGEDIR}${EXAMPLESDIR}
89
60
.include <bsd.port.mk>
90
.include <bsd.port.mk>
(-)science/hdf5/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1577693899
1
TIMESTAMP = 1608044656
2
SHA256 (hdf5-1.10.6.tar.bz2) = 09d6301901685201bb272a73e21c98f2bf7e044765107200b01089104a47c3bd
2
SHA256 (CMake-hdf5-1.12.0.tar.gz) = 01b9c01c45cc8c66da86e69c510e17f3cff0706a65d8683cd86af405eaf75397
3
SIZE (hdf5-1.10.6.tar.bz2) = 8813699
3
SIZE (CMake-hdf5-1.12.0.tar.gz) = 13950636
(-)science/hdf5/pkg-plist (-45 / +130 lines)
Lines 1-30 Link Here
1
bin/gif2h5
1
bin/gif2h5
2
bin/gif2h5-shared
2
bin/h52gif
3
bin/h52gif
4
bin/h52gif-shared
3
%%CXX%%bin/h5c++
5
%%CXX%%bin/h5c++
4
%%CXX%%bin/h5cc
6
%%CXX%%bin/h5cc
5
bin/h5clear
7
bin/h5clear
8
bin/h5clear-shared
6
bin/h5copy
9
bin/h5copy
10
bin/h5copy-shared
7
bin/h5debug
11
bin/h5debug
12
bin/h5debug-shared
8
bin/h5diff
13
bin/h5diff
14
bin/h5diff-shared
9
bin/h5dump
15
bin/h5dump
10
%%FORTRAN%%bin/h5fc
16
bin/h5dump-shared
17
%%NO_PARALLEL%%%%FORTRAN%%bin/h5fc
11
bin/h5format_convert
18
bin/h5format_convert
19
bin/h5format_convert-shared
20
%%CXX%%bin/h5hlc++
21
bin/h5hlcc
12
bin/h5import
22
bin/h5import
23
bin/h5import-shared
13
bin/h5jam
24
bin/h5jam
25
bin/h5jam-shared
14
bin/h5ls
26
bin/h5ls
27
bin/h5ls-shared
15
bin/h5mkgrp
28
bin/h5mkgrp
16
%%PARALLEL%%bin/h5pcc
29
bin/h5mkgrp-shared
17
%%PARALLEL%%bin/h5perf
18
bin/h5perf_serial
19
bin/h5redeploy
20
bin/h5repack
30
bin/h5repack
31
bin/h5repack-shared
21
bin/h5repart
32
bin/h5repart
33
bin/h5repart-shared
22
bin/h5stat
34
bin/h5stat
35
bin/h5stat-shared
23
bin/h5unjam
36
bin/h5unjam
37
bin/h5unjam-shared
24
bin/h5watch
38
bin/h5watch
39
bin/h5watch-shared
25
%%PARALLEL%%bin/ph5diff
40
%%PARALLEL%%bin/ph5diff
41
%%PARALLEL%%bin/ph5diff-shared
26
include/H5ACpublic.h
42
include/H5ACpublic.h
27
%%CXX%%include/H5AbstractDs.h
43
%%CXX%%include/H5AbstractDs.h
44
%%CXX%%include/H5Alltypes.h
28
include/H5Apublic.h
45
include/H5Apublic.h
29
%%CXX%%include/H5ArrayType.h
46
%%CXX%%include/H5ArrayType.h
30
%%CXX%%include/H5AtomType.h
47
%%CXX%%include/H5AtomType.h
Lines 44-49 Link Here
44
%%CXX%%include/H5DcreatProp.h
61
%%CXX%%include/H5DcreatProp.h
45
include/H5Dpublic.h
62
include/H5Dpublic.h
46
%%CXX%%include/H5DxferProp.h
63
%%CXX%%include/H5DxferProp.h
64
include/H5ESpublic.h
47
%%CXX%%include/H5EnumType.h
65
%%CXX%%include/H5EnumType.h
48
include/H5Epubgen.h
66
include/H5Epubgen.h
49
include/H5Epublic.h
67
include/H5Epublic.h
Lines 58-63 Link Here
58
include/H5FDmulti.h
76
include/H5FDmulti.h
59
include/H5FDpublic.h
77
include/H5FDpublic.h
60
include/H5FDros3.h
78
include/H5FDros3.h
79
include/H5FDs3comms.h
61
include/H5FDsec2.h
80
include/H5FDsec2.h
62
include/H5FDstdio.h
81
include/H5FDstdio.h
63
include/H5FDwindows.h
82
include/H5FDwindows.h
Lines 81-86 Link Here
81
%%CXX%%include/H5Location.h
100
%%CXX%%include/H5Location.h
82
include/H5Lpublic.h
101
include/H5Lpublic.h
83
include/H5MMpublic.h
102
include/H5MMpublic.h
103
include/H5Mpublic.h
84
%%CXX%%include/H5Object.h
104
%%CXX%%include/H5Object.h
85
%%CXX%%include/H5OcreatProp.h
105
%%CXX%%include/H5OcreatProp.h
86
include/H5Opublic.h
106
include/H5Opublic.h
Lines 96-161 Link Here
96
%%CXX%%include/H5StrType.h
116
%%CXX%%include/H5StrType.h
97
include/H5TBpublic.h
117
include/H5TBpublic.h
98
include/H5Tpublic.h
118
include/H5Tpublic.h
119
include/H5VLconnector.h
120
include/H5VLconnector_passthru.h
121
include/H5VLnative.h
122
include/H5VLpassthru.h
123
include/H5VLpublic.h
99
%%CXX%%include/H5VarLenType.h
124
%%CXX%%include/H5VarLenType.h
100
include/H5Zpublic.h
125
include/H5Zpublic.h
101
include/H5api_adpt.h
126
include/H5api_adpt.h
127
%%FORTRAN%%include/H5f90.h
102
%%FORTRAN%%include/H5f90i.h
128
%%FORTRAN%%include/H5f90i.h
103
%%FORTRAN%%include/H5f90i_gen.h
129
%%FORTRAN%%include/H5f90i_gen.h
130
%%FORTRAN%%include/H5f90proto.h
131
%%FORTRAN%%include/H5fortran_types.F90
104
include/H5overflow.h
132
include/H5overflow.h
105
include/H5pubconf.h
133
include/H5pubconf.h
106
include/H5public.h
134
include/H5public.h
107
include/H5version.h
135
include/H5version.h
108
%%FORTRAN%%include/h5_gen.mod
109
%%FORTRAN%%include/h5a.mod
110
%%FORTRAN%%include/h5d.mod
111
%%FORTRAN%%include/h5ds.mod
112
%%FORTRAN%%include/h5e.mod
113
%%FORTRAN%%include/h5f.mod
114
%%FORTRAN%%include/h5fortkit.mod
115
%%FORTRAN%%include/h5fortran_types.mod
116
%%FORTRAN%%include/h5g.mod
117
%%FORTRAN%%include/h5global.mod
118
%%FORTRAN%%include/h5i.mod
119
%%FORTRAN%%include/h5im.mod
120
%%FORTRAN%%include/h5l.mod
121
%%FORTRAN%%include/h5lib.mod
122
%%FORTRAN%%include/h5lt.mod
123
%%FORTRAN%%include/h5lt_const.mod
124
%%FORTRAN%%include/h5o.mod
125
%%FORTRAN%%include/h5p.mod
126
%%FORTRAN%%include/h5r.mod
127
%%FORTRAN%%include/h5s.mod
128
%%FORTRAN%%include/h5t.mod
129
%%FORTRAN%%include/h5tb.mod
130
%%FORTRAN%%include/h5tb_const.mod
131
%%FORTRAN%%include/h5z.mod
132
include/hdf5.h
136
include/hdf5.h
133
%%FORTRAN%%include/hdf5.mod
134
include/hdf5_hl.h
137
include/hdf5_hl.h
138
%%FORTRAN%%include/shared/h5_gen.mod
139
%%FORTRAN%%include/shared/h5a.mod
140
%%FORTRAN%%include/shared/h5d.mod
141
%%FORTRAN%%include/shared/h5ds.mod
142
%%FORTRAN%%include/shared/h5e.mod
143
%%FORTRAN%%include/shared/h5f.mod
144
%%FORTRAN%%include/shared/h5fortkit.mod
145
%%FORTRAN%%include/shared/h5fortran_types.mod
146
%%FORTRAN%%include/shared/h5g.mod
147
%%FORTRAN%%include/shared/h5global.mod
148
%%FORTRAN%%include/shared/h5i.mod
149
%%FORTRAN%%include/shared/h5im.mod
150
%%FORTRAN%%include/shared/h5l.mod
151
%%FORTRAN%%include/shared/h5lib.mod
152
%%FORTRAN%%include/shared/h5lt.mod
153
%%FORTRAN%%include/shared/h5lt_const.mod
154
%%FORTRAN%%include/shared/h5o.mod
155
%%FORTRAN%%include/shared/h5p.mod
156
%%FORTRAN%%include/shared/h5r.mod
157
%%FORTRAN%%include/shared/h5s.mod
158
%%FORTRAN%%include/shared/h5t.mod
159
%%FORTRAN%%include/shared/h5tb.mod
160
%%FORTRAN%%include/shared/h5tb_const.mod
161
%%FORTRAN%%include/shared/h5vl.mod
162
%%FORTRAN%%include/shared/h5z.mod
163
%%FORTRAN%%include/shared/hdf5.mod
164
%%FORTRAN%%include/static/h5_gen.mod
165
%%FORTRAN%%include/static/h5a.mod
166
%%FORTRAN%%include/static/h5d.mod
167
%%FORTRAN%%include/static/h5ds.mod
168
%%FORTRAN%%include/static/h5e.mod
169
%%FORTRAN%%include/static/h5f.mod
170
%%FORTRAN%%include/static/h5fortkit.mod
171
%%FORTRAN%%include/static/h5fortran_types.mod
172
%%FORTRAN%%include/static/h5g.mod
173
%%FORTRAN%%include/static/h5global.mod
174
%%FORTRAN%%include/static/h5i.mod
175
%%FORTRAN%%include/static/h5im.mod
176
%%FORTRAN%%include/static/h5l.mod
177
%%FORTRAN%%include/static/h5lib.mod
178
%%FORTRAN%%include/static/h5lt.mod
179
%%FORTRAN%%include/static/h5lt_const.mod
180
%%FORTRAN%%include/static/h5o.mod
181
%%FORTRAN%%include/static/h5p.mod
182
%%FORTRAN%%include/static/h5r.mod
183
%%FORTRAN%%include/static/h5s.mod
184
%%FORTRAN%%include/static/h5t.mod
185
%%FORTRAN%%include/static/h5tb.mod
186
%%FORTRAN%%include/static/h5tb_const.mod
187
%%FORTRAN%%include/static/h5vl.mod
188
%%FORTRAN%%include/static/h5z.mod
189
%%FORTRAN%%include/static/hdf5.mod
135
lib/libhdf5.a
190
lib/libhdf5.a
136
lib/libhdf5.settings
137
lib/libhdf5.so
191
lib/libhdf5.so
138
lib/libhdf5.so.103
192
lib/libhdf5.so.200
139
lib/libhdf5.so.103.2.0
193
lib/libhdf5.so.200.0.0
140
%%CXX%%lib/libhdf5_cpp.a
194
%%CXX%%lib/libhdf5_cpp.a
141
%%CXX%%lib/libhdf5_cpp.so
195
%%CXX%%lib/libhdf5_cpp.so
142
%%CXX%%lib/libhdf5_cpp.so.103
196
%%CXX%%lib/libhdf5_cpp.so.200
143
%%CXX%%lib/libhdf5_cpp.so.103.2.0
197
%%CXX%%lib/libhdf5_cpp.so.200.0.0
198
%%FORTRAN%%lib/libhdf5_f90cstub.a
199
%%FORTRAN%%lib/libhdf5_f90cstub.so
200
%%FORTRAN%%lib/libhdf5_f90cstub.so.200
201
%%FORTRAN%%lib/libhdf5_f90cstub.so.200.0.0
144
%%FORTRAN%%lib/libhdf5_fortran.a
202
%%FORTRAN%%lib/libhdf5_fortran.a
145
%%FORTRAN%%lib/libhdf5_fortran.so
203
%%FORTRAN%%lib/libhdf5_fortran.so
146
%%FORTRAN%%lib/libhdf5_fortran.so.102
204
%%FORTRAN%%lib/libhdf5_fortran.so.200
147
%%FORTRAN%%lib/libhdf5_fortran.so.102.0.1
205
%%FORTRAN%%lib/libhdf5_fortran.so.200.0.0
148
lib/libhdf5_hl.a
206
lib/libhdf5_hl.a
149
lib/libhdf5_hl.so
207
lib/libhdf5_hl.so
150
lib/libhdf5_hl.so.100
208
lib/libhdf5_hl.so.200
151
lib/libhdf5_hl.so.100.1.3
209
lib/libhdf5_hl.so.200.0.0
152
%%CXX%%lib/libhdf5_hl_cpp.a
210
%%CXX%%lib/libhdf5_hl_cpp.a
153
%%CXX%%lib/libhdf5_hl_cpp.so
211
%%CXX%%lib/libhdf5_hl_cpp.so
154
%%CXX%%lib/libhdf5_hl_cpp.so.100
212
%%CXX%%lib/libhdf5_hl_cpp.so.200
155
%%CXX%%lib/libhdf5_hl_cpp.so.100.1.4
213
%%CXX%%lib/libhdf5_hl_cpp.so.200.0.0
214
%%FORTRAN%%lib/libhdf5_hl_f90cstub.a
215
%%FORTRAN%%lib/libhdf5_hl_f90cstub.so
216
%%FORTRAN%%lib/libhdf5_hl_f90cstub.so.200
217
%%FORTRAN%%lib/libhdf5_hl_f90cstub.so.200.0.0
156
%%FORTRAN%%lib/libhdf5_hl_fortran.a
218
%%FORTRAN%%lib/libhdf5_hl_fortran.a
157
%%FORTRAN%%lib/libhdf5_hl_fortran.so
219
%%FORTRAN%%lib/libhdf5_hl_fortran.so
158
%%FORTRAN%%lib/libhdf5hl_fortran.a
220
%%FORTRAN%%lib/libhdf5_hl_fortran.so.200
159
%%FORTRAN%%lib/libhdf5hl_fortran.so
221
%%FORTRAN%%lib/libhdf5_hl_fortran.so.200.0.0
160
%%FORTRAN%%lib/libhdf5hl_fortran.so.100
222
lib/libhdf5_tools.a
161
%%FORTRAN%%lib/libhdf5hl_fortran.so.100.0.5
223
lib/libhdf5_tools.so
224
lib/libhdf5_tools.so.200
225
lib/libhdf5_tools.so.200.0.0
226
lib/libhdf5.settings
227
%%CXX%%libdata/pkgconfig/hdf5_cpp.pc
228
%%FORTRAN%%libdata/pkgconfig/hdf5_fortran.pc
229
%%CXX%%libdata/pkgconfig/hdf5_hl_cpp.pc
230
libdata/pkgconfig/hdf5_hl.pc
231
%%CXX%%libdata/pkgconfig/hdf5_cpp-1.12.0.pc
232
%%FORTRAN%%libdata/pkgconfig/hdf5_fortran-1.12.0.pc
233
%%CXX%%libdata/pkgconfig/hdf5_hl_cpp-1.12.0.pc
234
libdata/pkgconfig/hdf5_hl-1.12.0.pc
235
libdata/pkgconfig/hdf5-1.12.0.pc
236
libdata/pkgconfig/hdf5.pc
237
share/cmake/hdf5/hdf5-config-version.cmake
238
share/cmake/hdf5/hdf5-config.cmake
239
share/cmake/hdf5/hdf5-targets-%%CMAKE_BUILD_TYPE%%.cmake
240
share/cmake/hdf5/hdf5-targets.cmake
241
%%PORTEXAMPLES%%%%DATADIR%%/CTestScript.cmake
242
%%PORTEXAMPLES%%%%DATADIR%%/HDF5_Examples.cmake
243
%%PORTEXAMPLES%%%%DATADIR%%/HDF5_Examples_options.cmake
244
%%DATADIR%%/RELEASE.txt
245
%%PORTEXAMPLES%%%%DATADIR%%/USING_CMake_Examples.txt
246
%%DATADIR%%/USING_HDF5_CMake.txt

Return to bug 251894