Commit 92696583 authored by swills's avatar swills
Browse files

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
parent 815416ad
......@@ -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
......
# $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>
SHA256 (golang-review-0.0.0.2015062601-719edc3_GH0.tar.gz) = 1db4eae8a246f377939e1698181a1597a175067d80e1af925e3c0aed24b4d5a8
SIZE (golang-review-0.0.0.2015062601-719edc3_GH0.tar.gz) = 45759
The git-codereview tool is a command-line tool for working with Gerrit.
WWW: https://godoc.org/golang.org/x/review/git-codereview
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment