mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
47 lines
1.6 KiB
Tcl
47 lines
1.6 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
|
|
PortGroup cmake 1.1
|
|
PortGroup github 1.0
|
|
PortGroup legacysupport 1.1
|
|
|
|
# strndup
|
|
legacysupport.newest_darwin_requires_legacy 10
|
|
compiler.cxx_standard 2011
|
|
|
|
github.setup nislab gensync-lib 2.1.0 v
|
|
# Change github.tarball_from to 'releases' or 'archive' next update
|
|
github.tarball_from tarball
|
|
revision 0
|
|
|
|
name gensync
|
|
categories net devel
|
|
license GPL-3
|
|
maintainers {@trachten bu.edu:trachten} openmaintainer
|
|
|
|
description Gensync: a library for efficient synchronization of data over a network
|
|
long_description Gensync is a library that uses many different syncing \
|
|
algorithms to sync data between two nodes in a network. \
|
|
These algorithms include IBLTs, CPISyncs, HashSyncs, Cuckoo Syncs, and more.
|
|
|
|
set includedir ${prefix}
|
|
|
|
fetch.type git
|
|
|
|
post-fetch {
|
|
system -W ${worksrcpath} "git submodule update --init --recursive"
|
|
}
|
|
|
|
depends_lib port:ntl
|
|
|
|
post-destroot {
|
|
system "mkdir ${destroot}${prefix}/share/doc/${name}"
|
|
xinstall -m 0644 ${worksrcpath}/README.md \
|
|
${destroot}${prefix}/share/doc/${name}
|
|
xinstall -m 0644 ${worksrcpath}/LICENSE \
|
|
${destroot}${prefix}/share/doc/${name}
|
|
xinstall -m 0644 ${worksrcpath}/CITATION.cff \
|
|
${destroot}${prefix}/share/doc/${name}
|
|
}
|