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/
This commit is contained in:
parent
51dfa1659b
commit
4d4538663f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433144
@ -1123,6 +1123,7 @@
|
||||
SUBDIR += jech-dht
|
||||
SUBDIR += jenkins
|
||||
SUBDIR += jenkins-lts
|
||||
SUBDIR += jfrog-cli
|
||||
SUBDIR += jiic
|
||||
SUBDIR += jline
|
||||
SUBDIR += jna
|
||||
|
35
devel/jfrog-cli/Makefile
Normal file
35
devel/jfrog-cli/Makefile
Normal file
@ -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>
|
3
devel/jfrog-cli/distinfo
Normal file
3
devel/jfrog-cli/distinfo
Normal file
@ -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
|
8
devel/jfrog-cli/pkg-descr
Normal file
8
devel/jfrog-cli/pkg-descr
Normal file
@ -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/
|
Loading…
Reference in New Issue
Block a user