aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-06-10 14:25:16 +0000
committerPo-Chuan Hsieh <sunpoet@FreeBSD.org>2021-06-10 14:45:55 +0000
commit104ac41d20ad865e39d4ad2b5a85815bf8f5626e (patch)
tree0f5020fb2dfbbb7edc09450db58bfce9586f3958
parentc7737d4b2e5d96b01ebc3034bdef1216456cd07d (diff)
downloadports-104ac41d20ad865e39d4ad2b5a85815bf8f5626e.tar.gz
ports-104ac41d20ad865e39d4ad2b5a85815bf8f5626e.zip
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
-rw-r--r--graphics/Makefile1
-rw-r--r--graphics/lerc/Makefile19
-rw-r--r--graphics/lerc/distinfo3
-rw-r--r--graphics/lerc/pkg-descr7
-rw-r--r--graphics/lerc/pkg-plist3
5 files changed, 33 insertions, 0 deletions
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@FreeBSD.org>
+
+PORTNAME= lerc
+PORTVERSION= 2.2.1
+DISTVERSIONPREFIX= v
+CATEGORIES= graphics
+
+MAINTAINER= sunpoet@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