Files
2026-07-08 00:12:46 -04:00

45 lines
1.7 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 golang 1.0
go.setup github.com/schollz/croc 10.4.12 v
go.package github.com/schollz/croc/v10
go.offline_build no
revision 0
epoch 1
homepage https://schollz.com/blog/croc6
description \
Easily and securely send things from one computer to another
long_description \
${name} is a tool that allows any two computers to simply and securely \
transfer files and folders. AFAIK, croc is the only CLI file-transfer \
tool that: allows any two computers to transfer data (using a relay), \
provides end-to-end encryption (using PAKE), enables easy cross-platform \
transfers (Windows, Linux, Mac), allows multiple file transfers, allows \
resuming transfers that are interrupted, does not need a local server or \
port-forwarding, is faster than wormhole, rsync, scp through compression \
and multiplexing (speedups 1.5x to 4x), and supports IPv6.
categories net sysutils
installs_libs no
license MIT
maintainers {gmail.com:herby.gillot @herbygillot} \
openmaintainer
checksums rmd160 d4e694704ed79f1e667f3aa4039e451488dc70d0 \
sha256 9eeb03fef37159619a2e5a668995d4aa5dbab3d9acfa395841d08ffbcae54c02 \
size 613500
build.pre_args-append \
-ldflags \" -s -w \
-X ${go.package}/src/cli.Version=${github.tag_prefix}${version} \
\" -o ${name}
destroot {
xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
}