diff options
author | girgen <girgen@FreeBSD.org> | 2017-09-27 03:13:49 +0800 |
---|---|---|
committer | girgen <girgen@FreeBSD.org> | 2017-09-27 03:13:49 +0800 |
commit | 5c5b2c9aeeb30c63efcf24d2e249d0b8dbff9bec (patch) | |
tree | 34541667dfb65c7108f2fd9b8f3e52a1969f712e /archivers/lazperf | |
parent | 2abbabded02361327749b7a8d27920517da771d5 (diff) | |
download | freebsd-ports-gnome-5c5b2c9aeeb30c63efcf24d2e249d0b8dbff9bec.tar.gz freebsd-ports-gnome-5c5b2c9aeeb30c63efcf24d2e249d0b8dbff9bec.tar.zst freebsd-ports-gnome-5c5b2c9aeeb30c63efcf24d2e249d0b8dbff9bec.zip |
Add lazperf to the ports tree
and reenable databases/pointcloud
PR: 221577
Diffstat (limited to 'archivers/lazperf')
-rw-r--r-- | archivers/lazperf/Makefile | 23 | ||||
-rw-r--r-- | archivers/lazperf/distinfo | 3 | ||||
-rw-r--r-- | archivers/lazperf/files/patch-laz-perf_portable__endian.hpp | 16 | ||||
-rw-r--r-- | archivers/lazperf/pkg-descr | 5 | ||||
-rw-r--r-- | archivers/lazperf/pkg-plist | 22 |
5 files changed, 69 insertions, 0 deletions
diff --git a/archivers/lazperf/Makefile b/archivers/lazperf/Makefile new file mode 100644 index 000000000000..6b095b21e1f5 --- /dev/null +++ b/archivers/lazperf/Makefile @@ -0,0 +1,23 @@ +# Created by: lbartoletti <lbartoletti@tuxfamily.org> +# $FreeBSD$ + +PORTNAME= lazperf +PORTVERSION= 1.1.0 +CATEGORIES= archivers databases geography + +MAINTAINER= lbartoletti@tuxfamily.org +COMMENT= Alternative LAZ implementation for C++ and JavaScript + +LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= cmake +CMAKE_ARGS+= -DWITH_TESTS:BOOL=FALSE + +USE_GITHUB= yes +GH_ACCOUNT= hobu +GH_PROJECT= laz-perf + +post-build: + ${RM} ${WRKSRC}/laz-perf/portable_endian.hpp.orig +.include <bsd.port.mk> diff --git a/archivers/lazperf/distinfo b/archivers/lazperf/distinfo new file mode 100644 index 000000000000..e3a9777bbad0 --- /dev/null +++ b/archivers/lazperf/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1502918669 +SHA256 (hobu-laz-perf-1.1.0_GH0.tar.gz) = 5413bb3e727d8b7155900f35b8f5e487eee418957d251fb3799d2cd3e17b2158 +SIZE (hobu-laz-perf-1.1.0_GH0.tar.gz) = 4025260 diff --git a/archivers/lazperf/files/patch-laz-perf_portable__endian.hpp b/archivers/lazperf/files/patch-laz-perf_portable__endian.hpp new file mode 100644 index 000000000000..ea9f7f4b8dac --- /dev/null +++ b/archivers/lazperf/files/patch-laz-perf_portable__endian.hpp @@ -0,0 +1,16 @@ +--- laz-perf/portable_endian.hpp.orig 2017-08-16 21:27:03 UTC ++++ laz-perf/portable_endian.hpp +@@ -41,11 +41,11 @@ + # define __PDP_ENDIAN PDP_ENDIAN + **/ + +-#elif defined(__OpenBSD__) || defined(EMSCRIPTEN_OPEN_BSD) ++#elif defined(__OpenBSD__) || defined(__FreeBSD__) || defined(EMSCRIPTEN_OPEN_BSD) + + # include <sys/endian.h> + +-#elif defined(__NetBSD__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(EMSCRIPTEN_BSD) ++#elif defined(__NetBSD__) || defined(__DragonFly__) || defined(EMSCRIPTEN_BSD) + + # include <sys/endian.h> + diff --git a/archivers/lazperf/pkg-descr b/archivers/lazperf/pkg-descr new file mode 100644 index 000000000000..0940f061f927 --- /dev/null +++ b/archivers/lazperf/pkg-descr @@ -0,0 +1,5 @@ +Alternative LAZ implementation. It supports compilation and usage in JavaScript, + usage in database contexts such as pgpointcloud and Oracle Point Cloud, and it +executes faster than the LASzip codebase. + +WWW: https://github.com/hobu/laz-perf diff --git a/archivers/lazperf/pkg-plist b/archivers/lazperf/pkg-plist new file mode 100644 index 000000000000..8cd7d56f2ef4 --- /dev/null +++ b/archivers/lazperf/pkg-plist @@ -0,0 +1,22 @@ +include/laz-perf/common/common.hpp +include/laz-perf/common/types.hpp +include/laz-perf/compressor.hpp +include/laz-perf/decoder.hpp +include/laz-perf/decompressor.hpp +include/laz-perf/detail/field_gpstime.hpp +include/laz-perf/detail/field_point10.hpp +include/laz-perf/detail/field_rgb.hpp +include/laz-perf/detail/field_xyz.hpp +include/laz-perf/encoder.hpp +include/laz-perf/excepts.hpp +include/laz-perf/factory.hpp +include/laz-perf/formats.hpp +include/laz-perf/io.hpp +include/laz-perf/las.hpp +include/laz-perf/main.cpp +include/laz-perf/model.hpp +include/laz-perf/portable_endian.hpp +include/laz-perf/streams.hpp +include/laz-perf/util.hpp +lib/cmake/lazperf/lazperf-config.cmake +lib/cmake/lazperf/lazperf-configVersion.cmake |