From dbfc5d0e63d490432845fc4cea88b76f8370aef7 Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Wed, 21 Dec 2016 15:40:12 +0000 Subject: [PATCH] Add gdrive 2.1.0, google Drive CLI Client. PR: 215456 Submitted by: Dmitri Goutnik --- net/Makefile | 1 + net/gdrive/Makefile | 27 +++++++++++++++++++++++++++ net/gdrive/distinfo | 3 +++ net/gdrive/pkg-descr | 8 ++++++++ 4 files changed, 39 insertions(+) create mode 100644 net/gdrive/Makefile create mode 100644 net/gdrive/distinfo create mode 100644 net/gdrive/pkg-descr diff --git a/net/Makefile b/net/Makefile index 05f3e3b53686..8d5af7ca5621 100644 --- a/net/Makefile +++ b/net/Makefile @@ -153,6 +153,7 @@ SUBDIR += fspd SUBDIR += fsplib SUBDIR += g2ipmsg + SUBDIR += gdrive SUBDIR += geoclue SUBDIR += geocode-glib SUBDIR += geoipupdate diff --git a/net/gdrive/Makefile b/net/gdrive/Makefile new file mode 100644 index 000000000000..d2089588f8cb --- /dev/null +++ b/net/gdrive/Makefile @@ -0,0 +1,27 @@ +# Created by: Dmitri Goutnik +# $FreeBSD$ + +PORTNAME= gdrive +PORTVERSION= 2.1.0 +CATEGORIES= net + +MAINTAINER= dg@syrec.org +COMMENT= Google Drive CLI Client + +LICENSE= MIT + +USES= go +GO_PKGNAME= github.com/${GH_ACCOUNT}/${PORTNAME} +USE_GITHUB= yes +GH_ACCOUNT= prasmussen + +OPTIONS_DEFINE= DOCS + +PLIST_FILES= bin/gdrive +PORTDOCS= README.md + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR} + +.include diff --git a/net/gdrive/distinfo b/net/gdrive/distinfo new file mode 100644 index 000000000000..ab06301ec24f --- /dev/null +++ b/net/gdrive/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1482262863 +SHA256 (prasmussen-gdrive-2.1.0_GH0.tar.gz) = a1ea624e913e258596ea6340c8818a90c21962b0a75cf005e49a0f72f2077b2e +SIZE (prasmussen-gdrive-2.1.0_GH0.tar.gz) = 151273 diff --git a/net/gdrive/pkg-descr b/net/gdrive/pkg-descr new file mode 100644 index 000000000000..0e17a7a5854f --- /dev/null +++ b/net/gdrive/pkg-descr @@ -0,0 +1,8 @@ +Command line utility for interacting with Google Drive, featuring: + + - Individual file or directory upload/download + - Directory synchronization (similar to rsync) + - Google Documents support + - Statically linked, dependency free binary + +WWW: https://github.com/prasmussen/gdrive