# -*- 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           cargo   1.0
PortGroup           github  1.0

github.setup        Qovery Replibyte 0.10.0 v
name                replibyte
github.tarball_from archive
revision            0

homepage            https://www.replibyte.com/

description         Seed your development database with real data

long_description    \
    Replibyte is a blazingly fast tool to seed your databases with your \
    production data while keeping sensitive data safe

categories          databases devel
installs_libs       no
license             MIT
maintainers         {gmail.com:herby.gillot @herbygillot} \
                    openmaintainer

checksums           ${distname}${extract.suffix} \
                    rmd160  49cf1b3e26b0f6ccc82794412538bdd8e6b0f032 \
                    sha256  e74345cfe7dbce30eb928bc6f0c6b8108e4c2515289fda0ab1c46c6abd357fd4 \
                    size    2919372

build.pre_args-delete \
                    --frozen --offline

destroot {
    xinstall -m 0755 \
        ${worksrcpath}/target/[cargo.rust_platform]/release/${name} \
        ${destroot}${prefix}/bin/

}
