Index: head/science/h5utils/files/patch-configure.ac =================================================================== --- head/science/h5utils/files/patch-configure.ac (revision 465255) +++ head/science/h5utils/files/patch-configure.ac (nonexistent) @@ -1,11 +0,0 @@ ---- 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 ___________________________________________________________________ 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/Makefile =================================================================== --- head/science/h5utils/Makefile (revision 465255) +++ head/science/h5utils/Makefile (revision 465256) @@ -1,28 +1,40 @@ # Created by: Klaus Aehlig # $FreeBSD$ PORTNAME= h5utils -PORTVERSION= 1.13 +DISTVERSION= 1.13.1 CATEGORIES= science MAINTAINER= aehlig@linta.de COMMENT= Set of utilities for visualization and conversion of HDF5 format LICENSE= MIT GPLv2 LICENSE_COMB= multi 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 \ +BUILD_DEPENDS= gawk:lang/gawk +LIB_DEPENDS= libhdf5.so:science/hdf5 \ libpng.so:graphics/png \ libmatheval.so:devel/libmatheval -USES= autoreconf +USES= autoreconf compiler:c++11-lang GNU_CONFIGURE= yes USE_GITHUB= yes GH_ACCOUNT= stevengj +CFLAGS+= -L${LOCALBASE}/lib -I${LOCALBASE}/include -lpthread +CXXFLAGS+= -std=c++11 + +OPTIONS_DEFINE= OCTAVE +OPTIONS_SUB= yes + +OCTAVE_DESC= With Octave support +OCTAVE_CONFIGURE_WITH= octave +OCTAVE_BUILD_DEPENDS= ${LOCALBASE}/include/octave-${OCTAVE_VERSION}/octave/octave.h:math/octave +OCTAVE_VARS= PLIST_SUB+="OCTAVE_VERSION=${OCTAVE_VERSION} CONFIGURE_TARGET=${CONFIGURE_TARGET}" + +post-install-OCTAVE-on: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/octave/${OCTAVE_VERSION}/site/oct/${CONFIGURE_TARGET}/h5read.oct + +.include "../../math/octave/Makefile.version" .include Index: head/science/h5utils/distinfo =================================================================== --- head/science/h5utils/distinfo (revision 465255) +++ head/science/h5utils/distinfo (revision 465256) @@ -1,3 +1,3 @@ -TIMESTAMP = 1500963131 -SHA256 (stevengj-h5utils-1.13_GH0.tar.gz) = 894849f6d107b224bb1694029ad7d469695b0a6f47b564fe16c40f3d20c0b452 -SIZE (stevengj-h5utils-1.13_GH0.tar.gz) = 113735 +TIMESTAMP = 1521616297 +SHA256 (stevengj-h5utils-1.13.1_GH0.tar.gz) = 698941b787dd367d273acf103ff08eb3abd61332d88a6a65055ba65428fa6124 +SIZE (stevengj-h5utils-1.13.1_GH0.tar.gz) = 113754 Index: head/science/h5utils/pkg-plist =================================================================== --- head/science/h5utils/pkg-plist (revision 465255) +++ head/science/h5utils/pkg-plist (revision 465256) @@ -1,36 +1,37 @@ bin/h5math bin/h5totxt bin/h5fromtxt bin/h5tovtk bin/h5topng +%%OCTAVE%%lib/octave/%%OCTAVE_VERSION%%/site/oct/%%CONFIGURE_TARGET%%/h5read.oct 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