1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-30 10:38:37 +00:00

- Update to 1.1.0.

- Copy the previous port to devel/mdds0.
This commit is contained in:
Jung-uk Kim 2016-04-14 17:48:51 +00:00
parent 8c04196def
commit b49eb6f35e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=413308
21 changed files with 142 additions and 52 deletions

View File

@ -1481,6 +1481,7 @@
SUBDIR += maven33
SUBDIR += mcpp
SUBDIR += mdds
SUBDIR += mdds0
SUBDIR += memcheck
SUBDIR += menhir
SUBDIR += mercator

View File

@ -10,7 +10,7 @@ COMMENT= Standalone file import filter library for spreadsheet documents
LICENSE= MIT
BUILD_DEPENDS= ${LOCALBASE}/include/mdds/global.hpp:devel/mdds
BUILD_DEPENDS= ${LOCALBASE}/include/mdds/global.hpp:devel/mdds0
LIB_DEPENDS= libboost_system.so:devel/boost-libs
GNU_CONFIGURE= yes

View File

@ -11,7 +11,7 @@ COMMENT= Standalone file import filter library for spreadsheet documents
LICENSE= MIT
BUILD_DEPENDS= ${LOCALBASE}/include/mdds/global.hpp:devel/mdds
BUILD_DEPENDS= ${LOCALBASE}/include/mdds/global.hpp:devel/mdds0
LIB_DEPENDS= libboost_system.so:devel/boost-libs
BROKEN_sparc64= cannot link with boost

View File

@ -1,32 +1,36 @@
# $FreeBSD$
PORTNAME= mdds
PORTVERSION= 0.12.1
PORTREVISION= 1
PORTVERSION= 1.1.0
CATEGORIES= devel
MASTER_SITES= http://kohei.us/files/mdds/src/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= office@FreeBSD.org
COMMENT= Multi-dimensional data index algorithm
LICENSE= MIT
PROJECTHOST= multidimalgorithm
USES= tar:bzip2
NO_ARCH= yes
NO_BUILD= yes
API_VERSION= 1.0
PLIST_SUB= API_VERSION=${API_VERSION}
do-configure:
@${SED} -e 's|@prefix@|${PREFIX}|' \
-e 's|@includedir@|$${prefix}/include|' \
@${SED} -e 's|@API_VERSION@|${API_VERSION}|' \
-e 's|@VERSION@|${PORTVERSION}|' \
${WRKSRC}/misc/mdds.pc.in > ${WRKSRC}/misc/mdds.pc
-e 's|@includedir@|$${prefix}/include|' \
-e 's|@prefix@|${PREFIX}|' \
${WRKSRC}/misc/mdds.pc.in > \
${WRKSRC}/misc/mdds-${API_VERSION}.pc
do-install:
cd ${WRKSRC} && ${COPYTREE_SHARE} include ${STAGEDIR}${PREFIX}
${INSTALL_DATA} ${WRKSRC}/misc/mdds.pc \
${MKDIR} ${STAGEDIR}${PREFIX}/include/mdds-${API_VERSION}/mdds
(cd ${WRKSRC}/include && ${COPYTREE_SHARE} . \
${STAGEDIR}${PREFIX}/include/mdds-${API_VERSION} \
"-not -name *.orig")
${INSTALL_DATA} ${WRKSRC}/misc/mdds-${API_VERSION}.pc \
${STAGEDIR}${PREFIX}/libdata/pkgconfig
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (mdds_0.12.1.tar.bz2) = 23565e9d7810a6ac30478833813db847f80e927b414a7be07b7cc03ed3aae83d
SIZE (mdds_0.12.1.tar.bz2) = 153265
SHA256 (mdds-1.1.0.tar.bz2) = 4253ab93fe8bb579321a50e247f1f800191ab99fe2d8c6c181741b8bd3fb161f
SIZE (mdds-1.1.0.tar.bz2) = 258691

View File

@ -0,0 +1,10 @@
--- include/mdds/multi_type_vector_def.inl.orig 2016-01-29 00:31:44 UTC
+++ include/mdds/multi_type_vector_def.inl
@@ -1936,7 +1936,6 @@ multi_type_vector<_CellBlockFunc, _Event
else
{
// Just move the whole block over.
- block* blk = m_blocks[block_index2];
dest.m_blocks[dest_block_pos] = blk;
if (blk->mp_data)
{

View File

@ -0,0 +1,11 @@
--- include/mdds/sorted_string_map_def.inl.orig 2015-12-22 00:33:47 UTC
+++ include/mdds/sorted_string_map_def.inl
@@ -65,7 +65,7 @@ sorted_string_map<_ValueT>::sorted_strin
m_entry_end(m_entries+m_entry_size)
{
#ifdef _GLIBCXX_DEBUG
- assert(std::is_sorted(m_entries, m_entry_end, compare<_ValueT>));
+ assert(std::is_sorted(m_entries, m_entry_end, detail::compare<_ValueT>));
#endif
}

View File

@ -1,35 +1,28 @@
include/mdds/compat/unique_ptr.hpp
include/mdds/default_deleter.hpp
include/mdds/flat_segment_tree.hpp
include/mdds/flat_segment_tree_def.inl
include/mdds/flat_segment_tree_itr.hpp
include/mdds/global.hpp
include/mdds/hash_container/map.hpp
include/mdds/mixed_type_matrix.hpp
include/mdds/mixed_type_matrix_def.inl
include/mdds/mixed_type_matrix_element.hpp
include/mdds/mixed_type_matrix_flag_storage.hpp
include/mdds/mixed_type_matrix_storage.hpp
include/mdds/mixed_type_matrix_storage_filled_linear.inl
include/mdds/mixed_type_matrix_storage_sparse.inl
include/mdds/multi_type_matrix.hpp
include/mdds/multi_type_matrix_def.inl
include/mdds/multi_type_vector.hpp
include/mdds/multi_type_vector_custom_func1.hpp
include/mdds/multi_type_vector_custom_func2.hpp
include/mdds/multi_type_vector_custom_func3.hpp
include/mdds/multi_type_vector_def.inl
include/mdds/multi_type_vector_itr.hpp
include/mdds/multi_type_vector_macro.hpp
include/mdds/multi_type_vector_trait.hpp
include/mdds/multi_type_vector_types.hpp
include/mdds/node.hpp
include/mdds/point_quad_tree.hpp
include/mdds/quad_node.hpp
include/mdds/rectangle_set.hpp
include/mdds/rectangle_set_def.inl
include/mdds/segment_tree.hpp
include/mdds/segment_tree_def.inl
include/mdds/sorted_string_map.hpp
include/mdds/sorted_string_map_def.inl
libdata/pkgconfig/mdds.pc
include/mdds-%%API_VERSION%%/mdds/default_deleter.hpp
include/mdds-%%API_VERSION%%/mdds/flat_segment_tree.hpp
include/mdds-%%API_VERSION%%/mdds/flat_segment_tree_def.inl
include/mdds-%%API_VERSION%%/mdds/flat_segment_tree_itr.hpp
include/mdds-%%API_VERSION%%/mdds/global.hpp
include/mdds-%%API_VERSION%%/mdds/multi_type_matrix.hpp
include/mdds-%%API_VERSION%%/mdds/multi_type_matrix_def.inl
include/mdds-%%API_VERSION%%/mdds/multi_type_vector.hpp
include/mdds-%%API_VERSION%%/mdds/multi_type_vector_custom_func1.hpp
include/mdds-%%API_VERSION%%/mdds/multi_type_vector_custom_func2.hpp
include/mdds-%%API_VERSION%%/mdds/multi_type_vector_custom_func3.hpp
include/mdds-%%API_VERSION%%/mdds/multi_type_vector_def.inl
include/mdds-%%API_VERSION%%/mdds/multi_type_vector_itr.hpp
include/mdds-%%API_VERSION%%/mdds/multi_type_vector_macro.hpp
include/mdds-%%API_VERSION%%/mdds/multi_type_vector_trait.hpp
include/mdds-%%API_VERSION%%/mdds/multi_type_vector_types.hpp
include/mdds-%%API_VERSION%%/mdds/node.hpp
include/mdds-%%API_VERSION%%/mdds/point_quad_tree.hpp
include/mdds-%%API_VERSION%%/mdds/quad_node.hpp
include/mdds-%%API_VERSION%%/mdds/rectangle_set.hpp
include/mdds-%%API_VERSION%%/mdds/rectangle_set_def.inl
include/mdds-%%API_VERSION%%/mdds/segment_tree.hpp
include/mdds-%%API_VERSION%%/mdds/segment_tree_def.inl
include/mdds-%%API_VERSION%%/mdds/sorted_string_map.hpp
include/mdds-%%API_VERSION%%/mdds/sorted_string_map_def.inl
include/mdds-%%API_VERSION%%/mdds/trie_map.hpp
include/mdds-%%API_VERSION%%/mdds/trie_map_def.inl
libdata/pkgconfig/mdds-%%API_VERSION%%.pc

30
devel/mdds0/Makefile Normal file
View File

@ -0,0 +1,30 @@
# $FreeBSD$
PORTNAME= mdds
PORTVERSION= 0.12.1
CATEGORIES= devel
MASTER_SITES= http://kohei.us/files/mdds/src/
PKGNAMESUFFIX= 0
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= office@FreeBSD.org
COMMENT= Multi-dimensional data index algorithm
LICENSE= MIT
USES= tar:bzip2
NO_ARCH= yes
NO_BUILD= yes
do-configure:
@${SED} -e 's|@prefix@|${PREFIX}|' \
-e 's|@includedir@|$${prefix}/include|' \
-e 's|@VERSION@|${PORTVERSION}|' \
${WRKSRC}/misc/mdds.pc.in > ${WRKSRC}/misc/mdds.pc
do-install:
cd ${WRKSRC} && ${COPYTREE_SHARE} include ${STAGEDIR}${PREFIX}
${INSTALL_DATA} ${WRKSRC}/misc/mdds.pc \
${STAGEDIR}${PREFIX}/libdata/pkgconfig
.include <bsd.port.mk>

2
devel/mdds0/distinfo Normal file
View File

@ -0,0 +1,2 @@
SHA256 (mdds_0.12.1.tar.bz2) = 23565e9d7810a6ac30478833813db847f80e927b414a7be07b7cc03ed3aae83d
SIZE (mdds_0.12.1.tar.bz2) = 153265

4
devel/mdds0/pkg-descr Normal file
View File

@ -0,0 +1,4 @@
Multi-Dimensional Data Structure (mdds) is a collection of multi-dimensional
data structure and indexing algorithm.
WWW: https://gitlab.com/mdds/mdds

35
devel/mdds0/pkg-plist Normal file
View File

@ -0,0 +1,35 @@
include/mdds/compat/unique_ptr.hpp
include/mdds/default_deleter.hpp
include/mdds/flat_segment_tree.hpp
include/mdds/flat_segment_tree_def.inl
include/mdds/flat_segment_tree_itr.hpp
include/mdds/global.hpp
include/mdds/hash_container/map.hpp
include/mdds/mixed_type_matrix.hpp
include/mdds/mixed_type_matrix_def.inl
include/mdds/mixed_type_matrix_element.hpp
include/mdds/mixed_type_matrix_flag_storage.hpp
include/mdds/mixed_type_matrix_storage.hpp
include/mdds/mixed_type_matrix_storage_filled_linear.inl
include/mdds/mixed_type_matrix_storage_sparse.inl
include/mdds/multi_type_matrix.hpp
include/mdds/multi_type_matrix_def.inl
include/mdds/multi_type_vector.hpp
include/mdds/multi_type_vector_custom_func1.hpp
include/mdds/multi_type_vector_custom_func2.hpp
include/mdds/multi_type_vector_custom_func3.hpp
include/mdds/multi_type_vector_def.inl
include/mdds/multi_type_vector_itr.hpp
include/mdds/multi_type_vector_macro.hpp
include/mdds/multi_type_vector_trait.hpp
include/mdds/multi_type_vector_types.hpp
include/mdds/node.hpp
include/mdds/point_quad_tree.hpp
include/mdds/quad_node.hpp
include/mdds/rectangle_set.hpp
include/mdds/rectangle_set_def.inl
include/mdds/segment_tree.hpp
include/mdds/segment_tree_def.inl
include/mdds/sorted_string_map.hpp
include/mdds/sorted_string_map_def.inl
libdata/pkgconfig/mdds.pc

View File

@ -19,7 +19,7 @@ BUILD_DEPENDS= p5-Archive-Zip>=0:archivers/p5-Archive-Zip \
cppunit-config:devel/cppunit \
dmake:devel/dmake \
${LOCALBASE}/bin/gperf:devel/gperf \
mdds>=0.9.0:devel/mdds \
${LOCALBASE}/include/mdds/global.hpp:devel/mdds0 \
gpatch:devel/patch \
ucpp:devel/ucpp \
${LOCALBASE}/include/sane/sane.h:graphics/sane-backends \

View File

@ -25,7 +25,7 @@ BUILD_DEPENDS= p5-Archive-Zip>=0:archivers/p5-Archive-Zip \
cppunit-config:devel/cppunit \
dmake:devel/dmake \
${LOCALBASE}/bin/gperf:devel/gperf \
mdds>=0.9.0:devel/mdds \
${LOCALBASE}/include/mdds/global.hpp:devel/mdds0 \
gpatch:devel/patch \
ucpp:devel/ucpp \
vigra-config:graphics/vigra \

View File

@ -14,7 +14,7 @@ COMMENT= Library to interpret and import Apple Keynote presentations
LICENSE= LGPL21 MPL
LICENSE_COMB= dual
BUILD_DEPENDS= mdds>=0.12.1_1:devel/mdds \
BUILD_DEPENDS= ${LOCALBASE}/include/mdds/global.hpp:devel/mdds0 \
${LOCALBASE}/include/glm/glm.hpp:math/glm
LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \
librevenge-0.0.so:textproc/librevenge \