mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
devel/git-codereview: create port
The git-codereview tool is a command-line tool for working with Gerrit. WWW: https://godoc.org/golang.org/x/review/git-codereview
This commit is contained in:
parent
eab093f334
commit
cfa38ccfa3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=390680
@ -573,6 +573,7 @@
|
||||
SUBDIR += gio-sharp
|
||||
SUBDIR += git
|
||||
SUBDIR += git-bzr-ng
|
||||
SUBDIR += git-codereview
|
||||
SUBDIR += git-extras
|
||||
SUBDIR += git-lite
|
||||
SUBDIR += git-merge-changelog
|
||||
|
34
devel/git-codereview/Makefile
Normal file
34
devel/git-codereview/Makefile
Normal file
@ -0,0 +1,34 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= git-codereview
|
||||
PORTVERSION= 0.0.0.2015062601
|
||||
CATEGORIES= devel
|
||||
|
||||
MAINTAINER= swills@FreeBSD.org
|
||||
COMMENT= Command-line tool for working with Gerrit
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/bin/go:${PORTSDIR}/lang/go
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= golang
|
||||
GH_PROJECT= review
|
||||
GH_TAGNAME= 719edc3
|
||||
|
||||
PLIST_FILES= bin/git-codereview
|
||||
|
||||
STRIP= # stripping can break go binaries
|
||||
|
||||
post-patch:
|
||||
@${MKDIR} ${WRKSRC}/src/golang.org/x/review
|
||||
.for src in .gitattributes AUTHORS CONTRIBUTING.md CONTRIBUTORS LICENSE PATENTS \
|
||||
README codereview.cfg git-codereview
|
||||
@${MV} ${WRKSRC}/${src} ${WRKSRC}/src/golang.org/x/review
|
||||
.endfor
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC}/src/golang.org/x/review ; ${SETENV} ${BUILD_ENV} GOPATH=${WRKSRC} go install ./...
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
|
||||
|
||||
.include <bsd.port.mk>
|
2
devel/git-codereview/distinfo
Normal file
2
devel/git-codereview/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (golang-review-0.0.0.2015062601-719edc3_GH0.tar.gz) = 1db4eae8a246f377939e1698181a1597a175067d80e1af925e3c0aed24b4d5a8
|
||||
SIZE (golang-review-0.0.0.2015062601-719edc3_GH0.tar.gz) = 45759
|
3
devel/git-codereview/pkg-descr
Normal file
3
devel/git-codereview/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
The git-codereview tool is a command-line tool for working with Gerrit.
|
||||
|
||||
WWW: https://godoc.org/golang.org/x/review/git-codereview
|
Loading…
Reference in New Issue
Block a user