# -*- 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           golang 1.0

go.setup            github.com/simulot/immich-go 0.32.0 v
go.offline_build    no
revision            0

checksums           rmd160  a0838705e00162190af22ebecf2362f61c364150 \
                    sha256  1c07ce22e5b46e3691867025154751063d4b9e4cf5df6ef4335102711e017d92 \
                    size    89750241

categories          graphics net
installs_libs       no
license             AGPL-3
maintainers         {acm.org:cardi @cardi} \
                    openmaintainer

description         Command-line tool for uploading photo collections to Immich
long_description    immich-go is an open-source tool designed to streamline \
                    uploading large photo collections to a self-hosted Immich \
                    server. It supports Google Photos Takeout archives, local \
                    folders, ZIP archives, and transfer between Immich servers, \
                    with duplicate detection and metadata preservation.

build.args          -ldflags \"-X ${go.package}/app.Version=${version}\"

destroot {
    xinstall -d ${destroot}${prefix}/bin
    xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/${name}
}
