Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Feb 2017 10:30:52 +0000 (UTC)
From:      Kirill Ponomarew <krion@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r434341 - in head/www: . minio-client
Message-ID:  <201702181030.v1IAUqhd042423@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: krion
Date: Sat Feb 18 10:30:52 2017
New Revision: 434341
URL: https://svnweb.freebsd.org/changeset/ports/434341

Log:
  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

Added:
  head/www/minio-client/
  head/www/minio-client/Makefile   (contents, props changed)
  head/www/minio-client/distinfo   (contents, props changed)
  head/www/minio-client/pkg-descr   (contents, props changed)
Modified:
  head/www/Makefile

Modified: head/www/Makefile
==============================================================================
--- head/www/Makefile	Sat Feb 18 10:28:47 2017	(r434340)
+++ head/www/Makefile	Sat Feb 18 10:30:52 2017	(r434341)
@@ -412,6 +412,7 @@
     SUBDIR += mini_httpd
     SUBDIR += miniminiweb
     SUBDIR += minio
+    SUBDIR += minio-client
     SUBDIR += mitmproxy
     SUBDIR += mkapachepw
     SUBDIR += mknmz-wwwoffle

Added: head/www/minio-client/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/minio-client/Makefile	Sat Feb 18 10:30:52 2017	(r434341)
@@ -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>

Added: head/www/minio-client/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/minio-client/distinfo	Sat Feb 18 10:30:52 2017	(r434341)
@@ -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

Added: head/www/minio-client/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/www/minio-client/pkg-descr	Sat Feb 18 10:30:52 2017	(r434341)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702181030.v1IAUqhd042423>