2011-11-27 14:14:56 +01:00
|
|
|
# New ports collection makefile for: p5-WebService-Dropbox
|
|
|
|
# Date created: 2011-11-25
|
|
|
|
# Whom: Lung-Pin Chang <changlp@cs.nctu.edu.tw>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= WebService-Dropbox
|
2012-08-29 21:00:21 +02:00
|
|
|
PORTVERSION= 1.09
|
2011-11-27 14:14:56 +01:00
|
|
|
CATEGORIES= net perl5
|
|
|
|
MASTER_SITES= CPAN
|
2011-12-03 10:22:20 +01:00
|
|
|
MASTER_SITE_SUBDIR= CPAN:ASKADNA
|
2011-11-27 14:14:56 +01:00
|
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
|
|
|
|
MAINTAINER= changlp@cs.nctu.edu.tw
|
|
|
|
COMMENT= Perl interface to Dropbox API
|
|
|
|
|
2012-08-29 21:00:21 +02:00
|
|
|
LICENSE= ART10 GPLv1
|
|
|
|
LICENSE_COMB= dual
|
|
|
|
|
2011-12-03 10:22:20 +01:00
|
|
|
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}
|
|
|
|
|
2012-07-03 14:12:05 +02:00
|
|
|
OPTIONS_DEFINE= LWP
|
|
|
|
LWP_DESC= Use LWP instead of Furl
|
2011-11-27 14:14:56 +01:00
|
|
|
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
|
2011-12-03 10:22:20 +01:00
|
|
|
MAN3= WebService::Dropbox.3
|
|
|
|
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
|
2012-07-03 14:12:05 +02:00
|
|
|
.if ${PORT_OPTIONS:MLWP}
|
2011-12-03 10:22:20 +01:00
|
|
|
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
|
2011-11-27 14:14:56 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|