svn commit: r465256 - in head/science/h5utils: . files
Yuri Victorovich
yuri at FreeBSD.org
Thu Mar 22 04:45:39 UTC 2018
Author: yuri
Date: Thu Mar 22 04:45:38 2018
New Revision: 465256
URL: https://svnweb.freebsd.org/changeset/ports/465256
Log:
science/h5utils: Update to 1.13.1
Port changes:
* Change to DISTVERSION
* Add USES=compiler:c++11-lang and CXXFLAGS+=-std=c++11
* Remove duplicate GNU_CONFIGURE and unnecessary +=
* Add the option OCTAVE for Octave integration
PR: 226815
Submitted by: Klaus Aehlig <aehlig at linta.de> (maintainer) - sumbitted w/out the OCTAVE option
Deleted:
head/science/h5utils/files/
Modified:
head/science/h5utils/Makefile
head/science/h5utils/distinfo
head/science/h5utils/pkg-plist
Modified: head/science/h5utils/Makefile
==============================================================================
--- head/science/h5utils/Makefile Thu Mar 22 03:10:21 2018 (r465255)
+++ head/science/h5utils/Makefile Thu Mar 22 04:45:38 2018 (r465256)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= h5utils
-PORTVERSION= 1.13
+DISTVERSION= 1.13.1
CATEGORIES= science
MAINTAINER= aehlig at linta.de
@@ -12,17 +12,29 @@ 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 <bsd.port.mk>
Modified: head/science/h5utils/distinfo
==============================================================================
--- head/science/h5utils/distinfo Thu Mar 22 03:10:21 2018 (r465255)
+++ head/science/h5utils/distinfo Thu Mar 22 04:45:38 2018 (r465256)
@@ -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
Modified: head/science/h5utils/pkg-plist
==============================================================================
--- head/science/h5utils/pkg-plist Thu Mar 22 03:10:21 2018 (r465255)
+++ head/science/h5utils/pkg-plist Thu Mar 22 04:45:38 2018 (r465256)
@@ -3,6 +3,7 @@ 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
More information about the svn-ports-all
mailing list