science/h5utils: Adopt/Update to 1.13.2

- Switch to MASTER_SITES
- Add missing lib dependencies (graphics/jpeg-turbo and science/hdf) to
  build bin/h4fromh5 and bin/h5fromh4 binaries
- Use USES+= localbase
- Update new home url

ChangeLog: https://github.com/NanoComp/h5utils/releases/tag/1.13.2
This commit is contained in:
Nuno Teixeira 2023-01-17 10:58:33 +00:00
parent c0bee29737
commit fb4ef23dde
3 changed files with 23 additions and 21 deletions

View file

@ -1,31 +1,30 @@
PORTNAME= h5utils
DISTVERSION= 1.13.1
PORTREVISION= 6
DISTVERSION= 1.13.2
CATEGORIES= science
MASTER_SITES= https://github.com/NanoComp/${PORTNAME}/releases/download/${DISTVERSION}/
MAINTAINER= ports@FreeBSD.org
MAINTAINER= eduardo@FreeBSD.org
COMMENT= Set of utilities for visualization and conversion of HDF5 format
WWW= https://github.com/stevengj/h5utils
WWW= https://github.com/NanoComp/h5utils
LICENSE= MIT GPLv2
LICENSE= GPLv2 MIT
LICENSE_COMB= multi
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= gawk:lang/gawk
LIB_DEPENDS= libhdf5.so:science/hdf5 \
libpng.so:graphics/png \
libmatheval.so:devel/libmatheval
LIB_DEPENDS= libdf.so:science/hdf \
libhdf5.so:science/hdf5 \
libmatheval.so:devel/libmatheval \
libpng.so:graphics/png
USES= autoreconf compiler:c++11-lang
USES= autoreconf compiler:c++11-lang jpeg localbase
GNU_CONFIGURE= yes
USE_GITHUB= yes
GH_ACCOUNT= stevengj
CFLAGS+= -L${LOCALBASE}/lib -I${LOCALBASE}/include -lpthread
CFLAGS+= -pthread
CXXFLAGS+= -std=c++11
OPTIONS_DEFINE= OCTAVE
OPTIONS_SUB= yes
OPTIONS_DEFINE= OCTAVE
OPTIONS_SUB= yes
OCTAVE_DESC= With Octave support
OCTAVE_CONFIGURE_WITH= octave

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1521616297
SHA256 (stevengj-h5utils-1.13.1_GH0.tar.gz) = 698941b787dd367d273acf103ff08eb3abd61332d88a6a65055ba65428fa6124
SIZE (stevengj-h5utils-1.13.1_GH0.tar.gz) = 113754
TIMESTAMP = 1673942285
SHA256 (h5utils-1.13.2.tar.gz) = eea7855a8235facb7c454e61103098e55658da0ddf4b6de5b82a992e5f024351
SIZE (h5utils-1.13.2.tar.gz) = 174406

View file

@ -1,9 +1,12 @@
bin/h5math
bin/h5totxt
bin/h4fromh5
bin/h5fromh4
bin/h5fromtxt
bin/h5tovtk
bin/h5math
bin/h5topng
bin/h5totxt
bin/h5tovtk
%%OCTAVE%%lib/octave/%%OCTAVE_VERSION%%/site/oct/%%CONFIGURE_TARGET%%/h5read.oct
man/man1/h5fromh4.1.gz
man/man1/h5fromtxt.1.gz
man/man1/h5math.1.gz
man/man1/h5topng.1.gz
@ -17,6 +20,7 @@ man/man1/h5tovtk.1.gz
%%DATADIR%%/colormaps/colorcube
%%DATADIR%%/colormaps/cool
%%DATADIR%%/colormaps/copper
%%DATADIR%%/colormaps/dkbluered
%%DATADIR%%/colormaps/flag
%%DATADIR%%/colormaps/gray
%%DATADIR%%/colormaps/green
@ -34,4 +38,3 @@ man/man1/h5tovtk.1.gz
%%DATADIR%%/colormaps/winter
%%DATADIR%%/colormaps/yarg
%%DATADIR%%/colormaps/yellow
%%DATADIR%%/colormaps/dkbluered