diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-05-18 09:25:16 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-05-18 09:25:16 +0000 |
commit | c1b4b977ce42b7b6f4b9158ea161e9d94025d945 (patch) | |
tree | af500cc7671198f6925c504de39c7c00edee4967 /net/p5-Net-Google-Spreadsheets/Makefile | |
parent | ed557114e539f75fbf309a9f67bf107ca1408380 (diff) | |
download | ports-c1b4b977ce42b7b6f4b9158ea161e9d94025d945.tar.gz ports-c1b4b977ce42b7b6f4b9158ea161e9d94025d945.zip |
Notes
Diffstat (limited to 'net/p5-Net-Google-Spreadsheets/Makefile')
-rw-r--r-- | net/p5-Net-Google-Spreadsheets/Makefile | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/net/p5-Net-Google-Spreadsheets/Makefile b/net/p5-Net-Google-Spreadsheets/Makefile index 47692af82f1c..8d41543fb3c1 100644 --- a/net/p5-Net-Google-Spreadsheets/Makefile +++ b/net/p5-Net-Google-Spreadsheets/Makefile @@ -6,26 +6,27 @@ # PORTNAME= Net-Google-Spreadsheets -PORTVERSION= 0.14 +PORTVERSION= 0.15.01 CATEGORIES= net perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- +DISTNAME= ${PORTNAME}-${PORTVERSION:R}${PORTVERSION:E} MAINTAINER= gunter@six-two.net COMMENT= A Perl module for using Google Spreadhseets API -BUILD_DEPENDS= ${SITE_PERL}/XML/Atom.pm:${PORTSDIR}/textproc/p5-XML-Atom \ - ${SITE_PERL}/Net/Google/AuthSub.pm:${PORTSDIR}/net/p5-Net-Google-AuthSub \ - ${SITE_PERL}/Net/Google/DataAPI.pm:${PORTSDIR}/net/p5-Net-Google-DataAPI \ - ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \ - ${SITE_PERL}/namespace/autoclean.pm:${PORTSDIR}/devel/p5-namespace-autoclean \ - ${SITE_PERL}/Any/Moose.pm:${PORTSDIR}/devel/p5-Any-Moose \ - ${SITE_PERL}/Test/Exception.pm:${PORTSDIR}/devel/p5-Test-Exception \ - ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple \ - ${SITE_PERL}/Test/MockModule.pm:${PORTSDIR}/devel/p5-Test-MockModule \ - ${SITE_PERL}/Test/MockObject.pm:${PORTSDIR}/devel/p5-Test-MockObject +BUILD_DEPENDS= p5-Any-Moose>=0:${PORTSDIR}/devel/p5-Any-Moose \ + p5-Mouse>=0.51:${PORTSDIR}/devel/p5-Mouse \ + p5-Net-Google-AuthSub>=0:${PORTSDIR}/net/p5-Net-Google-AuthSub \ + p5-Net-Google-DataAPI>=0.27:${PORTSDIR}/net/p5-Net-Google-DataAPI \ + p5-URI>=0:${PORTSDIR}/net/p5-URI \ + p5-XML-Atom>=0:${PORTSDIR}/textproc/p5-XML-Atom RUN_DEPENDS:= ${BUILD_DEPENDS} +TEST_DEPENDS= p5-Test-Exception>=0:${PORTSDIR}/devel/p5-Test-Exception \ + p5-Test-MockModule>=0:${PORTSDIR}/devel/p5-Test-MockModule \ + p5-Test-MockObject>=0:${PORTSDIR}/devel/p5-Test-MockObject + PERL_CONFIGURE= yes MAN3= Net::Google::Spreadsheets.3 \ @@ -36,4 +37,10 @@ MAN3= Net::Google::Spreadsheets.3 \ Net::Google::Spreadsheets::Table.3 \ Net::Google::Spreadsheets::Worksheet.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501001 +TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include <bsd.port.post.mk> |