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

Collapse All | Expand All

(-)science/hdf5-110/Makefile (-9 / +31 lines)
Lines 7-19 Link Here
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}/${DISTNAME}/src/ \
9
		LOCAL/sunpoet
9
		LOCAL/sunpoet
10
PKGNAMESUFFIX=	-110
10
11
11
MAINTAINER=	sunpoet@FreeBSD.org
12
MAINTAINER=	sunpoet@FreeBSD.org
12
COMMENT=	Hierarchical Data Format library (from NCSA)
13
COMMENT=	Hierarchical Data Format library (from NCSA) 1.10
13
14
14
LICENSE=	BSD4CLAUSE
15
LICENSE=	BSD4CLAUSE
15
LICENSE_FILE=	${WRKSRC}/COPYING
16
LICENSE_FILE=	${WRKSRC}/COPYING
16
17
18
USES=		compiler:c11 libtool localbase tar:bzip2
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
Lines 23-47 Link Here
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
GNU_CONFIGURE=	yes
27
30
PORTSUFF=	${PORTNAME}${PKGNAMESUFFIX}
28
CONFIGURE_ARGS=	--enable-hl \
31
CONFIGURE_ARGS=	--enable-hl \
29
		--enable-instrument \
32
		--enable-instrument \
30
		--enable-strict-format-checks
33
		--enable-strict-format-checks \
31
GNU_CONFIGURE=	yes
34
		--program-suffix=${PKGNAMESUFFIX} \
35
		--includedir=${PREFIX}/include/${PORTSUFF}
32
INSTALL_TARGET=	install-strip
36
INSTALL_TARGET=	install-strip
33
MAKE_JOBS_UNSAFE=	yes
37
MAKE_JOBS_UNSAFE=	yes
34
TEST_TARGET=	check
38
TEST_TARGET=	check
35
USE_LDCONFIG=	yes
39
USE_LDCONFIG=	yes
36
40
41
EXAMPLESDIR=	${PREFIX}/share/examples/${PORTSUFF}
37
PORTEXAMPLES=	*
42
PORTEXAMPLES=	*
38
43
39
CXX_CONFIGURE_ENABLE=	cxx
44
CXX_CONFIGURE_ENABLE=	cxx
45
CXX_VARS=		C2FIX+=h5cc
40
DEBUG_CONFIGURE_OFF=	--enable-build-mode=production
46
DEBUG_CONFIGURE_OFF=	--enable-build-mode=production
41
DEBUG_CONFIGURE_ON=	--enable-build-mode=debug
47
DEBUG_CONFIGURE_ON=	--enable-build-mode=debug
42
FORTRAN_CONFIGURE_ENABLE=	fortran
48
FORTRAN_CONFIGURE_ENABLE=	fortran
43
FORTRAN_CONFIGURE_ENV=	F9X=${FC}
49
FORTRAN_CONFIGURE_ENV=	F9X=${FC}
44
FORTRAN_USES=		fortran
50
FORTRAN_USES=		fortran
51
FORTRAN_VARS=		C2FIX+=h5fc
45
PARALLEL_CONFIGURE_ENABLE=	parallel
52
PARALLEL_CONFIGURE_ENABLE=	parallel
46
PARALLEL_LDFLAGS=	-L${LOCALBASE}/lib -lmpi
53
PARALLEL_LDFLAGS=	-L${LOCALBASE}/lib -lmpi
47
PARALLEL_LIB_DEPENDS=	libmpi.so:net/mpich
54
PARALLEL_LIB_DEPENDS=	libmpi.so:net/mpich
Lines 48-60 Link Here
48
SZIP_CONFIGURE_ON=	--with-szlib=${LOCALBASE}
55
SZIP_CONFIGURE_ON=	--with-szlib=${LOCALBASE}
49
SZIP_LIB_DEPENDS=	libsz.so:science/szip
56
SZIP_LIB_DEPENDS=	libsz.so:science/szip
50
57
51
post-patch:
58
.include <bsd.port.options.mk>
52
	@${REINPLACE_CMD} -e 's|-O3||g' ${WRKSRC}/config/gnu-flags
59
53
	@${REINPLACE_CMD} \
60
pre-configure:
61
	${REINPLACE_CMD} -e 's|-O3||g' ${WRKSRC}/config/gnu-flags
62
	${REINPLACE_CMD} \
54
		-e '/LD_LIBRARY_PATH/ s|^|#|' \
63
		-e '/LD_LIBRARY_PATH/ s|^|#|' \
55
		-e 's|/share/hdf5_examples|/${EXAMPLESDIR_REL}|' \
64
		-e 's|/share/hdf5_examples|/${EXAMPLESDIR_REL}|' \
56
		-e 's|(INSTALL)|(INSTALL_DATA)|' \
65
		-e 's|(INSTALL)|(INSTALL_DATA)|' \
57
			`${FIND} ${WRKSRC} -regex '.*/examples/Makefile.in'`
66
			`${FIND} ${WRKSRC} -regex '.*/examples/Makefile.in'`
58
	@${REINPLACE_CMD} -e 's|\[ -a|\[ -f|g' `${FIND} ${WRKSRC} -name \*.sh\*`
67
	${REINPLACE_CMD} -e 's|\[ -a|\[ -f|g' `${FIND} ${WRKSRC} -name \*.sh\*`
68
	${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} \
69
		${REINPLACE_CMD} -e 's|libhdf5|libhdf5${PKGNAMESUFFIX}|g' \
70
			-e 's|libhdf5${PKGNAMESUFFIX}.settings|libhdf5.settings|g'
71
	${REINPLACE_CMD} -e 's|libhdf5|libhdf5${PKGNAMESUFFIX}|g'	\
72
		${WRKSRC}/test/testlibinfo.sh.in
59
73
74
post-stage:
75
.for cmp in ${C2FIX}
76
	${MV} ${STAGEDIR}${PREFIX}/bin/${cmp}	\
77
		${STAGEDIR}${PREFIX}/bin/${cmp}${PKGNAMESUFFIX}
78
.endfor
79
	${MV} ${STAGEDIR}${PREFIX}/lib/libhdf5.settings	\
80
		${STAGEDIR}${PREFIX}/lib/libhdf5${PKGNAMESUFFIX}.settings
81
60
.include <bsd.port.mk>
82
.include <bsd.port.mk>
(-)science/hdf5-110/pkg-descr (+2 lines)
Lines 13-16 Link Here
13
  parallel I/O, threads, and other requirements imposed by modern systems
13
  parallel I/O, threads, and other requirements imposed by modern systems
14
  and applications.
14
  and applications.
15
15
16
Note: this is a legacy version, the latest is available as science/hdf5.
17
16
WWW: https://www.hdfgroup.org/
18
WWW: https://www.hdfgroup.org/
(-)science/hdf5-110/pkg-plist (-161 / +161 lines)
Lines 1-161 Link Here
1
bin/gif2h5
1
bin/gif2h5-110
2
bin/h52gif
2
bin/h52gif-110
3
%%CXX%%bin/h5c++
3
%%CXX%%bin/h5c++-110
4
%%CXX%%bin/h5cc
4
%%CXX%%bin/h5cc-110
5
bin/h5clear
5
bin/h5clear-110
6
bin/h5copy
6
bin/h5copy-110
7
bin/h5debug
7
bin/h5debug-110
8
bin/h5diff
8
bin/h5diff-110
9
bin/h5dump
9
bin/h5dump-110
10
%%FORTRAN%%bin/h5fc
10
%%FORTRAN%%bin/h5fc-110
11
bin/h5format_convert
11
bin/h5format_convert-110
12
bin/h5import
12
bin/h5import-110
13
bin/h5jam
13
bin/h5jam-110
14
bin/h5ls
14
bin/h5ls-110
15
bin/h5mkgrp
15
bin/h5mkgrp-110
16
%%PARALLEL%%bin/h5pcc
16
%%PARALLEL%%bin/h5pcc-110
17
%%PARALLEL%%bin/h5perf
17
%%PARALLEL%%bin/h5perf-110
18
bin/h5perf_serial
18
bin/h5perf_serial-110
19
bin/h5redeploy
19
bin/h5redeploy-110
20
bin/h5repack
20
bin/h5repack-110
21
bin/h5repart
21
bin/h5repart-110
22
bin/h5stat
22
bin/h5stat-110
23
bin/h5unjam
23
bin/h5unjam-110
24
bin/h5watch
24
bin/h5watch-110
25
%%PARALLEL%%bin/ph5diff
25
%%PARALLEL%%bin/ph5diff-110
26
include/H5ACpublic.h
26
include/hdf5-110/H5ACpublic.h
27
%%CXX%%include/H5AbstractDs.h
27
%%CXX%%include/hdf5-110/H5AbstractDs.h
28
include/H5Apublic.h
28
include/hdf5-110/H5Apublic.h
29
%%CXX%%include/H5ArrayType.h
29
%%CXX%%include/hdf5-110/H5ArrayType.h
30
%%CXX%%include/H5AtomType.h
30
%%CXX%%include/hdf5-110/H5AtomType.h
31
%%CXX%%include/H5Attribute.h
31
%%CXX%%include/hdf5-110/H5Attribute.h
32
%%CXX%%include/H5Classes.h
32
%%CXX%%include/hdf5-110/H5Classes.h
33
%%CXX%%include/H5CommonFG.h
33
%%CXX%%include/hdf5-110/H5CommonFG.h
34
%%CXX%%include/H5CompType.h
34
%%CXX%%include/hdf5-110/H5CompType.h
35
%%CXX%%include/H5Cpp.h
35
%%CXX%%include/hdf5-110/H5Cpp.h
36
%%CXX%%include/H5CppDoc.h
36
%%CXX%%include/hdf5-110/H5CppDoc.h
37
include/H5Cpublic.h
37
include/hdf5-110/H5Cpublic.h
38
include/H5DOpublic.h
38
include/hdf5-110/H5DOpublic.h
39
include/H5DSpublic.h
39
include/hdf5-110/H5DSpublic.h
40
%%CXX%%include/H5DaccProp.h
40
%%CXX%%include/hdf5-110/H5DaccProp.h
41
%%CXX%%include/H5DataSet.h
41
%%CXX%%include/hdf5-110/H5DataSet.h
42
%%CXX%%include/H5DataSpace.h
42
%%CXX%%include/hdf5-110/H5DataSpace.h
43
%%CXX%%include/H5DataType.h
43
%%CXX%%include/hdf5-110/H5DataType.h
44
%%CXX%%include/H5DcreatProp.h
44
%%CXX%%include/hdf5-110/H5DcreatProp.h
45
include/H5Dpublic.h
45
include/hdf5-110/H5Dpublic.h
46
%%CXX%%include/H5DxferProp.h
46
%%CXX%%include/hdf5-110/H5DxferProp.h
47
%%CXX%%include/H5EnumType.h
47
%%CXX%%include/hdf5-110/H5EnumType.h
48
include/H5Epubgen.h
48
include/hdf5-110/H5Epubgen.h
49
include/H5Epublic.h
49
include/hdf5-110/H5Epublic.h
50
%%CXX%%include/H5Exception.h
50
%%CXX%%include/hdf5-110/H5Exception.h
51
include/H5FDcore.h
51
include/hdf5-110/H5FDcore.h
52
include/H5FDdirect.h
52
include/hdf5-110/H5FDdirect.h
53
include/H5FDfamily.h
53
include/hdf5-110/H5FDfamily.h
54
include/H5FDhdfs.h
54
include/hdf5-110/H5FDhdfs.h
55
include/H5FDlog.h
55
include/hdf5-110/H5FDlog.h
56
include/H5FDmpi.h
56
include/hdf5-110/H5FDmpi.h
57
include/H5FDmpio.h
57
include/hdf5-110/H5FDmpio.h
58
include/H5FDmulti.h
58
include/hdf5-110/H5FDmulti.h
59
include/H5FDpublic.h
59
include/hdf5-110/H5FDpublic.h
60
include/H5FDros3.h
60
include/hdf5-110/H5FDros3.h
61
include/H5FDsec2.h
61
include/hdf5-110/H5FDsec2.h
62
include/H5FDstdio.h
62
include/hdf5-110/H5FDstdio.h
63
include/H5FDwindows.h
63
include/hdf5-110/H5FDwindows.h
64
%%CXX%%include/H5FaccProp.h
64
%%CXX%%include/hdf5-110/H5FaccProp.h
65
%%CXX%%include/H5FcreatProp.h
65
%%CXX%%include/hdf5-110/H5FcreatProp.h
66
%%CXX%%include/H5File.h
66
%%CXX%%include/hdf5-110/H5File.h
67
%%CXX%%include/H5FloatType.h
67
%%CXX%%include/hdf5-110/H5FloatType.h
68
include/H5Fpublic.h
68
include/hdf5-110/H5Fpublic.h
69
include/H5Gpublic.h
69
include/hdf5-110/H5Gpublic.h
70
%%CXX%%include/H5Group.h
70
%%CXX%%include/hdf5-110/H5Group.h
71
include/H5IMpublic.h
71
include/hdf5-110/H5IMpublic.h
72
%%CXX%%include/H5IdComponent.h
72
%%CXX%%include/hdf5-110/H5IdComponent.h
73
%%CXX%%include/H5Include.h
73
%%CXX%%include/hdf5-110/H5Include.h
74
%%CXX%%include/H5IntType.h
74
%%CXX%%include/hdf5-110/H5IntType.h
75
include/H5Ipublic.h
75
include/hdf5-110/H5Ipublic.h
76
include/H5LDpublic.h
76
include/hdf5-110/H5LDpublic.h
77
include/H5LTpublic.h
77
include/hdf5-110/H5LTpublic.h
78
%%CXX%%include/H5LaccProp.h
78
%%CXX%%include/hdf5-110/H5LaccProp.h
79
%%CXX%%include/H5LcreatProp.h
79
%%CXX%%include/hdf5-110/H5LcreatProp.h
80
%%CXX%%include/H5Library.h
80
%%CXX%%include/hdf5-110/H5Library.h
81
%%CXX%%include/H5Location.h
81
%%CXX%%include/hdf5-110/H5Location.h
82
include/H5Lpublic.h
82
include/hdf5-110/H5Lpublic.h
83
include/H5MMpublic.h
83
include/hdf5-110/H5MMpublic.h
84
%%CXX%%include/H5Object.h
84
%%CXX%%include/hdf5-110/H5Object.h
85
%%CXX%%include/H5OcreatProp.h
85
%%CXX%%include/hdf5-110/H5OcreatProp.h
86
include/H5Opublic.h
86
include/hdf5-110/H5Opublic.h
87
include/H5PLextern.h
87
include/hdf5-110/H5PLextern.h
88
include/H5PLpublic.h
88
include/hdf5-110/H5PLpublic.h
89
include/H5PTpublic.h
89
include/hdf5-110/H5PTpublic.h
90
%%CXX%%include/H5PacketTable.h
90
%%CXX%%include/hdf5-110/H5PacketTable.h
91
include/H5Ppublic.h
91
include/hdf5-110/H5Ppublic.h
92
%%CXX%%include/H5PredType.h
92
%%CXX%%include/hdf5-110/H5PredType.h
93
%%CXX%%include/H5PropList.h
93
%%CXX%%include/hdf5-110/H5PropList.h
94
include/H5Rpublic.h
94
include/hdf5-110/H5Rpublic.h
95
include/H5Spublic.h
95
include/hdf5-110/H5Spublic.h
96
%%CXX%%include/H5StrType.h
96
%%CXX%%include/hdf5-110/H5StrType.h
97
include/H5TBpublic.h
97
include/hdf5-110/H5TBpublic.h
98
include/H5Tpublic.h
98
include/hdf5-110/H5Tpublic.h
99
%%CXX%%include/H5VarLenType.h
99
%%CXX%%include/hdf5-110/H5VarLenType.h
100
include/H5Zpublic.h
100
include/hdf5-110/H5Zpublic.h
101
include/H5api_adpt.h
101
include/hdf5-110/H5api_adpt.h
102
%%FORTRAN%%include/H5f90i.h
102
%%FORTRAN%%include/hdf5-110/H5f90i.h
103
%%FORTRAN%%include/H5f90i_gen.h
103
%%FORTRAN%%include/hdf5-110/H5f90i_gen.h
104
include/H5overflow.h
104
include/hdf5-110/H5overflow.h
105
include/H5pubconf.h
105
include/hdf5-110/H5pubconf.h
106
include/H5public.h
106
include/hdf5-110/H5public.h
107
include/H5version.h
107
include/hdf5-110/H5version.h
108
%%FORTRAN%%include/h5_gen.mod
108
%%FORTRAN%%include/hdf5-110/h5_gen.mod
109
%%FORTRAN%%include/h5a.mod
109
%%FORTRAN%%include/hdf5-110/h5a.mod
110
%%FORTRAN%%include/h5d.mod
110
%%FORTRAN%%include/hdf5-110/h5d.mod
111
%%FORTRAN%%include/h5ds.mod
111
%%FORTRAN%%include/hdf5-110/h5ds.mod
112
%%FORTRAN%%include/h5e.mod
112
%%FORTRAN%%include/hdf5-110/h5e.mod
113
%%FORTRAN%%include/h5f.mod
113
%%FORTRAN%%include/hdf5-110/h5f.mod
114
%%FORTRAN%%include/h5fortkit.mod
114
%%FORTRAN%%include/hdf5-110/h5fortkit.mod
115
%%FORTRAN%%include/h5fortran_types.mod
115
%%FORTRAN%%include/hdf5-110/h5fortran_types.mod
116
%%FORTRAN%%include/h5g.mod
116
%%FORTRAN%%include/hdf5-110/h5g.mod
117
%%FORTRAN%%include/h5global.mod
117
%%FORTRAN%%include/hdf5-110/h5global.mod
118
%%FORTRAN%%include/h5i.mod
118
%%FORTRAN%%include/hdf5-110/h5i.mod
119
%%FORTRAN%%include/h5im.mod
119
%%FORTRAN%%include/hdf5-110/h5im.mod
120
%%FORTRAN%%include/h5l.mod
120
%%FORTRAN%%include/hdf5-110/h5l.mod
121
%%FORTRAN%%include/h5lib.mod
121
%%FORTRAN%%include/hdf5-110/h5lib.mod
122
%%FORTRAN%%include/h5lt.mod
122
%%FORTRAN%%include/hdf5-110/h5lt.mod
123
%%FORTRAN%%include/h5lt_const.mod
123
%%FORTRAN%%include/hdf5-110/h5lt_const.mod
124
%%FORTRAN%%include/h5o.mod
124
%%FORTRAN%%include/hdf5-110/h5o.mod
125
%%FORTRAN%%include/h5p.mod
125
%%FORTRAN%%include/hdf5-110/h5p.mod
126
%%FORTRAN%%include/h5r.mod
126
%%FORTRAN%%include/hdf5-110/h5r.mod
127
%%FORTRAN%%include/h5s.mod
127
%%FORTRAN%%include/hdf5-110/h5s.mod
128
%%FORTRAN%%include/h5t.mod
128
%%FORTRAN%%include/hdf5-110/h5t.mod
129
%%FORTRAN%%include/h5tb.mod
129
%%FORTRAN%%include/hdf5-110/h5tb.mod
130
%%FORTRAN%%include/h5tb_const.mod
130
%%FORTRAN%%include/hdf5-110/h5tb_const.mod
131
%%FORTRAN%%include/h5z.mod
131
%%FORTRAN%%include/hdf5-110/h5z.mod
132
include/hdf5.h
132
include/hdf5-110/hdf5.h
133
%%FORTRAN%%include/hdf5.mod
133
%%FORTRAN%%include/hdf5-110/hdf5.mod
134
include/hdf5_hl.h
134
include/hdf5-110/hdf5_hl.h
135
lib/libhdf5.a
135
lib/libhdf5-110.a
136
lib/libhdf5.settings
136
lib/libhdf5-110.settings
137
lib/libhdf5.so
137
lib/libhdf5-110.so
138
lib/libhdf5.so.103
138
lib/libhdf5-110.so.103
139
lib/libhdf5.so.103.2.0
139
lib/libhdf5-110.so.103.2.0
140
%%CXX%%lib/libhdf5_cpp.a
140
%%CXX%%lib/libhdf5-110_cpp.a
141
%%CXX%%lib/libhdf5_cpp.so
141
%%CXX%%lib/libhdf5-110_cpp.so
142
%%CXX%%lib/libhdf5_cpp.so.103
142
%%CXX%%lib/libhdf5-110_cpp.so.103
143
%%CXX%%lib/libhdf5_cpp.so.103.2.0
143
%%CXX%%lib/libhdf5-110_cpp.so.103.2.0
144
%%FORTRAN%%lib/libhdf5_fortran.a
144
%%FORTRAN%%lib/libhdf5-110_fortran.a
145
%%FORTRAN%%lib/libhdf5_fortran.so
145
%%FORTRAN%%lib/libhdf5-110_fortran.so
146
%%FORTRAN%%lib/libhdf5_fortran.so.102
146
%%FORTRAN%%lib/libhdf5-110_fortran.so.102
147
%%FORTRAN%%lib/libhdf5_fortran.so.102.0.1
147
%%FORTRAN%%lib/libhdf5-110_fortran.so.102.0.1
148
lib/libhdf5_hl.a
148
lib/libhdf5-110_hl.a
149
lib/libhdf5_hl.so
149
lib/libhdf5-110_hl.so
150
lib/libhdf5_hl.so.100
150
lib/libhdf5-110_hl.so.100
151
lib/libhdf5_hl.so.100.1.3
151
lib/libhdf5-110_hl.so.100.1.3
152
%%CXX%%lib/libhdf5_hl_cpp.a
152
%%CXX%%lib/libhdf5-110_hl_cpp.a
153
%%CXX%%lib/libhdf5_hl_cpp.so
153
%%CXX%%lib/libhdf5-110_hl_cpp.so
154
%%CXX%%lib/libhdf5_hl_cpp.so.100
154
%%CXX%%lib/libhdf5-110_hl_cpp.so.100
155
%%CXX%%lib/libhdf5_hl_cpp.so.100.1.4
155
%%CXX%%lib/libhdf5-110_hl_cpp.so.100.1.4
156
%%FORTRAN%%lib/libhdf5_hl_fortran.a
156
%%FORTRAN%%lib/libhdf5-110_hl_fortran.a
157
%%FORTRAN%%lib/libhdf5_hl_fortran.so
157
%%FORTRAN%%lib/libhdf5-110_hl_fortran.so
158
%%FORTRAN%%lib/libhdf5hl_fortran.a
158
%%FORTRAN%%lib/libhdf5-110hl_fortran.a
159
%%FORTRAN%%lib/libhdf5hl_fortran.so
159
%%FORTRAN%%lib/libhdf5-110hl_fortran.so
160
%%FORTRAN%%lib/libhdf5hl_fortran.so.100
160
%%FORTRAN%%lib/libhdf5-110hl_fortran.so.100
161
%%FORTRAN%%lib/libhdf5hl_fortran.so.100.0.5
161
%%FORTRAN%%lib/libhdf5-110hl_fortran.so.100.0.5
(-)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
(-)french/med/Makefile (-3 / +5 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	med
4
PORTNAME=	med
5
DISTVERSION=	4.0.0
5
PORTVERSION=	4.0.0
6
PORTREVISION=	1
6
CATEGORIES=	french science
7
CATEGORIES=	french science
7
8
8
MAINTAINER=	thierry@FreeBSD.org
9
MAINTAINER=	thierry@FreeBSD.org
Lines 11-17 Link Here
11
LICENSE=	GPLv3
12
LICENSE=	GPLv3
12
13
13
BUILD_DEPENDS=	gsed:textproc/gsed
14
BUILD_DEPENDS=	gsed:textproc/gsed
14
LIB_DEPENDS=	libhdf5.so:science/hdf5
15
LIB_DEPENDS=	libhdf5-110.so:science/hdf5-110
15
16
16
USES=		fortran gmake libtool tk
17
USES=		fortran gmake libtool tk
17
18
Lines 19-25 Link Here
19
20
20
USE_CXXSTD=	gnu++98
21
USE_CXXSTD=	gnu++98
21
CFLAGS+=	-fPIC
22
CFLAGS+=	-fPIC
22
CONFIGURE_ARGS=	--disable-python --with-hdf5=${LOCALBASE}
23
CONFIGURE_ARGS=	--disable-python --with-hdf5=${LOCALBASE}	\
24
		--with-hdf5-include=${LOCALBASE}/include/hdf5-110
23
CONFIGURE_ENV=	WISH=${WISH}
25
CONFIGURE_ENV=	WISH=${WISH}
24
GNU_CONFIGURE=	yes
26
GNU_CONFIGURE=	yes
25
USE_LDCONFIG=	yes
27
USE_LDCONFIG=	yes
(-)french/med/files/patch-configure (-15 / +71 lines)
Lines 1-19 Link Here
1
--- configure.orig	2018-12-10 10:32:28 UTC
1
--- configure.orig	2018-12-10 10:32:28 UTC
2
+++ configure
2
+++ configure
3
@@ -3194,10 +3194,10 @@ MEDIMPORT_CMAKE_SO_VERSION="0.3.0"
3
@@ -7572,11 +7572,11 @@ _ACEOF
4
 #Une modification de HDF_VERSION_NUM
5
 #demande une modification du test de version ds
6
 #med_check_hdf5.m4
7
-HDF_VERSION_REF=5-1.10.2
8
+HDF_VERSION_REF=5-1.10.5
9
 HDF_VERSION_MAJOR_REF=1
10
 HDF_VERSION_MINOR_REF=10
11
-HDF_VERSION_RELEASE_REF=2
12
+HDF_VERSION_RELEASE_REF=5
13
 
14
 
15
 
16
@@ -7572,9 +7572,9 @@ _ACEOF
17
       HDF5_VERSION="0"
4
       HDF5_VERSION="0"
18
       if test -n "$HDF5_ABS_PATH" ; then
5
       if test -n "$HDF5_ABS_PATH" ; then
19
          HDF5_USED_VER=` grep H5_VERS_INFO $HDF5_ABS_PATH | sed  's/\([^"]*\)\(".*"\)\([^"]*\)/\2/g' `
6
          HDF5_USED_VER=` grep H5_VERS_INFO $HDF5_ABS_PATH | sed  's/\([^"]*\)\(".*"\)\([^"]*\)/\2/g' `
Lines 24-28 Link Here
24
+         H5_VER_MINOR=`  grep '#define *H5_VERS_MINOR' $HDF5_ABS_PATH | gsed  's/^.*H5_VERS_MINOR[[ \t]]*\([0-9]*\)[[ \t]]*.*$/\1/g' `
11
+         H5_VER_MINOR=`  grep '#define *H5_VERS_MINOR' $HDF5_ABS_PATH | gsed  's/^.*H5_VERS_MINOR[[ \t]]*\([0-9]*\)[[ \t]]*.*$/\1/g' `
25
+         H5_VER_RELEASE=`grep '#define *H5_VERS_RELEASE' $HDF5_ABS_PATH | gsed  's/^.*H5_VERS_RELEASE[[ \t]]*\([0-9]*\)[[ \t]]*.*$/\1/g' `
12
+         H5_VER_RELEASE=`grep '#define *H5_VERS_RELEASE' $HDF5_ABS_PATH | gsed  's/^.*H5_VERS_RELEASE[[ \t]]*\([0-9]*\)[[ \t]]*.*$/\1/g' `
26
          HDF5_VERSION=`  expr 10000 \* ${H5_VER_MAJOR} + 100 \* ${H5_VER_MINOR} + ${H5_VER_RELEASE} `
13
          HDF5_VERSION=`  expr 10000 \* ${H5_VER_MAJOR} + 100 \* ${H5_VER_MINOR} + ${H5_VER_RELEASE} `
27
          test "0${HDF5_VERSION}" -gt "11100" || test "0${HDF5_VERSION}" -lt "11002" && as_fn_error $? "
14
-         test "0${HDF5_VERSION}" -gt "11100" || test "0${HDF5_VERSION}" -lt "11002" && as_fn_error $? "
15
+         test "0${HDF5_VERSION}" -gt "11100" || test "0${HDF5_VERSION}" -lt "11006" && as_fn_error $? "
28
 This HDF5 version ${H5_VER_MAJOR}.${H5_VER_MINOR}.${H5_VER_RELEASE} must not be used with med-fichier${MED_NUM_MAJEUR}.${MED_NUM_MINEUR}.${MED_NUM_RELEASE}.
16
 This HDF5 version ${H5_VER_MAJOR}.${H5_VER_MINOR}.${H5_VER_RELEASE} must not be used with med-fichier${MED_NUM_MAJEUR}.${MED_NUM_MINEUR}.${MED_NUM_RELEASE}.
17
 The HDF5 library version used by med-fichier${MED_NUM_MAJEUR}.y.z MUST NOT be > 1.10 and have to be at least HDF${HDF_VERSION_REF}.
18
 DO NOT TRY TO COMPILE med-fichier${MED_NUM_MAJEUR}.${MED_NUM_MINEUR}.${MED_NUM_RELEASE} version with an HDF5 library which would generate an hdf5 file not compliant with HDF5-${HDF_VERSION_MAJOR_REF}.${HDF_VERSION_MINOR_REF}.z library.
19
@@ -7633,13 +7633,13 @@ _ACEOF
20
 
21
 #      AC_CHECK_LIB([m],[sin],[],[AC_MSG_ERROR([Can't find C math library.])],[])
22
 #      AC_CHECK_LIB([z],[compress],[],[AC_MSG_ERROR([Can't find z library.])],[])
23
-      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for H5open in -lhdf5" >&5
24
-$as_echo_n "checking for H5open in -lhdf5... " >&6; }
25
+      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for H5open in -lhdf5-110" >&5
26
+$as_echo_n "checking for H5open in -lhdf5-110... " >&6; }
27
 if ${ac_cv_lib_hdf5_H5open+:} false; then :
28
   $as_echo_n "(cached) " >&6
29
 else
30
   ac_check_lib_save_LIBS=$LIBS
31
-LIBS="-lhdf5 -lm -lz $LIBS"
32
+LIBS="-lhdf5-110 -lm -lz $LIBS"
33
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34
 /* end confdefs.h.  */
35
 
36
@@ -7674,10 +7674,10 @@ if test "x$ac_cv_lib_hdf5_H5open" = xyes; then :
37
 #define HAVE_LIBHDF5 1
38
 _ACEOF
39
 
40
-  LIBS="-lhdf5 $LIBS"
41
+  LIBS="-lhdf5-110 $LIBS"
42
 
43
 else
44
-  as_fn_error $? "Can't find hdf5 library, either use HDF5HOME env. var. , --with-hdf5=<path> or --with-hdf5-lib=<libpath>" "$LINENO" 5
45
+  as_fn_error $? "Can't find hdf5-110 library, either use HDF5HOME env. var. , --with-hdf5=<path> or --with-hdf5-lib=<libpath>" "$LINENO" 5
46
 fi
47
 
48
       test "x$mpi_wanted_test" = "xyes" &&  for ac_func in H5Pset_fapl_mpio
49
@@ -7696,7 +7696,7 @@ done
50
 
51
       if test "x$with_hdf5_include" = "xno"; then
52
         # Extract the first word of "h5dump", so it can be a program name with args.
53
-set dummy h5dump; ac_word=$2
54
+set dummy h5dump-110; ac_word=$2
55
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
56
 $as_echo_n "checking for $ac_word... " >&6; }
57
 if ${ac_cv_path_H5DUMP+:} false; then :
58
@@ -7738,7 +7738,7 @@ fi
59
 
60
       else
61
         # Extract the first word of "h5dump", so it can be a program name with args.
62
-set dummy h5dump; ac_word=$2
63
+set dummy h5dump-110; ac_word=$2
64
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65
 $as_echo_n "checking for $ac_word... " >&6; }
66
 if ${ac_cv_path_H5DUMP+:} false; then :
67
@@ -7780,7 +7780,7 @@ fi
68
 
69
       fi
70
       if test "X$H5DUMP" = "Xno"; then
71
-         as_fn_error $? "Can't find h5dump, please verify your env. var. PATH or use of --with-hdf5bin=<binpath>." "$LINENO" 5
72
+         as_fn_error $? "Can't find h5dump-110, please verify your env. var. PATH or use of --with-hdf5bin=<binpath>." "$LINENO" 5
73
       fi
74
 
75
 
76
@@ -7797,7 +7797,7 @@ fi
77
 #La ligne suivante est inutile car effectuée par AC_CHECK_PROG
78
 #      AC_SUBST(H5DUMP)
79
 
80
-      HDF5_LIBS="-lhdf5"
81
+      HDF5_LIBS="-lhdf5-110"
82
 
83
 
84
 
(-)french/med/files/patch-include_med.h.in (-15 lines)
Lines 1-15 Link Here
1
--- include/med.h.in.orig	2014-10-09 08:12:57 UTC
2
+++ include/med.h.in
3
@@ -27,12 +27,7 @@ extern "C" {
4
 
5
 #define HDF5_VERSION (H5_VERS_MAJOR * 10000 + H5_VERS_MINOR * 100  + H5_VERS_RELEASE )
6
 
7
-#if HDF5_VERSION < 10607
8
-/*TODO : A enlever après MAJ complète api hdf5-1.8 */
9
-#define HDF5_SELECT_BUG (const hsize_t **)
10
-#else
11
 #define HDF5_SELECT_BUG
12
-#endif
13
 
14
 /*Le symbole H5F_LIBVER_18 n'existe pas dans hdf5-1.8.4 (uniquement à partir de la version 1.8.6)
15
   Pour rester dans le modèle interne hdf introduit en 1.8 quelque soit les futurs modèles internes hdf
(-)science/cgnslib/Makefile (-3 / +4 lines)
Lines 4-10 Link Here
4
PORTNAME=	cgnslib
4
PORTNAME=	cgnslib
5
PORTVERSION=	4.1.2
5
PORTVERSION=	4.1.2
6
DISTVERSIONPREFIX=	v
6
DISTVERSIONPREFIX=	v
7
PORTREVISION=	1
7
PORTREVISION=	2
8
PORTEPOCH=	1
8
PORTEPOCH=	1
9
CATEGORIES=	science
9
CATEGORIES=	science
10
10
Lines 37-44 Link Here
37
FORTRAN_USES=		fortran
37
FORTRAN_USES=		fortran
38
FORTRAN_CMAKE_BOOL=	CGNS_ENABLE_FORTRAN
38
FORTRAN_CMAKE_BOOL=	CGNS_ENABLE_FORTRAN
39
39
40
HDF5_LIB_DEPENDS=	libhdf5.so:science/hdf5 libsz.so:science/szip
40
HDF5_LIB_DEPENDS=	libhdf5.so:science/hdf5	\
41
HDF5_CMAKE_BOOL=	CGNS_ENABLE_HDF5
41
			libsz.so:science/szip
42
HDF5_CMAKE_BOOL=	CGNS_ENABLE_HDF5 HDF5_BUILD_SHARED_LIBS
42
HDF5_CMAKE_ON=		-DHDF5_INCLUDE_PATH:PATH="${LOCALBASE}/include"
43
HDF5_CMAKE_ON=		-DHDF5_INCLUDE_PATH:PATH="${LOCALBASE}/include"
43
44
44
TESTS_CMAKE_BOOL=	CGNS_ENABLE_TESTS
45
TESTS_CMAKE_BOOL=	CGNS_ENABLE_TESTS
(-)science/cgnslib/files/patch-CMakeLists.txt (+10 lines)
Line 0 Link Here
1
--- CMakeLists.txt.orig	2020-08-18 19:44:35 UTC
2
+++ CMakeLists.txt
3
@@ -204,7 +204,6 @@ if (CGNS_ENABLE_HDF5)
4
   find_package (HDF5 NAMES ${SEARCH_PACKAGE_NAME} COMPONENTS ${FIND_HDF_COMPONENTS})
5
   message (STATUS "HDF5 C libs:${HDF5_FOUND} static:${HDF5_static_C_FOUND} and shared:${HDF5_shared_C_FOUND}")
6
   if (HDF5_FOUND)
7
-    add_executable (h5dump IMPORTED)
8
     if (NOT HDF5_static_C_FOUND AND NOT HDF5_shared_C_FOUND)
9
       set (FIND_HDF_COMPONENTS C)
10
 
(-)sysutils/slurm-wlm/Makefile (-4 / +5 lines)
Lines 2-8 Link Here
2
2
3
PORTNAME=	slurm
3
PORTNAME=	slurm
4
DISTVERSION=	20.02.1
4
DISTVERSION=	20.02.1
5
PORTREVISION=	5
5
PORTREVISION=	6
6
CATEGORIES=	sysutils python
6
CATEGORIES=	sysutils python
7
MASTER_SITES=	https://download.schedmd.com/slurm/
7
MASTER_SITES=	https://download.schedmd.com/slurm/
8
PKGNAMESUFFIX=	-wlm
8
PKGNAMESUFFIX=	-wlm
Lines 21-28 Link Here
21
		libmunge.so:security/munge \
21
		libmunge.so:security/munge \
22
		liblz4.so:archivers/liblz4
22
		liblz4.so:archivers/liblz4
23
23
24
USES=		compiler:c11 gmake gnome libtool lua pkgconfig python:build \
24
USES=		compiler:c11 gmake gnome libtool localbase lua pkgconfig \
25
		readline:port shebangfix ssl tar:bz2
25
		python:build readline:port shebangfix ssl tar:bz2
26
USE_LDCONFIG=	yes
26
USE_LDCONFIG=	yes
27
USE_PERL5=	configure
27
USE_PERL5=	configure
28
USE_RC_SUBR=	slurmctld slurmd
28
USE_RC_SUBR=	slurmctld slurmd
Lines 63-68 Link Here
63
HDF5_LIB_DEPENDS=	libhdf5.so:science/hdf5 \
63
HDF5_LIB_DEPENDS=	libhdf5.so:science/hdf5 \
64
			libsz.so:science/szip
64
			libsz.so:science/szip
65
HDF5_CONFIGURE_WITH=	hdf5
65
HDF5_CONFIGURE_WITH=	hdf5
66
HDF5_CONFIGURE_ENV=	H5CC=${LOCALBASE}/bin/h5cc
66
67
67
HWLOC_LIB_DEPENDS=	libhwloc.so.15:devel/hwloc2
68
HWLOC_LIB_DEPENDS=	libhwloc.so.15:devel/hwloc2
68
HWLOC_CONFIGURE_WITH=	hwloc
69
HWLOC_CONFIGURE_WITH=	hwloc
Lines 96-102 Link Here
96
pre-configure:
97
pre-configure:
97
	@${CP} ${FILESDIR}/pty.h ${WRKSRC}/slurm
98
	@${CP} ${FILESDIR}/pty.h ${WRKSRC}/slurm
98
	@${REINPLACE_CMD} -e 's|sched_setaffinity|cpuset_setaffinity|g' \
99
	@${REINPLACE_CMD} -e 's|sched_setaffinity|cpuset_setaffinity|g' \
99
		${WRKSRC}/configure
100
		-e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/configure
100
101
101
	@${REINPLACE_CMD} -e 's|"/proc|"/compat/linux/proc|g' \
102
	@${REINPLACE_CMD} -e 's|"/proc|"/compat/linux/proc|g' \
102
		-e 's|(/proc)|(/compat/linux/proc)|g' \
103
		-e 's|(/proc)|(/compat/linux/proc)|g' \
(-)sysutils/slurm-wlm/files/patch-configure (-3 / +57 lines)
Lines 1-8 Link Here
1
--- configure.orig	2020-11-30 15:56:36 UTC
1
--- configure.orig	2020-03-26 21:44:05 UTC
2
+++ configure
2
+++ configure
3
@@ -24075,8 +24075,24 @@ fi
3
@@ -20744,25 +20744,19 @@ HDF5 support is being disabled (equivalent to --with-h
4
         with_hdf5="no"
5
         with_hdf5_fortran="no"
6
     else
7
-                HDF5_SHOW=$(eval $H5CC -show)
8
+	    HDF5_SHOW=`$PKG_CONFIG --cflags hdf5 --libs hdf5`
4
 
9
 
10
-                HDF5_CC=$(eval $H5CC -show | $AWK '{print $1}')
11
-        if test "$HDF5_CC" = "ccache"; then
12
-            HDF5_CC=$(eval $H5CC -show | $AWK '{print $2}')
13
-        fi
14
+                HDF5_CC=$CC
5
 
15
 
16
+                HDF5_VERSION=`$GREP 'HDF5 Version:' %%LOCALBASE%%/lib/libhdf5.settings \
17
+            | $AWK '{print $3}'`
18
 
19
-                HDF5_VERSION=$(eval $H5CC -showconfig | $GREP 'HDF5 Version:' \
20
-            | $AWK '{print $3}')
21
+            HDF5_tmp_flags=`$GREP 'FLAGS\|Extra libraries:' %%LOCALBASE%%/lib/libhdf5.settings \
22
+            | $AWK -F: '{printf("%s "), $2}' `
23
 
24
-                                                                                HDF5_tmp_flags=$(eval $H5CC -showconfig \
25
-            | $GREP 'FLAGS\|Extra libraries:' \
26
-            | $AWK -F: '{printf("%s "), $2}' )
27
+                HDF5_tmp_inst=`$GREP 'Installation point:' %%LOCALBASE%%/lib/libhdf5.settings \
28
+            | $AWK '{print $NF}' `
29
 
30
-                HDF5_tmp_inst=$(eval $H5CC -showconfig \
31
-            | $GREP 'Installation point:' \
32
-            | $AWK '{print $NF}' )
33
-
34
                 HDF5_CPPFLAGS="-I${HDF5_tmp_inst}/include"
35
 
36
                 for arg in $HDF5_SHOW $HDF5_tmp_flags ; do
37
@@ -20907,7 +20901,7 @@ $as_echo "$H5FC" >&6; }
38
             with_hdf5_fortran="yes"
39
 
40
 
41
-                        for arg in `$H5FC -show`
42
+                        for arg in `$PKG_CONFIG --cflags hdf5_fortran --libs hdf5_fortran`
43
             do
44
               case "$arg" in #(
45
                 -I*) echo $HDF5_FFLAGS | $GREP -e "$arg" >/dev/null \
46
@@ -20967,9 +20961,8 @@ fi
47
 # because slurm uses the 1.8 API. By defining this CPP macro we get
48
 # the 1.8 API.
49
 
50
-$as_echo "#define H5_NO_DEPRECATED_SYMBOLS 1" >>confdefs.h
51
+# Remove on FreeBSD ports because we use 1.12 with 1.10 API
52
 
53
-
54
 #
55
 # Handle user hints
56
 #
57
@@ -24075,8 +24068,24 @@ fi
58
 
59
 
6
 	x_ac_lua_pkg_name="lua"
60
 	x_ac_lua_pkg_name="lua"
7
-	#check for 5.3 then 5.2 then 5.1
61
-	#check for 5.3 then 5.2 then 5.1
8
-	if test -n "$PKG_CONFIG" && \
62
-	if test -n "$PKG_CONFIG" && \
Lines 27-33 Link Here
27
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
81
     { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lua5.3\""; } >&5
28
   ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
82
   ($PKG_CONFIG --exists --print-errors "lua5.3") 2>&5
29
   ac_status=$?
83
   ac_status=$?
30
@@ -24125,6 +24141,8 @@ else
84
@@ -24125,6 +24134,8 @@ else
31
   x_ac_lua_pkg_name=lua-5.1
85
   x_ac_lua_pkg_name=lua-5.1
32
 else
86
 else
33
   x_ac_lua_pkg_name="lua >= 5.1"
87
   x_ac_lua_pkg_name="lua >= 5.1"
(-)sysutils/slurm-wlm/files/patch-src_api_Makefile.in (-2 / +2 lines)
Lines 1-6 Link Here
1
--- src/api/Makefile.in.orig	2020-02-29 23:53:10 UTC
1
--- src/api/Makefile.in.orig	2020-03-26 21:44:05 UTC
2
+++ src/api/Makefile.in
2
+++ src/api/Makefile.in
3
@@ -1300,7 +1300,6 @@ $(VERSION_SCRIPT) :
3
@@ -1311,7 +1311,6 @@ $(VERSION_SCRIPT) :
4
 
4
 
5
 $(FULL_VERSION_SCRIPT) :
5
 $(FULL_VERSION_SCRIPT) :
6
 	(echo "{ global: *;";   \
6
 	(echo "{ global: *;";   \

Return to bug 251894