svn commit: r390680 - in head/devel: . git-codereview
Steve Wills
swills at FreeBSD.org
Fri Jun 26 23:57:45 UTC 2015
Author: swills
Date: Fri Jun 26 23:57:43 2015
New Revision: 390680
URL: https://svnweb.freebsd.org/changeset/ports/390680
Log:
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
Added:
head/devel/git-codereview/
head/devel/git-codereview/Makefile (contents, props changed)
head/devel/git-codereview/distinfo (contents, props changed)
head/devel/git-codereview/pkg-descr (contents, props changed)
Modified:
head/devel/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Fri Jun 26 23:29:08 2015 (r390679)
+++ head/devel/Makefile Fri Jun 26 23:57:43 2015 (r390680)
@@ -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
Added: head/devel/git-codereview/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/git-codereview/Makefile Fri Jun 26 23:57:43 2015 (r390680)
@@ -0,0 +1,34 @@
+# $FreeBSD$
+
+PORTNAME= git-codereview
+PORTVERSION= 0.0.0.2015062601
+CATEGORIES= devel
+
+MAINTAINER= swills at 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>
Added: head/devel/git-codereview/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/git-codereview/distinfo Fri Jun 26 23:57:43 2015 (r390680)
@@ -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
Added: head/devel/git-codereview/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/git-codereview/pkg-descr Fri Jun 26 23:57:43 2015 (r390680)
@@ -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
More information about the svn-ports-all
mailing list