mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
73a3e3b7c8
- Add LICENSE (Artistic 1 & GPL 1) Changes: http://search.cpan.org/dist/WebService-Dropbox/Changes PR: ports/171150 [1] Submitted by: Lung-Pin Chang <changlp@cs.nctu.edu.tw> (maintainer)
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
# 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
|
|
PORTVERSION= 1.09
|
|
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
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
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_DEFINE= LWP
|
|
LWP_DESC= Use LWP instead of Furl
|
|
|
|
PERL_CONFIGURE= yes
|
|
|
|
MAN3= WebService::Dropbox.3
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
.if ${PORT_OPTIONS:MLWP}
|
|
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>
|