mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
a82adc010b
PR: 244582 Reported by: dmitry.wagin@ya.ru
83 lines
3.8 KiB
Makefile
83 lines
3.8 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= minio-client
|
|
PORTVERSION= ${GH_TAGNAME:S/RELEASE.//:S/Z//:S/T/-/:S/-/./g}
|
|
PORTREVISION= 2
|
|
CATEGORIES= www
|
|
|
|
MAINTAINER= jhixson@FreeBSD.org
|
|
COMMENT= Replacement for ls, cp, mkdir, diff and rsync commands for filesystems
|
|
|
|
LICENSE= APACHE20
|
|
|
|
BUILD_DEPENDS= bash:shells/bash
|
|
|
|
USES= go:modules
|
|
|
|
OPTIONS_DEFINE= MC
|
|
|
|
MC_DESC= Install as mc
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MMC}
|
|
MC= mc
|
|
.else
|
|
MC= ${PORTNAME}
|
|
.endif
|
|
|
|
USE_GITHUB= yes
|
|
GHTAG= RELEASE.2020-03-14T01-23-37Z
|
|
COMMIT_ID= 5b5d65a142c5562e412de022a3114e83378096a5
|
|
GH_TUPLE= minio:mc:${GHTAG}:DEFAULT \
|
|
StackExchange:wmi:cbe66965904d:stackexchange_wmi/vendor/github.com/StackExchange/wmi \
|
|
cheggaaa:pb:v1.0.28:cheggaaa_pb/vendor/github.com/cheggaaa/pb \
|
|
coreos:etcd:v3.3.12:coreos_etcd/vendor/github.com/coreos/etcd \
|
|
dgrijalva:jwt-go:v3.2.0:dgrijalva_jwt_go/vendor/github.com/dgrijalva/jwt-go \
|
|
dustin:go-humanize:v1.0.0:dustin_go_humanize/vendor/github.com/dustin/go-humanize \
|
|
fatih:color:v1.7.0:fatih_color/vendor/github.com/fatih/color \
|
|
fatih:structs:v1.1.0:fatih_structs/vendor/github.com/fatih/structs \
|
|
go-check:check:788fd7840127:go_check_check/vendor/gopkg.in/check.v1 \
|
|
go-ini:ini:v1.52.0:go_ini_ini/vendor/gopkg.in/ini.v1 \
|
|
go-ole:go-ole:v1.2.4:go_ole_go_ole/vendor/github.com/go-ole/go-ole \
|
|
go-yaml:yaml:v2.2.4:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
|
|
gogo:protobuf:v1.2.1:gogo_protobuf/vendor/github.com/gogo/protobuf \
|
|
golang:crypto:1d94cc7ab1c6:golang_crypto/vendor/golang.org/x/crypto \
|
|
golang:net:16171245cfb2:golang_net/vendor/golang.org/x/net \
|
|
golang:protobuf:v1.3.2:golang_protobuf/vendor/github.com/golang/protobuf \
|
|
golang:sys:12a6c2dcc1e4:golang_sys/vendor/golang.org/x/sys \
|
|
golang:text:v0.3.2:golang_text/vendor/golang.org/x/text \
|
|
google:go-genproto:24fa4b261c55:google_go_genproto/vendor/google.golang.org/genproto \
|
|
grpc:grpc-go:v1.22.0:grpc_grpc_go/vendor/google.golang.org/grpc \
|
|
h2non:filetype:v1.0.5:h2non_filetype/vendor/gopkg.in/h2non/filetype.v1 \
|
|
hashicorp:errwrap:v1.0.0:hashicorp_errwrap/vendor/github.com/hashicorp/errwrap \
|
|
hashicorp:go-multierror:v1.0.0:hashicorp_go_multierror/vendor/github.com/hashicorp/go-multierror \
|
|
inconshreveable:go-update:8152e7eb6ccf:inconshreveable_go_update/vendor/github.com/inconshreveable/go-update \
|
|
kr:pretty:v0.1.0:kr_pretty/vendor/github.com/kr/pretty \
|
|
kr:text:v0.1.0:kr_text/vendor/github.com/kr/text \
|
|
mattn:go-colorable:v0.1.1:mattn_go_colorable/vendor/github.com/mattn/go-colorable \
|
|
mattn:go-isatty:v0.0.7:mattn_go_isatty/vendor/github.com/mattn/go-isatty \
|
|
mattn:go-runewidth:v0.0.5:mattn_go_runewidth/vendor/github.com/mattn/go-runewidth \
|
|
minio:cli:v1.22.0:minio_cli/vendor/github.com/minio/cli \
|
|
minio:minio-go:097caa7760c7:minio_minio_go/vendor/github.com/minio/minio-go/v6 \
|
|
minio:minio:b1a2169dcc5b:minio_minio/vendor/github.com/minio/minio \
|
|
minio:sha256-simd:v0.1.1:minio_sha256_simd/vendor/github.com/minio/sha256-simd \
|
|
mitchellh:go-homedir:v1.1.0:mitchellh_go_homedir/vendor/github.com/mitchellh/go-homedir \
|
|
ncw:directio:v1.0.5:ncw_directio/vendor/github.com/ncw/directio \
|
|
pkg:profile:v1.3.0:pkg_profile/vendor/github.com/pkg/profile \
|
|
pkg:xattr:v0.4.1:pkg_xattr/vendor/github.com/pkg/xattr \
|
|
posener:complete:6ffe496ea953:posener_complete/vendor/github.com/posener/complete \
|
|
rjeczalik:notify:v0.9.2:rjeczalik_notify/vendor/github.com/rjeczalik/notify \
|
|
secure-io:sio-go:v0.3.0:secure_io_sio_go/vendor/github.com/secure-io/sio-go \
|
|
shirou:gopsutil:v2.18.12:shirou_gopsutil/vendor/github.com/shirou/gopsutil
|
|
|
|
PLIST_FILES= bin/${MC}
|
|
GO_BUILDFLAGS= -ldflags=" \
|
|
-X github.com/minio/mc/cmd.Version=${GH_TAGNAME:C/RELEASE\.//:C|(..)-(..)-(..)Z|\1:\2:\3Z|} \
|
|
-X github.com/minio/mc/cmd.ReleaseTag=${GH_TAGNAME} \
|
|
-X github.com/minio/mc/cmd.CommitID=${COMMIT_ID} \
|
|
-X github.com/minio/mc/cmd.GOPATH=${WRKSRC} -s -w"
|
|
GO_TARGET= :${MC}
|
|
|
|
.include <bsd.port.mk>
|