# -*- 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/rclone/rclone 1.66.0 v go.offline_build no github.tarball_from archive revision 0 homepage https://rclone.org description Rclone is a command line cloud-service sync program long_description \ ${description} to sync files and directories to and from: Google Drive, \ Amazon S3, Openstack Swift / Rackspace cloud files / Memset, Memstore, \ Dropbox, Google Cloud Storage, Amazon Drive, Microsoft One Drive, Hubic, \ Backblaze B2, Yandex Disk, SFTP, and the local filesystem. checksums \ rmd160 9cfea61bf3f9e94c21fcc1e52ae3fab73bff275b \ sha256 9249391867044a0fa4c5a948b46a03b320706b4d5c4d59db9d4aeff8d47cade2 \ size 17066102 categories net installs_libs no license MIT maintainers {eborisch @eborisch} \ {gmail.com:herby.gillot @herbygillot} \ openmaintainer build.pre_args-append \ -ldflags \" \ -s \ -X github.com/rclone/rclone/fs.Version=${github.tag_prefix}${version} \ \" set pre_args_tags -tags=noselfupdate if {${os.platform} eq "darwin"} { set pre_args_tags $pre_args_tags,darwin } if {[variant_isset mount]} { set pre_args_tags $pre_args_tags,cmount } build.pre_args-append $pre_args_tags variant mount description {Compile with mount command, requires macFUSE} { depends_run-append port:macfuse } destroot { xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/ set docdir ${prefix}/share/doc/${name} xinstall -d ${destroot}${docdir} xinstall -m 0644 -W ${worksrcpath} \ README.md COPYING MANUAL.txt MANUAL.html RELEASE.md notes.txt \ ${destroot}${docdir} set mandir ${prefix}/share/man/man1 xinstall -d ${destroot}${mandir} xinstall -m 0644 -W ${worksrcpath} rclone.1 ${destroot}${mandir} set bash_compl_path ${destroot}${prefix}/share/bash-completion/completions set fish_compl_path ${destroot}${prefix}/share/fish/vendor_completions.d set zsh_compl_path ${destroot}${prefix}/share/zsh/site-functions set bin_path ${destroot}${prefix}/bin xinstall -d ${bash_compl_path} ${fish_compl_path} ${zsh_compl_path} system "${bin_path}/rclone genautocomplete bash ${bash_compl_path}/${name}" system "${bin_path}/rclone genautocomplete fish ${fish_compl_path}/${name}.fish" system "${bin_path}/rclone genautocomplete zsh ${zsh_compl_path}/_${name}" }