aboutsummaryrefslogtreecommitdiff
path: root/net/drive/Makefile
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-07-26 18:19:38 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-07-26 18:19:38 +0000
commitc8d241f060b9377c000e8e7cd9160c11285801f6 (patch)
tree45730ab7390c6c70568b0b5883b317f90c841858 /net/drive/Makefile
parent9bbd3d1f5e5196cbf5a616fc3feb65f7f7ca64d6 (diff)
downloadports-c8d241f060b9377c000e8e7cd9160c11285801f6.tar.gz
ports-c8d241f060b9377c000e8e7cd9160c11285801f6.zip
Add drive 0.3.9.1
drive is a tiny program to pull or push Google Drive files. drive was originally developed by Burcu Dogan while working on the Google Drive team. Since she is very busy and no longer able to maintain it, I took over drive on Thursday, 1st January 2015. This repository contains the latest version of the code. WWW: https://github.com/odeke-em/drive
Notes
Notes: svn path=/head/; revision=446674
Diffstat (limited to 'net/drive/Makefile')
-rw-r--r--net/drive/Makefile65
1 files changed, 65 insertions, 0 deletions
diff --git a/net/drive/Makefile b/net/drive/Makefile
new file mode 100644
index 000000000000..4a5898ff15de
--- /dev/null
+++ b/net/drive/Makefile
@@ -0,0 +1,65 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= drive
+PORTVERSION= 0.3.9.1
+DISTVERSIONPREFIX= v
+CATEGORIES= net
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Tiny program to pull or push Google Drive files
+
+LICENSE= APACHE20
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+GO_PKGNAME= github.com/${GH_ACCOUNT}/${GH_PROJECT}
+GO_TARGET= ${GO_PKGNAME}/cmd/${GH_PROJECT}
+USES= go
+
+PLIST_FILES= bin/drive
+
+GH_TUPLE= odeke-em:drive:v${PORTVERSION} \
+ boltdb:bolt:v1.3.1:boltdb_bolt/../src/github.com/boltdb/bolt \
+ cheggaaa:pb:v2.0.4:cheggaaa_pb/../src/github.com/cheggaaa/pb \
+ fatih:color:v1.5.0:fatih_color/../src/github.com/fatih/color \
+ golang:crypto:6914964:golang_crypto/../src/golang.org/x/crypto \
+ golang:net:ab54850:golang_net/../src/golang.org/x/net \
+ golang:oauth2:b53b38a:golang_oauth2/../src/golang.org/x/oauth2 \
+ google:google-api-go-client:295e4bb:google_googleapigoclient/../src/google.golang.org/api \
+ GoogleCloudPlatform:google-cloud-go:v0.10.0:GoogleCloudPlatform_googlecloudgo/../src/cloud.google.com/go \
+ mattn:go-colorable:v0.0.8:mattn_gocolorable/../src/github.com/mattn/go-colorable \
+ mattn:go-isatty:v0.0.2:mattn_goisatty/../src/github.com/mattn/go-isatty \
+ mattn:go-runewidth:v0.0.2:mattn_gorunewidth/../src/github.com/mattn/go-runewidth \
+ odeke-em:cache:baf8e43:odekeem_cache/../src/github.com/odeke-em/cache \
+ odeke-em:cli-spinner:610063b:odekeem_clispinner/../src/github.com/odeke-em/cli-spinner \
+ odeke-em:command:91ca5ec:odekeem_command/../src/github.com/odeke-em/command \
+ odeke-em:exponential-backoff:96e25d3:odekeem_exponential_backoff/../src/github.com/odeke-em/exponential-backoff \
+ odeke-em:extractor:801861a:odekeem_extractor/../src/github.com/odeke-em/extractor \
+ odeke-em:go-utils:e8ebaed:odekeem_go_utils/../src/github.com/odeke-em/go-utils \
+ odeke-em:go-uuid:b211d76:odekeem_gouuid/../src/github.com/odeke-em/go-uuid \
+ odeke-em:log:8d60a69:odekeem_log/../src/github.com/odeke-em/log \
+ odeke-em:meddler:d2b51d2:odekeem_meddler/../src/github.com/odeke-em/meddler \
+ odeke-em:namespace:0ab79ba:odekeem_namespace/../src/github.com/odeke-em/namespace \
+ odeke-em:pretty-words:9d37a7f:odekeem_prettywords/../src/github.com/odeke-em/pretty-words \
+ odeke-em:semalim:9c88bf5:odekeem_semalim/../src/github.com/odeke-em/semalim \
+ odeke-em:statos:292960a:odekeem_statos/../src/github.com/odeke-em/statos \
+ skratchdot:open-golang:75fb7ed:skratchdot_opengolang/../src/github.com/skratchdot/open-golang \
+ VividCortex:ewma:v1.1:VividCortex_ewma/../src/github.com/VividCortex/ewma
+USE_GITHUB= yes
+
+post-patch:
+ @${MKDIR} ${GO_WRKDIR_SRC}/gopkg.in/cheggaaa/
+ @${LN} -s ${GO_WRKDIR_SRC}/github.com/cheggaaa/pb ${GO_WRKDIR_SRC}/gopkg.in/cheggaaa/pb.v2
+ @${MKDIR} ${GO_WRKDIR_SRC}/gopkg.in/fatih/
+ @${LN} -s ${GO_WRKDIR_SRC}/github.com/fatih/color ${GO_WRKDIR_SRC}/gopkg.in/fatih/color.v1
+ @${MKDIR} ${GO_WRKDIR_SRC}/gopkg.in/mattn/
+ @${LN} -s ${GO_WRKDIR_SRC}/github.com/mattn/go-colorable ${GO_WRKDIR_SRC}/gopkg.in/mattn/go-colorable.v0
+ @${LN} -s ${GO_WRKDIR_SRC}/github.com/mattn/go-isatty ${GO_WRKDIR_SRC}/gopkg.in/mattn/go-isatty.v0
+ @${LN} -s ${GO_WRKDIR_SRC}/github.com/mattn/go-runewidth ${GO_WRKDIR_SRC}/gopkg.in/mattn/go-runewidth.v0
+ @${MKDIR} ${GO_WRKDIR_SRC}/gopkg.in/VividCortex/
+ @${LN} -s ${GO_WRKDIR_SRC}/github.com/VividCortex/ewma ${GO_WRKDIR_SRC}/gopkg.in/VividCortex/ewma.v1
+
+do-install:
+ ${INSTALL_PROGRAM} ${GO_WRKDIR_BIN}/drive ${STAGEDIR}${PREFIX}/bin/drive
+
+.include <bsd.port.mk>