mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-05 01:55:52 +00:00
Add port: www/minio-client
Minio Client is a replacement for ls, cp, mkdir, diff and rsync commands for filesystems and object storage. WWW: https://minio.io/downloads/#minio-client PR: 217124 Submitted by: jhixson@gmail.com Approved by: mat (mentor) Differential Revision: https://reviews.freebsd.org/D9642
This commit is contained in:
parent
340d9e3256
commit
a0b4730e16
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=434341
@ -412,6 +412,7 @@
|
||||
SUBDIR += mini_httpd
|
||||
SUBDIR += miniminiweb
|
||||
SUBDIR += minio
|
||||
SUBDIR += minio-client
|
||||
SUBDIR += mitmproxy
|
||||
SUBDIR += mkapachepw
|
||||
SUBDIR += mknmz-wwwoffle
|
||||
|
34
www/minio-client/Makefile
Normal file
34
www/minio-client/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= minio-client
|
||||
PORTVERSION= ${GH_TAGNAME:S/RELEASE.//:S/Z//:S/T/-/:S/-/./g}
|
||||
CATEGORIES= www
|
||||
|
||||
MAINTAINER= jhixson@gmail.com
|
||||
COMMENT= Replacement for ls, cp, mkdir, diff and rsync commands for filesystems
|
||||
|
||||
LICENSE= APACHE20
|
||||
|
||||
BUILD_DEPENDS= go>=1.7:lang/go \
|
||||
bash:shells/bash
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= minio
|
||||
GH_PROJECT= mc
|
||||
GH_TAGNAME= RELEASE.2017-02-06T20-16-19Z
|
||||
GH_SUBDIR= src/github.com/${GH_ACCOUNT}/${GH_PROJECT}
|
||||
MAKE_ENV= GOPATH=${WRKSRC} GOROOT=${LOCALBASE}/go
|
||||
|
||||
STRIP= # stripping can break go binaries
|
||||
PLIST_FILES= bin/${PORTNAME}
|
||||
|
||||
do-build:
|
||||
@cd ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}; \
|
||||
${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go build -v -x \
|
||||
-ldflags "-X main.GitDescribe=v${PORTVERSION}" -o bin/${PORTNAME}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/src/github.com/${GH_ACCOUNT}/${GH_PROJECT}/bin/${PORTNAME} \
|
||||
${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/minio-client/distinfo
Normal file
3
www/minio-client/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1487205021
|
||||
SHA256 (minio-mc-2017.02.06.20.16.19-RELEASE.2017-02-06T20-16-19Z_GH0.tar.gz) = 2ee46a826ff961683d8ed25e18598576a68bdebe79dcce9adf3219d34f9ec64c
|
||||
SIZE (minio-mc-2017.02.06.20.16.19-RELEASE.2017-02-06T20-16-19Z_GH0.tar.gz) = 1009728
|
4
www/minio-client/pkg-descr
Normal file
4
www/minio-client/pkg-descr
Normal file
@ -0,0 +1,4 @@
|
||||
Minio Client is a replacement for ls, cp, mkdir, diff and rsync commands for
|
||||
filesystems and object storage.
|
||||
|
||||
WWW: https://minio.io/downloads/#minio-client
|
Loading…
Reference in New Issue
Block a user