aboutsummaryrefslogtreecommitdiff
path: root/net/p5-WebService-Dropbox
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-12-03 09:22:20 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2011-12-03 09:22:20 +0000
commite49a66cbb8b3fcd4f70258b52fe77bea268481c4 (patch)
tree8bf6cc66313fd817944f72c4328fd48d0f48853e /net/p5-WebService-Dropbox
parent4555f140585d4bb7db4ebeec3088060282037c31 (diff)
downloadports-e49a66cbb8b3fcd4f70258b52fe77bea268481c4.tar.gz
ports-e49a66cbb8b3fcd4f70258b52fe77bea268481c4.zip
Notes
Diffstat (limited to 'net/p5-WebService-Dropbox')
-rw-r--r--net/p5-WebService-Dropbox/Makefile25
-rw-r--r--net/p5-WebService-Dropbox/distinfo4
2 files changed, 23 insertions, 6 deletions
diff --git a/net/p5-WebService-Dropbox/Makefile b/net/p5-WebService-Dropbox/Makefile
index 33a6e87db581..430fbcbf27d6 100644
--- a/net/p5-WebService-Dropbox/Makefile
+++ b/net/p5-WebService-Dropbox/Makefile
@@ -6,19 +6,36 @@
#
PORTNAME= WebService-Dropbox
-PORTVERSION= 0.03
+PORTVERSION= 1.00
CATEGORIES= net perl5
MASTER_SITES= CPAN
+MASTER_SITE_SUBDIR= CPAN:ASKADNA
PKGNAMEPREFIX= p5-
MAINTAINER= changlp@cs.nctu.edu.tw
COMMENT= Perl interface to Dropbox API
-RUN_DEPENDS= p5-Net-OAuth>=0:${PORTSDIR}/net/p5-Net-OAuth \
- p5-String-Random>=0:${PORTSDIR}/devel/p5-String-Random
+BUILD_DEPENDS= p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \
+ p5-Net-OAuth>=0.27:${PORTSDIR}/net/p5-Net-OAuth \
+ p5-String-Random>=0.22:${PORTSDIR}/devel/p5-String-Random
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+
+OPTIONS= LWP "Use LWP instead of Furl" off
PERL_CONFIGURE= yes
-MAN3= WebService::Dropbox.3
+MAN3= WebService::Dropbox.3
+
+.include <bsd.port.options.mk>
+
+.if defined(WITH_LWP)
+BUILD_DEPENDS+= p5-LWP-Protocol-https>=6.02:${PORTSDIR}/www/p5-LWP-Protocol-https \
+ p5-libwww>=6.02:${PORTSDIR}/www/p5-libwww
+RUN_DEPENDS+= p5-LWP-Protocol-https>=6.02:${PORTSDIR}/www/p5-LWP-Protocol-https \
+ p5-libwww>=6.02:${PORTSDIR}/www/p5-libwww
+.else
+BUILD_DEPENDS+= p5-Furl>=0.38:${PORTSDIR}/www/p5-Furl
+RUN_DEPENDS+= p5-Furl>=0.38:${PORTSDIR}/www/p5-Furl
+.endif
.include <bsd.port.mk>
diff --git a/net/p5-WebService-Dropbox/distinfo b/net/p5-WebService-Dropbox/distinfo
index a53e8f2ac0fd..c17959184ce1 100644
--- a/net/p5-WebService-Dropbox/distinfo
+++ b/net/p5-WebService-Dropbox/distinfo
@@ -1,2 +1,2 @@
-SHA256 (WebService-Dropbox-0.03.tar.gz) = 756b281d797b4503aba5f4ea6ef9a66c3dc276e32d4b0a264195a20da912c257
-SIZE (WebService-Dropbox-0.03.tar.gz) = 67936
+SHA256 (WebService-Dropbox-1.00.tar.gz) = a55c8f0d4784edddc114cd0f411c8de6f127050ff9575f685176363b2957f4c5
+SIZE (WebService-Dropbox-1.00.tar.gz) = 68365