freebsd-ports/science/szip/Makefile
Sunpoet Po-Chuan Hsieh f94c424839 Add libaec 1.0.0
Libaec provides fast lossless compression of 1 up to 32 bit wide signed or
unsigned integers (samples). The library achieves best results for low entropy
data as often encountered in space imaging instrument data or numerical model
output from weather or climate simulations. While floating point representations
are not directly supported, they can also be efficiently coded by grouping
exponents and mantissa.

Libaec implements Golomb-Rice coding as defined in the Space Data System
Standard documents 121.0-B-2 and 120.0-G-2.

Libaec includes a free drop-in replacement for the SZIP library. Just replace
SZIP's shared library libsz.so* with libaec.so* and libsz.so* from libaec. Code
which is dynamically linked with SZIP such as HDF5 should continue to work with
libaec. No re-compilation required. HDF5 files which contain SZIP encoded data
can be decoded by HDF5 using libaec and vice versa.

WWW: https://gitlab.dkrz.de/k202009/libaec
2017-01-01 01:47:21 +00:00

36 lines
834 B
Makefile

# Created by: glewis
# $FreeBSD$
PORTNAME= szip
PORTVERSION= 2.1
PORTREVISION= 2
CATEGORIES= science archivers
MASTER_SITES= http://www.hdfgroup.org/ftp/lib-external/${PORTNAME}/${PORTVERSION}/src/:src \
http://www.hdfgroup.org/doc_resource/SZIP/:doc \
LOCAL/sunpoet:src,doc
PKGNAMEPREFIX= hdf-
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:src \
${PORTDOCS}:doc
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= Lossless compression library for scientific data
CONFLICTS_INSTALL= libaec-
OPTIONS_DEFINE= DOCS
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
LIBS+= -lm
TEST_TARGET= check
USE_LDCONFIG= yes
USES= libtool
PORTDOCS= Release_notes_2_0.pdf
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${DISTDIR}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}/
.include <bsd.port.mk>