Index: head/science/h5utils/Makefile =================================================================== --- head/science/h5utils/Makefile (revision 446656) +++ head/science/h5utils/Makefile (revision 446657) @@ -1,25 +1,30 @@ # Created by: Klaus Aehlig # $FreeBSD$ PORTNAME= h5utils -PORTVERSION= 1.12.1 -PORTREVISION= 7 +PORTVERSION= 1.13 CATEGORIES= science -MASTER_SITES= http://ab-initio.mit.edu/${PORTNAME}/ MAINTAINER= aehlig@linta.de COMMENT= Set of utilities for visualization and conversion of HDF5 format LICENSE= MIT GPLv2 LICENSE_COMB= multi -LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_FILE= ${WRKSRC}/COPYING GNU_CONFIGURE= YES CFLAGS += -L${LOCALBASE}/lib -I${LOCALBASE}/include -lpthread BUILD_DEPENDS+= gawk:lang/gawk LIB_DEPENDS+= libhdf5.so:science/hdf5 \ libpng.so:graphics/png \ libmatheval.so:devel/libmatheval + +USES= autoreconf +GNU_CONFIGURE= yes + + +USE_GITHUB= yes +GH_ACCOUNT= stevengj .include Index: head/science/h5utils/distinfo =================================================================== --- head/science/h5utils/distinfo (revision 446656) +++ head/science/h5utils/distinfo (revision 446657) @@ -1,2 +1,3 @@ -SHA256 (h5utils-1.12.1.tar.gz) = 7290290ca5d5d4451d757a70c86baaa70d23a28edb09c951b6b77c22b924a38d -SIZE (h5utils-1.12.1.tar.gz) = 156785 +TIMESTAMP = 1500963131 +SHA256 (stevengj-h5utils-1.13_GH0.tar.gz) = 894849f6d107b224bb1694029ad7d469695b0a6f47b564fe16c40f3d20c0b452 +SIZE (stevengj-h5utils-1.13_GH0.tar.gz) = 113735 Index: head/science/h5utils/files/patch-writepng.c =================================================================== --- head/science/h5utils/files/patch-writepng.c (revision 446656) +++ head/science/h5utils/files/patch-writepng.c (nonexistent) @@ -1,42 +0,0 @@ -$NetBSD: patch-writepng.c,v 1.1 2011/02/01 09:05:31 wiz Exp $ - -Fix build with png-1.5. - ---- writepng.c.orig 2009-06-12 20:58:50.000000000 +0000 -+++ writepng.c -@@ -240,6 +240,8 @@ void writepng(char *filename, - double skewsin = sin(skew), skewcos = cos(skew); - REAL minoverlay = 0, maxoverlay = 0; - png_byte mask_byte; -+ png_colorp palette = NULL; -+ - - /* we must use direct color for translucent overlays */ - if (overlay) -@@ -309,7 +311,7 @@ void writepng(char *filename, - } - /* Set error handling. REQUIRED if you aren't supplying your own * - * error hadnling functions in the png_create_write_struct() call. */ -- if (setjmp(png_ptr->jmpbuf)) { -+ if (setjmp(png_jmpbuf(png_ptr))) { - /* If we get here, we had a problem reading the file */ - fclose(fp); - png_destroy_write_struct(&png_ptr, (png_infopp) NULL); -@@ -334,8 +336,6 @@ void writepng(char *filename, - PNG_INTERLACE_NONE, - PNG_COMPRESSION_TYPE_BASE, PNG_FILTER_TYPE_BASE); - else { -- png_colorp palette; -- - png_set_IHDR(png_ptr, info_ptr, width, height, 8 /* bit_depth */ , - PNG_COLOR_TYPE_PALETTE, - PNG_INTERLACE_NONE, -@@ -434,7 +434,7 @@ void writepng(char *filename, - png_write_end(png_ptr, info_ptr); - - /* if you malloced the palette, free it here */ -- free(info_ptr->palette); -+ free(palette); - - /* if you allocated any text comments, free them here */ - Property changes on: head/science/h5utils/files/patch-writepng.c ___________________________________________________________________ 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/h5utils/files/patch-configure.ac =================================================================== --- head/science/h5utils/files/patch-configure.ac (nonexistent) +++ head/science/h5utils/files/patch-configure.ac (revision 446657) @@ -0,0 +1,11 @@ +--- configure.ac.orig 2017-07-25 06:31:48 UTC ++++ configure.ac +@@ -68,7 +68,7 @@ AC_CHECK_LIB(matheval, evaluator_get_var + + if test $H5MATH = yes; then + MORE_H5UTILS="h5math\$(EXEEXT) $MORE_H5UTILS" +- MORE_H5UTILS_MANS="h5math.1 $MORE_H5UTILS_MANS" ++ MORE_H5UTILS_MANS="doc/man/h5math.1 $MORE_H5UTILS_MANS" + else + AC_MSG_WARN([can't find libmatheval: won't be able to compile h5math]) + fi Property changes on: head/science/h5utils/files/patch-configure.ac ___________________________________________________________________ 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/h5utils/pkg-descr =================================================================== --- head/science/h5utils/pkg-descr (revision 446656) +++ head/science/h5utils/pkg-descr (revision 446657) @@ -1,9 +1,9 @@ h5utils is a set of utilities for visualization and conversion of scientific data in the free, portable HDF5 format. Besides providing a simple tool for batch visualization as PNG images, h5utils also includes programs to convert HDF5 datasets into the formats required by other free visualization software (e.g. plain text, Vis5d, and VTK). -WWW: http://ab-initio.mit.edu/wiki/index.php/H5utils +WWW: https://github.com/stevengj/h5utils Index: head/science/h5utils/pkg-plist =================================================================== --- head/science/h5utils/pkg-plist (revision 446656) +++ head/science/h5utils/pkg-plist (revision 446657) @@ -1,32 +1,36 @@ bin/h5math bin/h5totxt bin/h5fromtxt bin/h5tovtk bin/h5topng man/man1/h5fromtxt.1.gz man/man1/h5math.1.gz man/man1/h5topng.1.gz man/man1/h5totxt.1.gz man/man1/h5tovtk.1.gz +%%DATADIR%%/colormaps/BrBG +%%DATADIR%%/colormaps/RdBu %%DATADIR%%/colormaps/autumn %%DATADIR%%/colormaps/bluered %%DATADIR%%/colormaps/bone %%DATADIR%%/colormaps/colorcube %%DATADIR%%/colormaps/cool %%DATADIR%%/colormaps/copper %%DATADIR%%/colormaps/flag %%DATADIR%%/colormaps/gray %%DATADIR%%/colormaps/green %%DATADIR%%/colormaps/hot %%DATADIR%%/colormaps/hsv +%%DATADIR%%/colormaps/inferno %%DATADIR%%/colormaps/jet %%DATADIR%%/colormaps/lines %%DATADIR%%/colormaps/pink %%DATADIR%%/colormaps/prism %%DATADIR%%/colormaps/spring %%DATADIR%%/colormaps/summer %%DATADIR%%/colormaps/vga +%%DATADIR%%/colormaps/viridis %%DATADIR%%/colormaps/winter %%DATADIR%%/colormaps/yarg %%DATADIR%%/colormaps/yellow %%DATADIR%%/colormaps/dkbluered