freebsd-ports/net/dropbox-api-command/Makefile
Ben Woods d5e7755858 net/p5-WebService-Dropbox: Update to 2.05
net/dropbox-api-command: Update to 2.09

This update brings support for Dropbox APIv2.
This is required since, according to dropbox, the API v1 will be
disabled on 28th June 2017:
https://blogs.dropbox.com/developers/2016/06/api-v1-deprecated/

Convert LWP option (off by default) to FURL option (on by default)
as testing has revealed that without the p5-LWP-Protocol-https pkg
installed, the following error is given even if the FURL option in enabled.
$ dropbox-api sync dropbox:/ ~/Dropbox
2016-07-31T14:09:57 [WebService::Dropbox] [ERROR] https://api.dropboxapi.com/2/files/list_folder {"path":"","recursive":true} -> [501] LWP will support https URLs if the LWP::Protocol::https module is installed.
LWP will support https URLs if the LWP::Protocol::https module is installed.

PR:		211016
Reviewed by:	mat (mentor)
Approved by:	Lung-Pin Chang <changlp@cs.nctu.edu.tw> (maintainer timeout), adamw (mentor)
Differential Revision:	https://reviews.freebsd.org/D7377
2016-08-03 15:31:16 +00:00

32 lines
767 B
Makefile

# Created by: Lung-Pin Chang <changlp@cs.nctu.edu.tw>
# $FreeBSD$
PORTNAME= dropbox-api-command
PORTVERSION= 2.09
PORTEPOCH= 1
CATEGORIES= net perl5
MAINTAINER= woodsb02@FreeBSD.org
COMMENT= Dropbox API wrapper command
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
MY_DEPENDS= p5-DateTime-Format-Strptime>=0:devel/p5-DateTime-Format-Strptime \
p5-Encode-Locale>=0:converters/p5-Encode-Locale \
p5-JSON>=0:converters/p5-JSON \
p5-Path-Class>=0.26:devel/p5-Path-Class \
p5-WebService-Dropbox>=2.05:net/p5-WebService-Dropbox
BUILD_DEPENDS= ${MY_DEPENDS}
RUN_DEPENDS= ${MY_DEPENDS}
USE_GITHUB= yes
GH_ACCOUNT= s-aska
NO_ARCH= yes
USES= perl5 shebangfix
USE_PERL5= modbuildtiny
bash_CMD= ${SH}
SHEBANG_FILES= script/upload-to-dropbox
.include <bsd.port.mk>