git: 104ac41d20ad - main - graphics/lerc: Add lerc 2.2.1
Po-Chuan Hsieh
sunpoet at FreeBSD.org
Thu Jun 10 14:47:04 UTC 2021
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=104ac41d20ad865e39d4ad2b5a85815bf8f5626e
commit 104ac41d20ad865e39d4ad2b5a85815bf8f5626e
Author: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
AuthorDate: 2021-06-10 14:25:16 +0000
Commit: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
CommitDate: 2021-06-10 14:45:55 +0000
graphics/lerc: Add lerc 2.2.1
LERC is an open-source image or raster format which supports rapid encoding and
decoding for any pixel type (not just RGB or Byte). Users set the maximum
compression error per pixel while encoding, so the precision of the original
input image is preserved (within user defined error bounds).
WWW: https://esri.github.io/lerc/
WWW: https://github.com/Esri/lerc
---
graphics/Makefile | 1 +
graphics/lerc/Makefile | 19 +++++++++++++++++++
graphics/lerc/distinfo | 3 +++
graphics/lerc/pkg-descr | 7 +++++++
graphics/lerc/pkg-plist | 3 +++
5 files changed, 33 insertions(+)
diff --git a/graphics/Makefile b/graphics/Makefile
index bc05bb2fe231..b26cb11a98a9 100644
--- a/graphics/Makefile
+++ b/graphics/Makefile
@@ -421,6 +421,7 @@
SUBDIR += lensfun
SUBDIR += lepton
SUBDIR += leptonica
+ SUBDIR += lerc
SUBDIR += lfview
SUBDIR += lib3ds
SUBDIR += libGLU
diff --git a/graphics/lerc/Makefile b/graphics/lerc/Makefile
new file mode 100644
index 000000000000..de2c319ba439
--- /dev/null
+++ b/graphics/lerc/Makefile
@@ -0,0 +1,19 @@
+# Created by: Po-Chuan Hsieh <sunpoet at FreeBSD.org>
+
+PORTNAME= lerc
+PORTVERSION= 2.2.1
+DISTVERSIONPREFIX= v
+CATEGORIES= graphics
+
+MAINTAINER= sunpoet at FreeBSD.org
+COMMENT= C++ library for Limited Error Raster Compression
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= cmake
+
+GH_ACCOUNT= Esri
+USE_GITHUB= yes
+
+.include <bsd.port.mk>
diff --git a/graphics/lerc/distinfo b/graphics/lerc/distinfo
new file mode 100644
index 000000000000..c703a76647cf
--- /dev/null
+++ b/graphics/lerc/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1622213910
+SHA256 (Esri-lerc-v2.2.1_GH0.tar.gz) = c1525c407db91e858f5870075c5f1566d2845863d39690eb4cff46ec7a7ad116
+SIZE (Esri-lerc-v2.2.1_GH0.tar.gz) = 4247961
diff --git a/graphics/lerc/pkg-descr b/graphics/lerc/pkg-descr
new file mode 100644
index 000000000000..cfa4516abe69
--- /dev/null
+++ b/graphics/lerc/pkg-descr
@@ -0,0 +1,7 @@
+LERC is an open-source image or raster format which supports rapid encoding and
+decoding for any pixel type (not just RGB or Byte). Users set the maximum
+compression error per pixel while encoding, so the precision of the original
+input image is preserved (within user defined error bounds).
+
+WWW: https://esri.github.io/lerc/
+WWW: https://github.com/Esri/lerc
diff --git a/graphics/lerc/pkg-plist b/graphics/lerc/pkg-plist
new file mode 100644
index 000000000000..3b868acc16b8
--- /dev/null
+++ b/graphics/lerc/pkg-plist
@@ -0,0 +1,3 @@
+include/Lerc_c_api.h
+include/Lerc_types.h
+lib/libLercLib.so
More information about the dev-commits-ports-all
mailing list