aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2011-12-03 17:22:20 +0800
committersunpoet <sunpoet@FreeBSD.org>2011-12-03 17:22:20 +0800
commitbb24d88a7948ed9e30f77f2450fc757faefc70c9 (patch)
treef04fa55de30d0fa14b9e9cca45cdacdd8825c126 /net
parent6af339d99bcba42281cf8d50cf9fefd4dc8ee611 (diff)
downloadfreebsd-ports-gnome-bb24d88a7948ed9e30f77f2450fc757faefc70c9.tar.gz
freebsd-ports-gnome-bb24d88a7948ed9e30f77f2450fc757faefc70c9.tar.zst
freebsd-ports-gnome-bb24d88a7948ed9e30f77f2450fc757faefc70c9.zip
- Update to 1.00
- Add BUILD_DEPENDS - Add OPTIONS: LWP for using LWP instead of Furl Changes: http://search.cpan.org/dist/WebService-Dropbox/Changes PR: ports/163010 Submitted by: sunpoet (myself) Approved by: Lung-Pin Chang <changlp@cs.nctu.edu.tw> (maintainer) Feature safe: yes
Diffstat (limited to 'net')
-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