From owner-svn-ports-all@freebsd.org Wed Dec 19 02:19:40 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 2660813478C9; Wed, 19 Dec 2018 02:19:40 +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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BB9F7930D4; Wed, 19 Dec 2018 02:19:39 +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 A94757C01; Wed, 19 Dec 2018 02:19:39 +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 wBJ2Jd8i021949; Wed, 19 Dec 2018 02:19:39 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wBJ2Jc38021941; Wed, 19 Dec 2018 02:19:38 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201812190219.wBJ2Jc38021941@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Wed, 19 Dec 2018 02:19:38 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r487783 - in head/science: . h5z-zfp h5z-zfp/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/science: . h5z-zfp h5z-zfp/files X-SVN-Commit-Revision: 487783 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: BB9F7930D4 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.98)[-0.977,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-0.998,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 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: Wed, 19 Dec 2018 02:19:40 -0000 Author: yuri Date: Wed Dec 19 02:19:38 2018 New Revision: 487783 URL: https://svnweb.freebsd.org/changeset/ports/487783 Log: New port: science/h5z-zfp: Registered ZFP compression plugin for HDF5 Added: head/science/h5z-zfp/ head/science/h5z-zfp/Makefile (contents, props changed) head/science/h5z-zfp/distinfo (contents, props changed) head/science/h5z-zfp/files/ head/science/h5z-zfp/files/patch-src_Makefile (contents, props changed) head/science/h5z-zfp/pkg-descr (contents, props changed) Modified: head/science/Makefile Modified: head/science/Makefile ============================================================================== --- head/science/Makefile Wed Dec 19 01:56:08 2018 (r487782) +++ head/science/Makefile Wed Dec 19 02:19:38 2018 (r487783) @@ -95,6 +95,7 @@ SUBDIR += gtamsanalyzer SUBDIR += gwyddion SUBDIR += h5utils + SUBDIR += h5z-zfp SUBDIR += harminv SUBDIR += hdf SUBDIR += hdf5 Added: head/science/h5z-zfp/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/h5z-zfp/Makefile Wed Dec 19 02:19:38 2018 (r487783) @@ -0,0 +1,38 @@ +# $FreeBSD$ + +PORTNAME= h5z-zfp +DISTVERSIONPREFIX= v +DISTVERSION= 0.9.0 +CATEGORIES= science + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Registered ZFP compression plugin for HDF5 + +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= bash:shells/bash +LIB_DEPENDS= libhdf5.so:science/hdf5 \ + libzfp.so:devel/zfp + +USES= gmake localbase +USE_GITHUB= yes +GH_ACCOUNT= LLNL +GH_PROJECT= ${PORTNAME:tu} +USE_LDCONFIG= yes + +MAKE_ARGS= SHELL=${LOCALBASE}/bin/bash \ + HDF5_HOME=${STAGEDIR}${LOCALBASE} HDF5_LIB=${LOCALBASE}/lib \ + ZFP_HOME=${STAGEDIR}${LOCALBASE} ZFP_LIB=${LOCALBASE}/lib \ + PREPATH=-Wl,-rpath= SOEXT=so SHFLAG=-shared + +CFLAGS+= -fPIC + +PLIST_FILES= include/H5Zzfp.h \ + include/H5Zzfp_lib.h \ + include/H5Zzfp_plugin.h \ + include/H5Zzfp_props.h \ + lib/libh5zzfp.so \ + plugin/libh5zzfp.so + +.include Added: head/science/h5z-zfp/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/h5z-zfp/distinfo Wed Dec 19 02:19:38 2018 (r487783) @@ -0,0 +1,3 @@ +TIMESTAMP = 1545184047 +SHA256 (LLNL-H5Z-ZFP-v0.9.0_GH0.tar.gz) = 91d566e2d0175c929f114ce100151478450cfedee2d15fc99eb61fd931d9f389 +SIZE (LLNL-H5Z-ZFP-v0.9.0_GH0.tar.gz) = 123091 Added: head/science/h5z-zfp/files/patch-src_Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/h5z-zfp/files/patch-src_Makefile Wed Dec 19 02:19:38 2018 (r487783) @@ -0,0 +1,49 @@ +--- src/Makefile.orig 2018-04-06 16:34:55 UTC ++++ src/Makefile +@@ -30,33 +30,33 @@ H5Zzfp_props_f.o H5Zzfp_props_f.mod: H5Z + $(FC) -c $< -o $@ $(FCFLAGS) -I$(H5Z_ZFP_BASE) -I$(ZFP_INC) -I$(HDF5_INC) + + # The filter member of the filter library +-libh5zzfp.a(H5Zzfp_lib.o): H5Zzfp_lib.o +- $(AR) cr libh5zzfp.a $< ++libh5zzfp-s.$(SOEXT)(H5Zzfp_lib.o): H5Zzfp_lib.o ++ $(CC) -shared -o libh5zzfp-s.$(SOEXT) $< + + # The C properties interface member of the filter library +-libh5zzfp.a(H5Zzfp_props.o): H5Zzfp_props.o +- $(AR) cr libh5zzfp.a $< ++libh5zzfp-s.$(SOEXT)(H5Zzfp_props.o): H5Zzfp_props.o ++ $(CC) -shared -o libh5zzfp-s.$(SOEXT) $< + + # The Fortran properties interface member of the filter library +-libh5zzfp.a(H5Zzfp_props_f.o): H5Zzfp_props_f.o +- $(AR) cr libh5zzfp.a $< ++libh5zzfp-s.$(SOEXT)(H5Zzfp_props_f.o): H5Zzfp_props_f.o ++ $(CC) -shared -o libh5zzfp-s.$(SOEXT) $< + + # Alias target for filter library, conditionally includes Fortran +-LIBOBJ = libh5zzfp.a(H5Zzfp_lib.o) libh5zzfp.a(H5Zzfp_props.o) ++LIBOBJ = libh5zzfp-s.$(SOEXT)(H5Zzfp_lib.o) libh5zzfp-s.$(SOEXT)(H5Zzfp_props.o) + ifneq ($(FC),) +-LIBOBJ += libh5zzfp.a(H5Zzfp_props_f.o) ++LIBOBJ += libh5zzfp-s.$(SOEXT)(H5Zzfp_props_f.o) + endif + lib: $(LIBOBJ) + + all: lib plugin + + install: all +- $(INSTALL) -d $(PREFIX)/{plugin,include,lib} +- $(INSTALL) plugin/libh5zzfp.$(SOEXT) $(PREFIX)/plugin +- $(INSTALL) libh5zzfp.a $(PREFIX)/lib +- $(INSTALL) -m 644 H5Zzfp.h H5Zzfp_lib.h H5Zzfp_plugin.h H5Zzfp_props.h $(PREFIX)/include ++ $(INSTALL) -d $(DESTDIR)$(PREFIX)/{plugin,include,lib} ++ $(INSTALL) plugin/libh5zzfp.$(SOEXT) $(DESTDIR)$(PREFIX)/plugin ++ $(INSTALL) libh5zzfp-s.$(SOEXT) $(DESTDIR)$(PREFIX)/lib/libh5zzfp.so ++ $(INSTALL) -m 644 H5Zzfp.h H5Zzfp_lib.h H5Zzfp_plugin.h H5Zzfp_props.h $(DESTDIR)$(PREFIX)/include + ifneq ($(FC),) +- $(INSTALL) -m 644 *.[mM][oO][dD] $(PREFIX)/include ++ $(INSTALL) -m 644 *.[mM][oO][dD] $(DESTDIR)$(PREFIX)/include + endif + + clean: Added: head/science/h5z-zfp/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/science/h5z-zfp/pkg-descr Wed Dec 19 02:19:38 2018 (r487783) @@ -0,0 +1,10 @@ +H5Z-ZFP is a compression filter for HDF5 using the ZFP compression library, +supporting lossy compression of floating point and integer data to meet bitrate, +accuracy, and/or precision targets. The filter uses the registered HDF5 filter +ID, 32013. It supports single and double precision floating point and integer +data chunked in 1, 2 or 3 dimensions. The filter will function on datasets of +more than 3 dimensions, albiet at the probable expense of compression +performance, as long as the chunking is such that no more than 3 dimensions of a +chunk are non-unity. + +WWW: https://h5z-zfp.readthedocs.io/en/latest/