Index: head/net/Makefile =================================================================== --- head/net/Makefile +++ head/net/Makefile @@ -187,6 +187,7 @@ SUBDIR += grilo SUBDIR += grilo-plugins SUBDIR += grive + SUBDIR += grive2 SUBDIR += grsync SUBDIR += gsk SUBDIR += gspoof Index: head/net/grive2/Makefile =================================================================== --- head/net/grive2/Makefile +++ head/net/grive2/Makefile @@ -0,0 +1,32 @@ +# Created by: Carlos J Puga Medina +# $FreeBSD$ + +PORTNAME= grive2 +PORTVERSION= 0.5.0 +DISTVERSIONPREFIX= v +CATEGORIES= net + +MAINTAINER= cpm@FreeBSD.org +COMMENT= Open source client for Google Drive + +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING + +LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \ + libcurl.so:ftp/curl \ + libexpat.so:textproc/expat2 \ + libgcrypt.so:security/libgcrypt \ + libgpg-error.so:security/libgpg-error \ + libyajl.so:devel/yajl + +CONFLICTS_INSTALL= grive-[0-9]* + +USE_GITHUB= yes +GH_ACCOUNT= vitalif + +USES= cmake pkgconfig localbase + +PLIST_FILES= bin/grive \ + man/man1/grive.1.gz + +.include Index: head/net/grive2/distinfo =================================================================== --- head/net/grive2/distinfo +++ head/net/grive2/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1472387091 +SHA256 (vitalif-grive2-v0.5.0_GH0.tar.gz) = 24641ef4802eb93bb55e7069bca55c4fb8aa17fd88833b9c89a1b2ee7d266567 +SIZE (vitalif-grive2-v0.5.0_GH0.tar.gz) = 162886 Index: head/net/grive2/files/patch-grive_CMakeLists.txt =================================================================== --- head/net/grive2/files/patch-grive_CMakeLists.txt +++ head/net/grive2/files/patch-grive_CMakeLists.txt @@ -0,0 +1,8 @@ +--- grive/CMakeLists.txt.orig 2016-01-14 20:51:31 UTC ++++ grive/CMakeLists.txt +@@ -26,4 +26,4 @@ set_target_properties( grive_executable + ) + + install(TARGETS grive_executable RUNTIME DESTINATION bin) +-install(FILES doc/grive.1 DESTINATION share/man/man1 ) ++install(FILES doc/grive.1 DESTINATION man/man1 ) Index: head/net/grive2/files/patch-libgrive_src_util_File.cc =================================================================== --- head/net/grive2/files/patch-libgrive_src_util_File.cc +++ head/net/grive2/files/patch-libgrive_src_util_File.cc @@ -0,0 +1,10 @@ +--- libgrive/src/util/File.cc.orig 2016-08-28 12:56:18 UTC ++++ libgrive/src/util/File.cc +@@ -32,6 +32,7 @@ + #include + #include + #include ++#include + + #ifdef WIN32 + #include Index: head/net/grive2/pkg-descr =================================================================== --- head/net/grive2/pkg-descr +++ head/net/grive2/pkg-descr @@ -0,0 +1,4 @@ +Grive2 is the fork of original "Grive" Google Drive client with the +support for the new Drive REST API and partial sync. + +WWW: https://github.com/vitalif/grive2/