mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
For the main distfile only. Vendors will need a bigger, separate migration. Ports that don't specify are set to `tarball`.
34 lines
1.0 KiB
Tcl
34 lines
1.0 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/zget 1.1.11 v
|
|
revision 0
|
|
|
|
description zack's wget
|
|
|
|
long_description {*}${description}. ${name} is a mashup of curl and wget.
|
|
|
|
categories net www
|
|
installs_libs no
|
|
maintainers {gmail.com:herby.gillot @herbygillot} \
|
|
openmaintainer
|
|
license MIT
|
|
|
|
# Allow Go to download deps during build time
|
|
go.offline_build no
|
|
|
|
build.pre_args-append \
|
|
-ldflags \" \
|
|
-s -w -X main.Version=${github.tag_prefix}${version} \
|
|
\"
|
|
|
|
checksums rmd160 6838e6dba2e93230d5108ae1f71c508348fef362 \
|
|
sha256 812a508ff02a37ed80d78a2a42f958e09f977f6a837087aa6db97dc6a4984de1 \
|
|
size 60327
|
|
|
|
destroot {
|
|
xinstall -m 0755 ${worksrcpath}/${name} ${destroot}${prefix}/bin/
|
|
}
|