From owner-svn-ports-all@freebsd.org Thu Mar 22 04:45:39 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 27DF5F67AD0; Thu, 22 Mar 2018 04:45:39 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id CE7527DD0D; Thu, 22 Mar 2018 04:45:38 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id C96724DA0; Thu, 22 Mar 2018 04:45:38 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2M4jcwx021420; Thu, 22 Mar 2018 04:45:38 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2M4jcgp021417; Thu, 22 Mar 2018 04:45:38 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201803220445.w2M4jcgp021417@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Thu, 22 Mar 2018 04:45:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465256 - in head/science/h5utils: . files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/science/h5utils: . files X-SVN-Commit-Revision: 465256 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Mar 2018 04:45:39 -0000 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 (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@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 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