Index: devel/grv/Makefile =================================================================== --- devel/grv/Makefile (nonexistent) +++ devel/grv/Makefile (working copy) @@ -0,0 +1,53 @@ +# $FreeBSD$ + +PORTNAME= grv +DISTVERSIONPREFIX= v +DISTVERSION= 0.1.0 +CATEGORIES= devel + +PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/ +PATCHFILES= 3af76ec176.patch:-p1 + +MAINTAINER= dg@syrec.org +COMMENT= Terminal interface for viewing git repositories + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +BUILD_DEPENDS= go:lang/go +LIB_DEPENDS= libgit2.so:devel/libgit2 + +USES= ncurses pkgconfig readline:port +USE_GITHUB= yes +GH_ACCOUNT= rgburke +GH_SUBDIR= src/github.com/rgburke/${PORTNAME} +GH_TUPLE= \ + bradfitz:slice:d9036e2:slice/src/github.com/bradfitz/slice \ + camlistore:go4:fba789b:reflectutil/src/go4.org \ + gobwas:glob:51eb1ee:glob/src/github.com/gobwas/glob \ + golang:crypto:1875d0a:crypto/src/golang.org/x/crypto \ + golang:sys:8f27ce8:sys/src/golang.org/x/sys \ + mattn:go-runewidth:97311d9:runewidth/src/github.com/mattn/go-runewidth \ + rgburke:goncurses:74f667a:goncurses/src/github.com/rgburke/goncurses \ + rjeczalik:notify:27b537f:notify/src/github.com/rjeczalik/notify \ + Sirupsen:logrus:768a92a:logrus/src/github.com/Sirupsen/logrus \ + tchap:go-patricia:5ad6cdb:patricia/src/github.com/tchap/go-patricia +# Keep git2go branch in sync with devel/libgit2 version +GH_TUPLE+= libgit2:git2go:eb0bf21:git2go/src/gopkg.in/libgit2/git2go.v26 + +PORTDOCS= * +PLIST_FILES= bin/grv + +OPTIONS_DEFINE= DOCS + +do-build: + cd ${WRKSRC} && ${SETENV} GOPATH=${WRKSRC} go build ./cmd/${PORTNAME} + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} + +.include Property changes on: devel/grv/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: devel/grv/distinfo =================================================================== --- devel/grv/distinfo (nonexistent) +++ devel/grv/distinfo (working copy) @@ -0,0 +1,27 @@ +TIMESTAMP = 1517524572 +SHA256 (rgburke-grv-v0.1.0_GH0.tar.gz) = 48b771f73bea65d0ff90829cf38d9881393148176326b82e918debd29fafb8e0 +SIZE (rgburke-grv-v0.1.0_GH0.tar.gz) = 4218128 +SHA256 (bradfitz-slice-d9036e2_GH0.tar.gz) = 30446ea3f3428f802a6238216cce2a9eeef42429b7be9523073c02d0b976c5ac +SIZE (bradfitz-slice-d9036e2_GH0.tar.gz) = 2623 +SHA256 (camlistore-go4-fba789b_GH0.tar.gz) = 14623c4196629db8fe82d66c62ce497e59cfc3fa8b948b767c55e986cd929721 +SIZE (camlistore-go4-fba789b_GH0.tar.gz) = 78856 +SHA256 (gobwas-glob-51eb1ee_GH0.tar.gz) = 664219022e7081c313f6fccf2afb145f4a1d1142d0577f3cd8ab24131249e25b +SIZE (gobwas-glob-51eb1ee_GH0.tar.gz) = 25009 +SHA256 (golang-crypto-1875d0a_GH0.tar.gz) = 648f2ad0b7a255d9286af0202d6ebdfb5703eb3b9d82691c67b32f6092c1ef22 +SIZE (golang-crypto-1875d0a_GH0.tar.gz) = 1445933 +SHA256 (golang-sys-8f27ce8_GH0.tar.gz) = b75004745d2f488e2c283a2181690606ce0cadddcbc6a1dc5091dfce81cf3639 +SIZE (golang-sys-8f27ce8_GH0.tar.gz) = 795226 +SHA256 (mattn-go-runewidth-97311d9_GH0.tar.gz) = 8330497728f75464111ee7145fc97cfa588cb0d6561b3af5447aa05d489bca85 +SIZE (mattn-go-runewidth-97311d9_GH0.tar.gz) = 22384 +SHA256 (rgburke-goncurses-74f667a_GH0.tar.gz) = af7aabf62aee38639417ac1eef9c3aaabea7e56e5f88c5702cab7a9652613e22 +SIZE (rgburke-goncurses-74f667a_GH0.tar.gz) = 46774 +SHA256 (rjeczalik-notify-27b537f_GH0.tar.gz) = ef035506584f71c1af02d27e4e8ef59d64f94e1365174742629cf2b6121602ed +SIZE (rjeczalik-notify-27b537f_GH0.tar.gz) = 56420 +SHA256 (Sirupsen-logrus-768a92a_GH0.tar.gz) = ce58ca8b5b3628757e89a526c5399b684914b1c9979ac5e6cbe30181bbabc55a +SIZE (Sirupsen-logrus-768a92a_GH0.tar.gz) = 28603 +SHA256 (tchap-go-patricia-5ad6cdb_GH0.tar.gz) = ea8127ce3b9e7bedf4ffbe998179d94ebe1c59ad36ece22aa5682fb27d5bab4b +SIZE (tchap-go-patricia-5ad6cdb_GH0.tar.gz) = 11903 +SHA256 (libgit2-git2go-eb0bf21_GH0.tar.gz) = ee90d7f69aa37e6729f9c367aeb259fe0b3c370fd7f161564065ef0a0302b2c0 +SIZE (libgit2-git2go-eb0bf21_GH0.tar.gz) = 72363 +SHA256 (3af76ec176.patch) = d2c23532557b80206c6a61fffb7a5c99da1ec20ed049f80daa9c12026fae0a01 +SIZE (3af76ec176.patch) = 1923 Property changes on: devel/grv/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: devel/grv/files/patch-cmd_grv_repo__data__loader.go =================================================================== --- devel/grv/files/patch-cmd_grv_repo__data__loader.go (nonexistent) +++ devel/grv/files/patch-cmd_grv_repo__data__loader.go (working copy) @@ -0,0 +1,11 @@ +--- cmd/grv/repo_data_loader.go.orig 2018-02-01 15:59:52 UTC ++++ cmd/grv/repo_data_loader.go +@@ -9,7 +9,7 @@ import ( + + log "github.com/Sirupsen/logrus" + slice "github.com/bradfitz/slice" +- git "gopkg.in/libgit2/git2go.v25" ++ git "gopkg.in/libgit2/git2go.v26" + ) + + const ( Property changes on: devel/grv/files/patch-cmd_grv_repo__data__loader.go ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: devel/grv/pkg-descr =================================================================== --- devel/grv/pkg-descr (nonexistent) +++ devel/grv/pkg-descr (working copy) @@ -0,0 +1,6 @@ +GRV is a terminal based interface for viewing git repositories. It allows +refs, commits and diffs to be viewed, searched and filtered. The behaviour +and style can be customised through configuration. A query language can be +used to filter refs and commits. + +WWW: https://github.com/rgburke/grv Property changes on: devel/grv/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property