Index: head/science/hdf/Makefile =================================================================== --- head/science/hdf/Makefile (revision 381563) +++ head/science/hdf/Makefile (revision 381564) @@ -1,42 +1,40 @@ # Created by: mi # $FreeBSD$ PORTNAME= hdf -DISTVERSION= 4.2.8 -PORTREVISION= 4 +PORTVERSION= 4.2.11 PORTEPOCH= 1 CATEGORIES= science archivers graphics -MASTER_SITES= http://www.hdfgroup.org/ftp/HDF/releases/%SUBDIR%/ -MASTER_SITE_SUBDIR= ${PORTNAME:tu}${PORTVERSION}/src/ +MASTER_SITES= http://www.hdfgroup.org/ftp/HDF/releases/HDF${PORTVERSION}/src/ \ + ftp://ftp.hdfgroup.org/HDF/releases/HDF${PORTVERSION}/src/ MAINTAINER= ports@FreeBSD.org COMMENT= Hierarchical Data Format library (from NCSA) LIB_DEPENDS= libjpeg.so:${PORTSDIR}/graphics/jpeg \ libsz.so:${PORTSDIR}/science/szip CONFLICTS= netcdf-* GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-jpeg="${LOCALBASE}" \ - --with-szlib="${LOCALBASE}" \ - --enable-shared +CONFIGURE_ARGS= --enable-shared --with-jpeg=${LOCALBASE} --with-szlib=${LOCALBASE} INSTALL_TARGET= install-strip -USES= fortran libtool tar:bzip2 USE_LDCONFIG= yes +USES= fortran libtool tar:bzip2 +PORTDATA= * +PORTEXAMPLES= * + BROKEN_powerpc= Does not compile on powerpc post-patch: - @${REINPLACE_CMD} -e \ - '/PROD_/s|=.*|=""|' ${WRKSRC}/config/freebsd + @${REINPLACE_CMD} -e '/PROD_/ s|=.*|=""|' ${WRKSRC}/config/freebsd post-install: - ${INSTALL_MAN} ${WRKSRC}/man/hdfunpac.1 ${STAGEDIR}${MAN1PREFIX}/man/man1 - ${INSTALL_MAN} ${WRKSRC}/man/gr_chunk.3 ${STAGEDIR}${MAN3PREFIX}/man/man3 + ${INSTALL_MAN} ${WRKSRC}/man/hdfunpac.1 ${STAGEDIR}${MAN1PREFIX}/man/man1/ + ${INSTALL_MAN} ${WRKSRC}/man/gr_chunk.3 ${STAGEDIR}${MAN3PREFIX}/man/man3/ -check regression-test test: build - @(cd ${WRKSRC}/hdf/test && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} \ - ${MAKE_FLAGS} ${MAKEFILE} ${MAKE_ARGS} check) +regression-test test: build + cd ${WRKSRC}/hdf/test/ && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check .include Index: head/science/hdf/distinfo =================================================================== --- head/science/hdf/distinfo (revision 381563) +++ head/science/hdf/distinfo (revision 381564) @@ -1,2 +1,2 @@ -SHA256 (hdf-4.2.8.tar.bz2) = e8a94ae2c838007ccdd55bb3cd9684adba3ded367c09803ffc84a2704f83c00f -SIZE (hdf-4.2.8.tar.bz2) = 3027253 +SHA256 (hdf-4.2.11.tar.bz2) = bb0e900b8cc6bc89a5730abc97e654e7705e8e1fbc4e0d4477f417822428d99b +SIZE (hdf-4.2.11.tar.bz2) = 3173535 Index: head/science/hdf/files/patch-mfhdf__libsrc__Makefile.in =================================================================== --- head/science/hdf/files/patch-mfhdf__libsrc__Makefile.in (revision 381563) +++ head/science/hdf/files/patch-mfhdf__libsrc__Makefile.in (nonexistent) @@ -1,20 +0,0 @@ ---- mfhdf/libsrc/Makefile.in.orig 2012-08-07 13:11:12.000000000 +0900 -+++ mfhdf/libsrc/Makefile.in 2012-08-14 21:08:58.000000000 +0900 -@@ -161,7 +161,7 @@ - INSTALL_SCRIPT = @INSTALL_SCRIPT@ - INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ - LD = @LD@ --LDFLAGS = @LDFLAGS@ -+LDFLAGS = @LDFLAGS@ -version-number 3 - LEX = @LEX@ - LIBOBJS = @LIBOBJS@ - LIBS = @LIBS@ -@@ -264,8 +264,6 @@ - CP = cp - H4CC = $(bindir)/h4cc - H4FC = $(bindir)/h4fc --@HDF_BUILD_XDR_TRUE@XDR_ADD = -R$(abs_top_builddir)/mfhdf/xdr/.libs --@HDF_BUILD_SHARED_TRUE@AM_LDFLAGS = -R$(abs_top_builddir)/mfhdf/libsrc/.libs -R$(abs_top_builddir)/hdf/src/.libs $(XDR_ADD) - ACLOCAL_AMFLAGS = "-I m4" - INCLUDES = -I$(top_srcdir)/hdf/src \ - -I$(top_srcdir)/mfhdf/libsrc Property changes on: head/science/hdf/files/patch-mfhdf__libsrc__Makefile.in ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/science/hdf/files/patch-hdf__src__Makefile.in =================================================================== --- head/science/hdf/files/patch-hdf__src__Makefile.in (revision 381563) +++ head/science/hdf/files/patch-hdf__src__Makefile.in (nonexistent) @@ -1,20 +0,0 @@ ---- hdf/src/Makefile.in.orig 2012-08-07 13:11:36.000000000 +0900 -+++ hdf/src/Makefile.in 2012-08-14 21:08:53.000000000 +0900 -@@ -187,7 +187,7 @@ - INSTALL_SCRIPT = @INSTALL_SCRIPT@ - INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ - LD = @LD@ --LDFLAGS = @LDFLAGS@ -+LDFLAGS = @LDFLAGS@ -version-number 2 - LEX = @LEX@ - LIBOBJS = @LIBOBJS@ - LIBS = @LIBS@ -@@ -290,8 +290,6 @@ - CP = cp - H4CC = $(bindir)/h4cc - H4FC = $(bindir)/h4fc --@HDF_BUILD_XDR_TRUE@XDR_ADD = -R$(abs_top_builddir)/mfhdf/xdr/.libs --@HDF_BUILD_SHARED_TRUE@AM_LDFLAGS = -R$(abs_top_builddir)/mfhdf/libsrc/.libs -R$(abs_top_builddir)/hdf/src/.libs $(XDR_ADD) - ACLOCAL_AMFLAGS = "-I m4" - lib_LTLIBRARIES = libdf.la - FSOURCES = df24ff.f dfanf.c dfanff.f dff.c dfff.f dfpf.c dfpff.f dfr8f.c \ Property changes on: head/science/hdf/files/patch-hdf__src__Makefile.in ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/science/hdf/files/patch-hdf-examples-Makefile.in =================================================================== --- head/science/hdf/files/patch-hdf-examples-Makefile.in (nonexistent) +++ head/science/hdf/files/patch-hdf-examples-Makefile.in (revision 381564) @@ -0,0 +1,13 @@ +--- hdf/examples/Makefile.in.orig 2015-02-10 00:43:49.000000000 +0800 ++++ hdf/examples/Makefile.in 2015-03-16 23:05:52.348877136 +0800 +@@ -530,8 +530,8 @@ + INSTALL_TOP_FILES = README + + # Where to install example files +-EXAMPLEDIR = $(prefix)/examples/c +-EXAMPLETOPDIR = $(prefix)/examples ++EXAMPLEDIR = $(DESTDIR)$(prefix)/share/examples/hdf/c ++EXAMPLETOPDIR = $(DESTDIR)$(prefix)/share/examples/hdf + DISTCLEANFILES = *.chkexe *.chklog + @BUILD_SHARED_SZIP_CONDITIONAL_TRUE@LD_LIBRARY_PATH = $(LL_PATH) + Property changes on: head/science/hdf/files/patch-hdf-examples-Makefile.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/science/hdf/files/patch-hdf-fortran-examples-Makefile.in =================================================================== --- head/science/hdf/files/patch-hdf-fortran-examples-Makefile.in (nonexistent) +++ head/science/hdf/files/patch-hdf-fortran-examples-Makefile.in (revision 381564) @@ -0,0 +1,11 @@ +--- hdf/fortran/examples/Makefile.in.orig 2015-02-10 00:43:49.000000000 +0800 ++++ hdf/fortran/examples/Makefile.in 2015-03-16 23:41:52.776730245 +0800 +@@ -525,7 +525,7 @@ + INSTALL_SCRIPT_FILES = run-fortran-ex.sh + + # Where to install Fortran example files +-EXAMPLEDIR = $(prefix)/examples/fortran ++EXAMPLEDIR = $(DESTDIR)$(prefix)/share/hdf/examples/fortran + DISTCLEANFILES = *.chkexe *.chklog + @BUILD_SHARED_SZIP_CONDITIONAL_TRUE@LD_LIBRARY_PATH = $(LL_PATH) + Property changes on: head/science/hdf/files/patch-hdf-fortran-examples-Makefile.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/science/hdf/files/patch-hdf-src-Makefile.in =================================================================== --- head/science/hdf/files/patch-hdf-src-Makefile.in (nonexistent) +++ head/science/hdf/files/patch-hdf-src-Makefile.in (revision 381564) @@ -0,0 +1,20 @@ +--- hdf/src/Makefile.in.orig 2015-02-10 00:43:49.000000000 +0800 ++++ hdf/src/Makefile.in 2015-03-16 23:48:46.316696873 +0800 +@@ -296,7 +296,7 @@ + INSTALL_SCRIPT = @INSTALL_SCRIPT@ + INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ + LD = @LD@ +-LDFLAGS = @LDFLAGS@ ++LDFLAGS = @LDFLAGS@ -version-number 2 + LEX = @LEX@ + LIBOBJS = @LIBOBJS@ + LIBS = @LIBS@ +@@ -408,8 +408,6 @@ + LIBMFHDF = $(top_builddir)/mfhdf/libsrc/libmfhdf.la + H4CC = ${DESTDIR}$(bindir)/h4cc + H4FC = ${DESTDIR}$(bindir)/h4fc +-@HDF_BUILD_XDR_TRUE@XDR_ADD = -R$(abs_top_builddir)/mfhdf/xdr/.libs +-@HDF_BUILD_SHARED_TRUE@AM_LDFLAGS = -R$(abs_top_builddir)/mfhdf/libsrc/.libs -R$(abs_top_builddir)/hdf/src/.libs $(XDR_ADD) + ACLOCAL_AMFLAGS = "-I m4" + + # .chkexe files are used to mark tests that have run successfully. Property changes on: head/science/hdf/files/patch-hdf-src-Makefile.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/science/hdf/files/patch-mfhdf-examples-Makefile.in =================================================================== --- head/science/hdf/files/patch-mfhdf-examples-Makefile.in (nonexistent) +++ head/science/hdf/files/patch-mfhdf-examples-Makefile.in (revision 381564) @@ -0,0 +1,11 @@ +--- mfhdf/examples/Makefile.in.orig 2015-02-10 00:43:50.000000000 +0800 ++++ mfhdf/examples/Makefile.in 2015-03-16 23:43:17.287721940 +0800 +@@ -507,7 +507,7 @@ + SD_get_info.c SD_find_sds_by_name.c SD_set_get_dim_info.c \ + SD_dimscale_vs_sds.c SD_set_attr.c SD_get_attr.c SD_chunking_example.c + +-EXAMPLEDIR = $(prefix)/examples/c ++EXAMPLEDIR = $(DESTDIR)$(prefix)/share/examples/hdf/c + DISTCLEANFILES = *.chklog *.chkexe .deps + @BUILD_SHARED_SZIP_CONDITIONAL_TRUE@LD_LIBRARY_PATH = $(LL_PATH) + Property changes on: head/science/hdf/files/patch-mfhdf-examples-Makefile.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/science/hdf/files/patch-mfhdf-fortran-examples-Makefile.in =================================================================== --- head/science/hdf/files/patch-mfhdf-fortran-examples-Makefile.in (nonexistent) +++ head/science/hdf/files/patch-mfhdf-fortran-examples-Makefile.in (revision 381564) @@ -0,0 +1,11 @@ +--- mfhdf/fortran/examples/Makefile.in.orig 2015-02-10 00:43:50.000000000 +0800 ++++ mfhdf/fortran/examples/Makefile.in 2015-03-16 23:44:30.846716566 +0800 +@@ -511,7 +511,7 @@ + + + # Where to install example files +-EXAMPLEDIR = $(prefix)/examples/fortran ++EXAMPLEDIR = $(DESTDIR)$(prefix)/share/examples/hdf/fortran + DISTCLEANFILES = *.chkexe *.chklog + @BUILD_SHARED_SZIP_CONDITIONAL_TRUE@LD_LIBRARY_PATH = $(LL_PATH) + Property changes on: head/science/hdf/files/patch-mfhdf-fortran-examples-Makefile.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/science/hdf/files/patch-mfhdf-libsrc-Makefile.in =================================================================== --- head/science/hdf/files/patch-mfhdf-libsrc-Makefile.in (nonexistent) +++ head/science/hdf/files/patch-mfhdf-libsrc-Makefile.in (revision 381564) @@ -0,0 +1,20 @@ +--- mfhdf/libsrc/Makefile.in.orig 2015-02-10 00:43:51.000000000 +0800 ++++ mfhdf/libsrc/Makefile.in 2015-03-16 23:48:46.325704247 +0800 +@@ -272,7 +272,7 @@ + INSTALL_SCRIPT = @INSTALL_SCRIPT@ + INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ + LD = @LD@ +-LDFLAGS = @LDFLAGS@ ++LDFLAGS = @LDFLAGS@ -version-number 3 + LEX = @LEX@ + LIBOBJS = @LIBOBJS@ + LIBS = @LIBS@ +@@ -384,8 +384,6 @@ + LIBMFHDF = $(top_builddir)/mfhdf/libsrc/libmfhdf.la + H4CC = ${DESTDIR}$(bindir)/h4cc + H4FC = ${DESTDIR}$(bindir)/h4fc +-@HDF_BUILD_XDR_TRUE@XDR_ADD = -R$(abs_top_builddir)/mfhdf/xdr/.libs +-@HDF_BUILD_SHARED_TRUE@AM_LDFLAGS = -R$(abs_top_builddir)/mfhdf/libsrc/.libs -R$(abs_top_builddir)/hdf/src/.libs $(XDR_ADD) + ACLOCAL_AMFLAGS = "-I m4" + + # .chkexe files are used to mark tests that have run successfully. Property changes on: head/science/hdf/files/patch-mfhdf-libsrc-Makefile.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/science/hdf/pkg-descr =================================================================== --- head/science/hdf/pkg-descr (revision 381563) +++ head/science/hdf/pkg-descr (revision 381564) @@ -1,22 +1,16 @@ -From HDF's manpage: +HDF4 (originally known as HDF) is a file format for storing scientific data and +a software library that provides high-level APIs and a low-level data interface. - hdf - Hierarchical Data Format library - -Description: - HDF is a multi-object file format that facilitates the - transfer of various types of scientific data between - machines and operating systems. Machines currently sup- - ported include the Cray, Convex, HP, Vax, Sun, IBM - RS/6000, Silicon Graphics, Macintosh, and IBM PC comput- - ers. HDF allows self-definitions of data content and easy - extensibility for future enhancements or compatibility - with other standard formats. HDF includes Fortran and C - calling interfaces,and utilities to prepare raw image of - data files or for use with other NCSA software. The HDF - library contains interfaces for storing and retrieving - compressed or uncompressed 8-bit and 24-bit raster images - with palettes, n-Dimensional scientific datasets and - binary tables. An interface is also included that allows - arbitray grouping of other HDF objects. +HDF technologies at present include two data management formats (HDF4 and HDF5) +and libraries, a modular data browser/editor, associated tools and utilities, +and a conversion library. Both HDF4 and HDF5 were designed to be a general +scientific format, adaptable to virtually any scientific or engineering +application, and also have been used successfully in non-technical areas. The +Open Source format is a key technological foundation for HDF core technologies. +It allows users to collaborate with The HDF Group regarding functionality +requirements and permits users' experience and knowledge to be incorporated into +the HDF product when appropriate. It also permits users and organizations +without adequate technology resources to use a sophisticated and robust data +management tool for no charge. WWW: http://www.hdfgroup.org/products/hdf4/ Index: head/science/hdf/pkg-plist =================================================================== --- head/science/hdf/pkg-plist (revision 381563) +++ head/science/hdf/pkg-plist (revision 381564) @@ -1,97 +1,97 @@ bin/gif2hdf bin/h4cc bin/h4fc bin/h4redeploy bin/hdf24to8 bin/hdf2gif bin/hdf2jpeg bin/hdf8to24 bin/hdfcomp bin/hdfed bin/hdfimport bin/hdfls bin/hdfpack bin/hdftopal bin/hdftor8 bin/hdfunpac bin/hdiff bin/hdp bin/hrepack bin/jpeg2hdf bin/ncdump bin/ncgen bin/paltohdf bin/r8tohdf bin/ristosds bin/vmake bin/vshow include/H4api_adpt.h include/atom.h include/bitvect.h include/cdeflate.h include/cnbit.h include/cnone.h include/crle.h include/cskphuff.h include/cszip.h include/df.h include/dfan.h include/dffunc.f90 include/dffunc.inc include/dfgr.h include/dfi.h include/dfrig.h include/dfsd.h include/dfstubs.h include/dfufp2i.h include/dynarray.h include/h4config.h include/hbitio.h include/hchunks.h include/hcomp.h include/hcompi.h include/hconv.h include/hdatainfo.h include/hdf.f90 include/hdf.h include/hdf.inc include/hdf2netcdf.h include/hdfi.h include/herr.h include/hfile.h include/hkit.h include/hlimits.h include/hntdefs.h include/hproto.h include/hproto_fortran.h include/htags.h include/linklist.h include/local_nc.h include/mfan.h include/mfdatainfo.h include/mffunc.f90 include/mffunc.inc include/mfgr.h include/mfhdf.h include/mfhdfi.h include/mstdio.h include/netcdf.f90 include/netcdf.h include/netcdf.inc include/tbbt.h include/vattr.h include/vg.h lib/libdf.a lib/libdf.so lib/libdf.so.2 lib/libdf.so.2.0.0 lib/libhdf4.settings lib/libmfhdf.a lib/libmfhdf.so lib/libmfhdf.so.3 lib/libmfhdf.so.3.0.0 man/man1/hdf.1.gz -man/man1/hdfunpac.1.gz -man/man1/ncdump.1.gz -man/man1/ncgen.1.gz +man/man1/hdfunpac.1.gz +man/man1/ncdump.1.gz +man/man1/ncgen.1.gz man/man3/gr_chunk.3.gz