diff options
author | swills <swills@FreeBSD.org> | 2012-02-26 05:11:47 +0800 |
---|---|---|
committer | swills <swills@FreeBSD.org> | 2012-02-26 05:11:47 +0800 |
commit | bf5f33c73ed6ef2d6379654a54c9ca50244169e7 (patch) | |
tree | a9585914f87bf67a64ba250f9edfba8268eccd21 /net/p5-Net-Jifty | |
parent | 66934b4b4b6c7a11e8935a357c443354083879df (diff) | |
download | freebsd-ports-gnome-bf5f33c73ed6ef2d6379654a54c9ca50244169e7.tar.gz freebsd-ports-gnome-bf5f33c73ed6ef2d6379654a54c9ca50244169e7.tar.zst freebsd-ports-gnome-bf5f33c73ed6ef2d6379654a54c9ca50244169e7.zip |
- Avoid use of SITE_PERL in BUILD/RUN DEPENDS
- Add TEST_DEPENDS to enable testing
PR: ports/164778
Submitted by: swills (myself)
Approved by: maintainer timeout (clsung, > 2 weeks)
Diffstat (limited to 'net/p5-Net-Jifty')
-rw-r--r-- | net/p5-Net-Jifty/Makefile | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/net/p5-Net-Jifty/Makefile b/net/p5-Net-Jifty/Makefile index dab27d3c12af..53077db60676 100644 --- a/net/p5-Net-Jifty/Makefile +++ b/net/p5-Net-Jifty/Makefile @@ -15,18 +15,26 @@ MAINTAINER= clsung@FreeBSD.org COMMENT= Perl interface to online Jifty applications RUN_DEPENDS= p5-libwww>=0:${PORTSDIR}/www/p5-libwww \ - ${SITE_PERL}/${PERL_ARCH}/Term/ReadKey.pm:${PORTSDIR}/devel/p5-Term-ReadKey \ - ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime \ - ${SITE_PERL}/URI.pm:${PORTSDIR}/net/p5-URI \ - ${SITE_PERL}/YAML.pm:${PORTSDIR}/textproc/p5-YAML \ - ${SITE_PERL}/Email/Address.pm:${PORTSDIR}/mail/p5-Email-Address \ - ${SITE_PERL}/Hash/Merge.pm:${PORTSDIR}/textproc/p5-Hash-Merge \ - ${SITE_PERL}/Path/Class.pm:${PORTSDIR}/devel/p5-Path-Class \ - ${SITE_PERL}/Any/Moose.pm:${PORTSDIR}/devel/p5-Any-Moose -BUILD_DEPENDS= ${RUN_DEPENDS} + p5-Term-ReadKey>=0:${PORTSDIR}/devel/p5-Term-ReadKey \ + p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \ + p5-URI>=0:${PORTSDIR}/net/p5-URI \ + p5-YAML>=0:${PORTSDIR}/textproc/p5-YAML \ + p5-Email-Address>=0:${PORTSDIR}/mail/p5-Email-Address \ + p5-Hash-Merge>=0:${PORTSDIR}/textproc/p5-Hash-Merge \ + p5-Path-Class>=0:${PORTSDIR}/devel/p5-Path-Class \ + p5-Any-Moose>=0.04:${PORTSDIR}/devel/p5-Any-Moose +BUILD_DEPENDS:= ${RUN_DEPENDS} +TEST_DEPENDS= p5-Test-MockObject>=0:${PORTSDIR}/devel/p5-Test-MockObject PERL_CONFIGURE= yes MAN3= Net::Jifty.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501400 +RUN_DEPENDS+= p5-Encode>=2.41:${PORTSDIR}/converters/p5-Encode +BUILD_DEPENDS+= p5-Encode>=2.41:${PORTSDIR}/converters/p5-Encode +.endif + +.include <bsd.port.post.mk> |