git: c71320f07dfa - main - devel/sdsl-lite: New port: Succinct Data Structure Library 2.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 21 Jul 2023 20:35:34 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=c71320f07dfa9891e43628dd00bb598bdb98e9d0 commit c71320f07dfa9891e43628dd00bb598bdb98e9d0 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2023-07-21 20:34:58 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2023-07-21 20:35:31 +0000 devel/sdsl-lite: New port: Succinct Data Structure Library 2.0 --- devel/Makefile | 1 + devel/sdsl-lite/Makefile | 34 +++++++++++++ devel/sdsl-lite/distinfo | 7 +++ devel/sdsl-lite/pkg-descr | 8 +++ devel/sdsl-lite/pkg-plist | 123 ++++++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 173 insertions(+) diff --git a/devel/Makefile b/devel/Makefile index 8db949a1dd8e..6be11230feb0 100644 --- a/devel/Makefile +++ b/devel/Makefile @@ -7524,6 +7524,7 @@ SUBDIR += sdl_console SUBDIR += sdlmm SUBDIR += sdlskk + SUBDIR += sdsl-lite SUBDIR += sdts++ SUBDIR += sedsed SUBDIR += selene diff --git a/devel/sdsl-lite/Makefile b/devel/sdsl-lite/Makefile new file mode 100644 index 000000000000..80af8244ff45 --- /dev/null +++ b/devel/sdsl-lite/Makefile @@ -0,0 +1,34 @@ +PORTNAME= sdsl-lite +DISTVERSIONPREFIX= v +DISTVERSION= 2.1.1-137 +DISTVERSIONSUFFIX= -gc32874c +CATEGORIES= devel + +MAINTAINER= yuri@FreeBSD.org +COMMENT= Succinct Data Structure Library 2.0 +WWW= https://github.com/simongog/sdsl-lite + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/COPYING + +USES= cmake:testing compiler:c++11-lang +USE_LDCONFIG= yes + +USE_GITHUB= yes +GH_ACCOUNT= simongog +GH_TUPLE= simongog:libdivsufsort:0f24acd:libdivsufsort/external/libdivsufsort \ + google:googletest:c2d90bd:googletest/external/googletest + +CMAKE_ON= BUILD_SHARED_LIBS + +CONFLICTS_INSTALL= libdivsufsort + +post-install: # remove bundled gtest, see https://github.com/simongog/sdsl-lite/issues/458 + ${RM} -r \ + ${STAGEDIR}${PREFIX}/include/gtest \ + ${STAGEDIR}${PREFIX}/lib/libgtest* + +# * uses bundled (too old) divsufsort not compatible with math/libdivsufsort, see https://github.com/simongog/sdsl-lite/issues/457 +# * unclear how to run tests, see https://github.com/simongog/sdsl-lite/issues/459 + +.include <bsd.port.mk> diff --git a/devel/sdsl-lite/distinfo b/devel/sdsl-lite/distinfo new file mode 100644 index 000000000000..14007db745a0 --- /dev/null +++ b/devel/sdsl-lite/distinfo @@ -0,0 +1,7 @@ +TIMESTAMP = 1689969070 +SHA256 (simongog-sdsl-lite-v2.1.1-137-gc32874c_GH0.tar.gz) = 3554d08faf7375833ec05b8e44b6837550acace9a995734aacca3f4cb0b3732e +SIZE (simongog-sdsl-lite-v2.1.1-137-gc32874c_GH0.tar.gz) = 646011 +SHA256 (simongog-libdivsufsort-0f24acd_GH0.tar.gz) = 10f76dba7a59111404511ff313b23098950f5b2eef69e3f249e63c59cca09d3e +SIZE (simongog-libdivsufsort-0f24acd_GH0.tar.gz) = 25952 +SHA256 (google-googletest-c2d90bd_GH0.tar.gz) = 014bf6c1c899344efb5bfe458326a459e04e3e2347f20eb9156af36bbade0829 +SIZE (google-googletest-c2d90bd_GH0.tar.gz) = 1284614 diff --git a/devel/sdsl-lite/pkg-descr b/devel/sdsl-lite/pkg-descr new file mode 100644 index 000000000000..d03df2caeec2 --- /dev/null +++ b/devel/sdsl-lite/pkg-descr @@ -0,0 +1,8 @@ +The Succinct Data Structure Library (SDSL) is a powerful and flexible C++11 +library implementing succinct data structures. In total, the library contains +the highlights of 40 research publications. Succinct data structures can +represent an object (such as a bitvector or a tree) in space close to the +information-theoretic lower bound of the object while supporting operations of +the original object efficiently. The theoretical time complexity of an operation +performed on the classical data structure and the equivalent succinct data +structure are (most of the time) identical. diff --git a/devel/sdsl-lite/pkg-plist b/devel/sdsl-lite/pkg-plist new file mode 100644 index 000000000000..becee623b563 --- /dev/null +++ b/devel/sdsl-lite/pkg-plist @@ -0,0 +1,123 @@ +include/divsufsort.h +include/divsufsort64.h +include/sdsl/bit_vector_il.hpp +include/sdsl/bit_vectors.hpp +include/sdsl/bits.hpp +include/sdsl/bp_support.hpp +include/sdsl/bp_support_algorithm.hpp +include/sdsl/bp_support_g.hpp +include/sdsl/bp_support_gg.hpp +include/sdsl/bp_support_sada.hpp +include/sdsl/coder.hpp +include/sdsl/coder_comma.hpp +include/sdsl/coder_elias_delta.hpp +include/sdsl/coder_elias_gamma.hpp +include/sdsl/coder_fibonacci.hpp +include/sdsl/config.hpp +include/sdsl/construct.hpp +include/sdsl/construct_bwt.hpp +include/sdsl/construct_config.hpp +include/sdsl/construct_isa.hpp +include/sdsl/construct_lcp.hpp +include/sdsl/construct_lcp_helper.hpp +include/sdsl/construct_sa.hpp +include/sdsl/construct_sa_se.hpp +include/sdsl/csa_alphabet_strategy.hpp +include/sdsl/csa_bitcompressed.hpp +include/sdsl/csa_sada.hpp +include/sdsl/csa_sampling_strategy.hpp +include/sdsl/csa_wt.hpp +include/sdsl/cst_fully.hpp +include/sdsl/cst_iterators.hpp +include/sdsl/cst_sada.hpp +include/sdsl/cst_sct3.hpp +include/sdsl/dac_vector.hpp +include/sdsl/enc_vector.hpp +include/sdsl/fast_cache.hpp +include/sdsl/hyb_vector.hpp +include/sdsl/int_vector.hpp +include/sdsl/int_vector_buffer.hpp +include/sdsl/int_vector_io_wrappers.hpp +include/sdsl/int_vector_mapper.hpp +include/sdsl/inv_perm_support.hpp +include/sdsl/io.hpp +include/sdsl/iterators.hpp +include/sdsl/k2_treap.hpp +include/sdsl/k2_treap_algorithm.hpp +include/sdsl/k2_treap_helper.hpp +include/sdsl/k2_tree.hpp +include/sdsl/k2_tree_helper.hpp +include/sdsl/lcp.hpp +include/sdsl/lcp_bitcompressed.hpp +include/sdsl/lcp_byte.hpp +include/sdsl/lcp_dac.hpp +include/sdsl/lcp_support_sada.hpp +include/sdsl/lcp_support_tree.hpp +include/sdsl/lcp_support_tree2.hpp +include/sdsl/lcp_vlc.hpp +include/sdsl/lcp_wt.hpp +include/sdsl/louds_tree.hpp +include/sdsl/memory_management.hpp +include/sdsl/nearest_neighbour_dictionary.hpp +include/sdsl/nn_dict_dynamic.hpp +include/sdsl/qsufsort.hpp +include/sdsl/ram_filebuf.hpp +include/sdsl/ram_fs.hpp +include/sdsl/rank_support.hpp +include/sdsl/rank_support_scan.hpp +include/sdsl/rank_support_v.hpp +include/sdsl/rank_support_v5.hpp +include/sdsl/raster_img.hpp +include/sdsl/rmq_succinct_sada.hpp +include/sdsl/rmq_succinct_sct.hpp +include/sdsl/rmq_support.hpp +include/sdsl/rmq_support_sparse_table.hpp +include/sdsl/rrr_helper.hpp +include/sdsl/rrr_vector.hpp +include/sdsl/rrr_vector_15.hpp +include/sdsl/sd_vector.hpp +include/sdsl/sdsl_concepts.hpp +include/sdsl/select_support.hpp +include/sdsl/select_support_mcl.hpp +include/sdsl/select_support_scan.hpp +include/sdsl/sfstream.hpp +include/sdsl/sorted_int_stack.hpp +include/sdsl/sorted_multi_stack_support.hpp +include/sdsl/sorted_stack_support.hpp +include/sdsl/structure_tree.hpp +include/sdsl/suffix_array_algorithm.hpp +include/sdsl/suffix_array_helper.hpp +include/sdsl/suffix_arrays.hpp +include/sdsl/suffix_tree_algorithm.hpp +include/sdsl/suffix_tree_helper.hpp +include/sdsl/suffix_trees.hpp +include/sdsl/uint128_t.hpp +include/sdsl/uint256_t.hpp +include/sdsl/uintx_t.hpp +include/sdsl/util.hpp +include/sdsl/vectors.hpp +include/sdsl/vlc_vector.hpp +include/sdsl/wavelet_trees.hpp +include/sdsl/wm_int.hpp +include/sdsl/wt_algorithm.hpp +include/sdsl/wt_ap.hpp +include/sdsl/wt_blcd.hpp +include/sdsl/wt_gmr.hpp +include/sdsl/wt_helper.hpp +include/sdsl/wt_huff.hpp +include/sdsl/wt_hutu.hpp +include/sdsl/wt_int.hpp +include/sdsl/wt_pc.hpp +include/sdsl/wt_rlmn.hpp +lib/libdivsufsort.so +lib/libdivsufsort.so.3 +lib/libdivsufsort.so.3.0.1 +lib/libdivsufsort64.so +lib/libdivsufsort64.so.3 +lib/libdivsufsort64.so.3.0.1 +lib/libsdsl.so +lib/libsdsl.so.2.1.0 +lib/libsdsl.so.3 +libdata/pkgconfig/libdivsufsort.pc +libdata/pkgconfig/libdivsufsort64.pc +libdata/pkgconfig/sdsl-lite.pc