View | Details | Raw Unified | Return to bug 121195
Collapse All | Expand All

(-)/usr/ports/sunpoet/hdf5/Makefile (-17 / +26 lines)
Lines 7-15 Link Here
7
#
7
#
8
8
9
PORTNAME=	hdf5
9
PORTNAME=	hdf5
10
PORTVERSION=	1.6.6
10
PORTVERSION=	1.6.7
11
CATEGORIES=	science archivers graphics
11
CATEGORIES=	science archivers graphics
12
MASTER_SITES=	ftp://ftp.hdfgroup.org/HDF5/current/src/ \
12
MASTER_SITES=	ftp://ftp.hdfgroup.org/HDF5/current16/src/ \
13
		ftp://ftp.hdfgroup.org/HDF5/prev-releases/ \
13
		ftp://ftp.hdfgroup.org/HDF5/prev-releases/hdf5-${PORTVERSION}/src/
14
		ftp://ftp.hdfgroup.org/HDF5/prev-releases/hdf5-${PORTVERSION}/src/
14
15
15
MAINTAINER=	koziol@hdfgroup.org
16
MAINTAINER=	koziol@hdfgroup.org
Lines 19-28 Link Here
19
USE_AUTOTOOLS=	libtool:15
20
USE_AUTOTOOLS=	libtool:15
20
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
21
LIBTOOLFILES=	configure c++/configure
22
LIBTOOLFILES=	configure c++/configure
22
CONFIGURE_TARGET=	--build=${ARCH}-portbld-freebsd${OSREL}
23
CONFIGURE_ARGS=	--disable-debug \
23
CONFIGURE_ARGS=	--enable-cxx --enable-production \
24
		--enable-cxx \
24
		--enable-threadsafe --disable-debug \
25
		--enable-instrument \
25
		--with-pthread
26
		--enable-production \
27
		--enable-strict-format-checks \
28
		--enable-threadsafe \
29
		--with-pthread=/usr \
30
		--with-ssl=/usr \
31
		--with-zlib=/usr
26
ALL_TARGET=	lib progs
32
ALL_TARGET=	lib progs
27
33
28
.include <bsd.port.pre.mk>
34
.include <bsd.port.pre.mk>
Lines 33-52 Link Here
33
39
34
post-patch:
40
post-patch:
35
	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
41
	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
36
	@${REINPLACE_CMD} -e 's|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|g ; \
42
	@${REINPLACE_CMD} -e 's|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|g' \
37
		 s|[\$$]LDFLAGS -pthread|\$$LDFLAGS ${PTHREAD_LIBS}|g'  \
43
		-e 's|[\$$]LDFLAGS -pthread|\$$LDFLAGS ${PTHREAD_LIBS}|g'  \
38
			${WRKSRC}/config/freebsd
44
			${WRKSRC}/config/freebsd ${WRKSRC}/c++/config/freebsd
39
	@${REINPLACE_CMD} -e 's|-D_THREAD_SAFE|${PTHREAD_CFLAGS}|g ; \
40
		 s|[\$$]LDFLAGS -pthread|\$$LDFLAGS ${PTHREAD_LIBS}|g'  \
41
			${WRKSRC}/c++/config/freebsd
42
	@${REINPLACE_CMD} -e 's|-O3||g' ${WRKSRC}/config/gnu-flags
45
	@${REINPLACE_CMD} -e 's|-O3||g' ${WRKSRC}/config/gnu-flags
43
	@${REINPLACE_CMD} -e 's|objformat=|#objformat=|g' ${WRKSRC}/aclocal.m4
46
	@${REINPLACE_CMD} -e 's|objformat=|#objformat=|g' \
44
	@${REINPLACE_CMD} -e 's|objformat=|#objformat=|g' ${WRKSRC}/configure
47
		-e 's|\(version_type=freebsd\)-.*|\1-elf|g' \
45
	@${REINPLACE_CMD} -e '/version_type=freebsd-/s|=.*|=freebsd-elf|g' ${WRKSRC}/aclocal.m4
48
			${WRKSRC}/aclocal.m4 ${WRKSRC}/configure
46
	@${REINPLACE_CMD} -e '/version_type=freebsd-/s|=.*|=freebsd-elf|g' ${WRKSRC}/configure
49
.if defined(NOPORTEXAMPLES)
50
.for i in . c++ hl
51
	@${REINPLACE_CMD} \
52
		-e 's,\((cd examples && $$(MAKE) $$@) || exit 1;\),#\1,g' \
53
			${WRKSRC}/${i}/Makefile.in
54
.endfor
55
.endif
47
56
48
post-install:
57
post-install:
49
.for i in gif2h5 h52gif h5debug h5diff h5dump h5import h5ls h5repart h5jam h5unjam
58
.for i in gif2h5 h52gif h5debug h5diff h5dump h5import h5jam h5ls h5repack h5repart h5unjam
50
	@${STRIP_CMD} ${PREFIX}/bin/${i}
59
	@${STRIP_CMD} ${PREFIX}/bin/${i}
51
.endfor
60
.endfor
52
61
(-)/usr/ports/sunpoet/hdf5/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (hdf5-1.6.6.tar.gz) = 6c7fcc91f1579555d88bb10c6c9a33a9
1
MD5 (hdf5-1.6.7.tar.gz) = 79027c67188e2e4131c5573771f477ce
2
SHA256 (hdf5-1.6.6.tar.gz) = 432d02f2d6988999d3d18caa6680af3cef14c8a7537c98e7adbaa8f873fba2a7
2
SHA256 (hdf5-1.6.7.tar.gz) = 9d9a98204f8c7d82f767f27f84db2520c04f5c73a4a6348c781a0d91a296e9a2
3
SIZE (hdf5-1.6.6.tar.gz) = 5299558
3
SIZE (hdf5-1.6.7.tar.gz) = 5299219
(-)/usr/ports/sunpoet/hdf5/files/patch-c++::configure (-10 lines)
Lines 1-10 Link Here
1
--- c++/configure.orig	Fri Jun 28 03:42:45 2002
2
+++ c++/configure	Wed Jul 10 01:41:13 2002
3
@@ -7563,6 +7563,7 @@
4
 
5
 # This can be used to rebuild libtool when needed
6
 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
7
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
8
 
9
 # Always use our own libtool.
10
 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
(-)/usr/ports/sunpoet/hdf5/files/patch-configure (-10 lines)
Lines 1-10 Link Here
1
--- configure.orig	Sat Jun 29 05:03:55 2002
2
+++ configure	Wed Jul 10 01:40:52 2002
3
@@ -7263,6 +7263,7 @@
4
 
5
 # This can be used to rebuild libtool when needed
6
 LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
7
+$ac_aux_dir/ltconfig $LIBTOOL_DEPS
8
 
9
 # Always use our own libtool.
10
 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
(-)/usr/ports/sunpoet/hdf5/pkg-plist (-41 / +40 lines)
Lines 46-52 Link Here
46
include/H5FDsec2.h
46
include/H5FDsec2.h
47
include/H5FDsrb.h
47
include/H5FDsrb.h
48
include/H5FDstdio.h
48
include/H5FDstdio.h
49
include/H5FDstream.h
50
include/H5FaccProp.h
49
include/H5FaccProp.h
51
include/H5FcreatProp.h
50
include/H5FcreatProp.h
52
include/H5File.h
51
include/H5File.h
Lines 92-134 Link Here
92
lib/libhdf5_hl.la
91
lib/libhdf5_hl.la
93
lib/libhdf5_hl.so
92
lib/libhdf5_hl.so
94
lib/libhdf5_hl.so.0
93
lib/libhdf5_hl.so.0
95
%%EXAMPLESDIR%%/c/h5_attribute.c
94
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/chunks.cpp
96
%%EXAMPLESDIR%%/c/h5_chunk_read.c
95
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/compound.cpp
97
%%EXAMPLESDIR%%/c/h5_compound.c
96
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/create.cpp
98
%%EXAMPLESDIR%%/c/h5_drivers.c
97
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/extend_ds.cpp
99
%%EXAMPLESDIR%%/c/h5_extend_write.c
98
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/h5group.cpp
100
%%EXAMPLESDIR%%/c/h5_group.c
99
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/readdata.cpp
101
%%EXAMPLESDIR%%/c/h5_mount.c
100
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/strtype.cpp
102
%%EXAMPLESDIR%%/c/h5_read.c
101
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c++/writedata.cpp
103
%%EXAMPLESDIR%%/c/h5_reference.c
102
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_image1.c
104
%%EXAMPLESDIR%%/c/h5_select.c
103
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_image2.c
105
%%EXAMPLESDIR%%/c/h5_write.c
104
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_lite1.c
106
%%EXAMPLESDIR%%/c/ph5example.c
105
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_lite2.c
107
%%EXAMPLESDIR%%/c/ex_lite1.c
106
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_lite3.c
108
%%EXAMPLESDIR%%/c/ex_lite2.c
107
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_table_01.c
109
%%EXAMPLESDIR%%/c/ex_lite3.c
108
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_table_02.c
110
%%EXAMPLESDIR%%/c/ex_image1.c
109
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_table_03.c
111
%%EXAMPLESDIR%%/c/ex_image2.c
110
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_table_04.c
112
%%EXAMPLESDIR%%/c/ex_table_01.c
111
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_table_05.c
113
%%EXAMPLESDIR%%/c/ex_table_02.c
112
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_table_06.c
114
%%EXAMPLESDIR%%/c/ex_table_03.c
113
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_table_07.c
115
%%EXAMPLESDIR%%/c/ex_table_04.c
114
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_table_08.c
116
%%EXAMPLESDIR%%/c/ex_table_05.c
115
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_table_09.c
117
%%EXAMPLESDIR%%/c/ex_table_06.c
116
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_table_10.c
118
%%EXAMPLESDIR%%/c/ex_table_07.c
117
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_table_11.c
119
%%EXAMPLESDIR%%/c/ex_table_08.c
118
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ex_table_12.c
120
%%EXAMPLESDIR%%/c/ex_table_09.c
119
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_attribute.c
121
%%EXAMPLESDIR%%/c/ex_table_10.c
120
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_chunk_read.c
122
%%EXAMPLESDIR%%/c/ex_table_11.c
121
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_compound.c
123
%%EXAMPLESDIR%%/c/ex_table_12.c
122
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_drivers.c
124
%%EXAMPLESDIR%%/c++/chunks.cpp
123
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_extend_write.c
125
%%EXAMPLESDIR%%/c++/compound.cpp
124
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_group.c
126
%%EXAMPLESDIR%%/c++/create.cpp
125
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_mount.c
127
%%EXAMPLESDIR%%/c++/extend_ds.cpp
126
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_read.c
128
%%EXAMPLESDIR%%/c++/h5group.cpp
127
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_reference.c
129
%%EXAMPLESDIR%%/c++/readdata.cpp
128
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_select.c
130
%%EXAMPLESDIR%%/c++/strtype.cpp
129
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/h5_write.c
131
%%EXAMPLESDIR%%/c++/writedata.cpp
130
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/c/ph5example.c
132
@dirrm %%EXAMPLESDIR%%/c
131
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/c
133
@dirrm %%EXAMPLESDIR%%/c++
132
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/c++
134
@dirrm %%EXAMPLESDIR%%
133
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%

Return to bug 121195