View | Details | Raw Unified | Return to bug 225617 | Differences between
and this patch

Collapse All | Expand All

(-)devel/grv/Makefile (+53 lines)
Line 0 Link Here
1
# $FreeBSD$
2
3
PORTNAME=	grv
4
DISTVERSIONPREFIX=	v
5
DISTVERSION=	0.1.0
6
CATEGORIES=	devel
7
8
PATCH_SITES=	https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
9
PATCHFILES=	3af76ec176.patch:-p1
10
11
MAINTAINER=	dg@syrec.org
12
COMMENT=	Terminal interface for viewing git repositories
13
14
LICENSE=	GPLv3
15
LICENSE_FILE=	${WRKSRC}/LICENSE
16
17
BUILD_DEPENDS=	go:lang/go
18
LIB_DEPENDS=	libgit2.so:devel/libgit2
19
20
USES=		ncurses pkgconfig readline:port
21
USE_GITHUB=	yes
22
GH_ACCOUNT=	rgburke
23
GH_SUBDIR=	src/github.com/rgburke/${PORTNAME}
24
GH_TUPLE=	\
25
		bradfitz:slice:d9036e2:slice/src/github.com/bradfitz/slice \
26
		camlistore:go4:fba789b:reflectutil/src/go4.org \
27
		gobwas:glob:51eb1ee:glob/src/github.com/gobwas/glob \
28
		golang:crypto:1875d0a:crypto/src/golang.org/x/crypto \
29
		golang:sys:8f27ce8:sys/src/golang.org/x/sys \
30
		mattn:go-runewidth:97311d9:runewidth/src/github.com/mattn/go-runewidth \
31
		rgburke:goncurses:74f667a:goncurses/src/github.com/rgburke/goncurses \
32
		rjeczalik:notify:27b537f:notify/src/github.com/rjeczalik/notify \
33
		Sirupsen:logrus:768a92a:logrus/src/github.com/Sirupsen/logrus \
34
		tchap:go-patricia:5ad6cdb:patricia/src/github.com/tchap/go-patricia
35
# Keep git2go branch in sync with devel/libgit2 version
36
GH_TUPLE+=	libgit2:git2go:eb0bf21:git2go/src/gopkg.in/libgit2/git2go.v26
37
38
PORTDOCS=	*
39
PLIST_FILES=	bin/grv
40
41
OPTIONS_DEFINE=	DOCS
42
43
do-build:
44
	cd ${WRKSRC} && ${SETENV} GOPATH=${WRKSRC} go build ./cmd/${PORTNAME}
45
46
do-install:
47
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
48
49
do-install-DOCS-on:
50
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
51
	cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}
52
53
.include <bsd.port.mk>
(-)devel/grv/distinfo (+27 lines)
Line 0 Link Here
1
TIMESTAMP = 1517524572
2
SHA256 (rgburke-grv-v0.1.0_GH0.tar.gz) = 48b771f73bea65d0ff90829cf38d9881393148176326b82e918debd29fafb8e0
3
SIZE (rgburke-grv-v0.1.0_GH0.tar.gz) = 4218128
4
SHA256 (bradfitz-slice-d9036e2_GH0.tar.gz) = 30446ea3f3428f802a6238216cce2a9eeef42429b7be9523073c02d0b976c5ac
5
SIZE (bradfitz-slice-d9036e2_GH0.tar.gz) = 2623
6
SHA256 (camlistore-go4-fba789b_GH0.tar.gz) = 14623c4196629db8fe82d66c62ce497e59cfc3fa8b948b767c55e986cd929721
7
SIZE (camlistore-go4-fba789b_GH0.tar.gz) = 78856
8
SHA256 (gobwas-glob-51eb1ee_GH0.tar.gz) = 664219022e7081c313f6fccf2afb145f4a1d1142d0577f3cd8ab24131249e25b
9
SIZE (gobwas-glob-51eb1ee_GH0.tar.gz) = 25009
10
SHA256 (golang-crypto-1875d0a_GH0.tar.gz) = 648f2ad0b7a255d9286af0202d6ebdfb5703eb3b9d82691c67b32f6092c1ef22
11
SIZE (golang-crypto-1875d0a_GH0.tar.gz) = 1445933
12
SHA256 (golang-sys-8f27ce8_GH0.tar.gz) = b75004745d2f488e2c283a2181690606ce0cadddcbc6a1dc5091dfce81cf3639
13
SIZE (golang-sys-8f27ce8_GH0.tar.gz) = 795226
14
SHA256 (mattn-go-runewidth-97311d9_GH0.tar.gz) = 8330497728f75464111ee7145fc97cfa588cb0d6561b3af5447aa05d489bca85
15
SIZE (mattn-go-runewidth-97311d9_GH0.tar.gz) = 22384
16
SHA256 (rgburke-goncurses-74f667a_GH0.tar.gz) = af7aabf62aee38639417ac1eef9c3aaabea7e56e5f88c5702cab7a9652613e22
17
SIZE (rgburke-goncurses-74f667a_GH0.tar.gz) = 46774
18
SHA256 (rjeczalik-notify-27b537f_GH0.tar.gz) = ef035506584f71c1af02d27e4e8ef59d64f94e1365174742629cf2b6121602ed
19
SIZE (rjeczalik-notify-27b537f_GH0.tar.gz) = 56420
20
SHA256 (Sirupsen-logrus-768a92a_GH0.tar.gz) = ce58ca8b5b3628757e89a526c5399b684914b1c9979ac5e6cbe30181bbabc55a
21
SIZE (Sirupsen-logrus-768a92a_GH0.tar.gz) = 28603
22
SHA256 (tchap-go-patricia-5ad6cdb_GH0.tar.gz) = ea8127ce3b9e7bedf4ffbe998179d94ebe1c59ad36ece22aa5682fb27d5bab4b
23
SIZE (tchap-go-patricia-5ad6cdb_GH0.tar.gz) = 11903
24
SHA256 (libgit2-git2go-eb0bf21_GH0.tar.gz) = ee90d7f69aa37e6729f9c367aeb259fe0b3c370fd7f161564065ef0a0302b2c0
25
SIZE (libgit2-git2go-eb0bf21_GH0.tar.gz) = 72363
26
SHA256 (3af76ec176.patch) = d2c23532557b80206c6a61fffb7a5c99da1ec20ed049f80daa9c12026fae0a01
27
SIZE (3af76ec176.patch) = 1923
(-)devel/grv/files/patch-cmd_grv_repo__data__loader.go (+11 lines)
Line 0 Link Here
1
--- cmd/grv/repo_data_loader.go.orig	2018-02-01 15:59:52 UTC
2
+++ cmd/grv/repo_data_loader.go
3
@@ -9,7 +9,7 @@ import (
4
 
5
 	log "github.com/Sirupsen/logrus"
6
 	slice "github.com/bradfitz/slice"
7
-	git "gopkg.in/libgit2/git2go.v25"
8
+	git "gopkg.in/libgit2/git2go.v26"
9
 )
10
 
11
 const (
(-)devel/grv/pkg-descr (+6 lines)
Line 0 Link Here
1
GRV is a terminal based interface for viewing git repositories. It allows
2
refs, commits and diffs to be viewed, searched and filtered. The behaviour
3
and style can be customised through configuration. A query language can be
4
used to filter refs and commits.
5
6
WWW: https://github.com/rgburke/grv

Return to bug 225617