Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Feb 2017 13:06:37 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r433144 - in head/devel: . jfrog-cli
Message-ID:  <201702021306.v12D6bHn085981@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Thu Feb  2 13:06:37 2017
New Revision: 433144
URL: https://svnweb.freebsd.org/changeset/ports/433144

Log:
  devel/jfrog-cli: create port
  
  JFrog CLI is a compact and smart client that provides a simple interface that
  automates access to JFrog Artifactory, JFrog Mission Control, JFrog Bintray and
  JFrog Xray (through their respective REST APIs). By using the JFrog CLI, you
  can greatly simplify your automation scripts making them more readable and
  easier to maintain. Several features of the JFrog CLI makes your scripts more
  efficient and reliable.
  
  WWW: https://www.jfrog.com/getcli/

Added:
  head/devel/jfrog-cli/
  head/devel/jfrog-cli/Makefile   (contents, props changed)
  head/devel/jfrog-cli/distinfo   (contents, props changed)
  head/devel/jfrog-cli/pkg-descr   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Thu Feb  2 12:52:29 2017	(r433143)
+++ head/devel/Makefile	Thu Feb  2 13:06:37 2017	(r433144)
@@ -1123,6 +1123,7 @@
     SUBDIR += jech-dht
     SUBDIR += jenkins
     SUBDIR += jenkins-lts
+    SUBDIR += jfrog-cli
     SUBDIR += jiic
     SUBDIR += jline
     SUBDIR += jna

Added: head/devel/jfrog-cli/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/jfrog-cli/Makefile	Thu Feb  2 13:06:37 2017	(r433144)
@@ -0,0 +1,35 @@
+# $FreeBSD$
+
+PORTNAME=	jfrog-cli
+PORTVERSION=	1.6.0
+CATEGORIES=	devel
+
+MAINTAINER=	swills@FreeBSD.org
+COMMENT=	CLI client for Artifactory
+
+BUILD_DEPENDS=	${LOCALBASE}/bin/go:lang/go
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	JFrogDev
+GH_PROJECT=	jfrog-cli-go
+
+PLIST_FILES=	bin/jfrog
+
+STRIP=		# stripping can break go binaries
+
+post-extract:
+	@${MV} ${WRKSRC}/vendor/ ${WRKSRC}/src
+	@${MKDIR} ${WRKSRC}/src/github.com/jfrogdev/jfrog-cli-go
+.for src in .gitignore CONTRIBUTING.md Jenkinsfile LICENSE README.md \
+	artifactory bintray getCli.sh jfrog missioncontrol testsdata utils xray
+	@${MV} ${WRKSRC}/${src} ${WRKSRC}/src/github.com/jfrogdev/jfrog-cli-go
+.endfor
+
+do-build:
+	@cd ${WRKSRC}/src/github.com/jfrogdev/jfrog-cli-go ; \
+		${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go install ./...
+
+do-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/bin/jfrog ${STAGEDIR}${PREFIX}/bin/jfrog
+
+.include <bsd.port.mk>

Added: head/devel/jfrog-cli/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/jfrog-cli/distinfo	Thu Feb  2 13:06:37 2017	(r433144)
@@ -0,0 +1,3 @@
+TIMESTAMP = 1485889695
+SHA256 (JFrogDev-jfrog-cli-go-1.6.0_GH0.tar.gz) = 5da5e904ee1a46c367652a9df4f4787a63fa9ec5934f44698f3aae7e8bc25680
+SIZE (JFrogDev-jfrog-cli-go-1.6.0_GH0.tar.gz) = 162253

Added: head/devel/jfrog-cli/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/jfrog-cli/pkg-descr	Thu Feb  2 13:06:37 2017	(r433144)
@@ -0,0 +1,8 @@
+JFrog CLI is a compact and smart client that provides a simple interface that
+automates access to JFrog Artifactory, JFrog Mission Control, JFrog Bintray and
+JFrog Xray (through their respective REST APIs). By using the JFrog CLI, you
+can greatly simplify your automation scripts making them more readable and
+easier to maintain. Several features of the JFrog CLI makes your scripts more
+efficient and reliable.
+
+WWW: https://www.jfrog.com/getcli/



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