diff options
author | mm <mm@FreeBSD.org> | 2010-09-22 00:08:11 +0800 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2010-09-22 00:08:11 +0800 |
commit | 66250384aac316bb7c7e78e17a9f60ee4eef0d73 (patch) | |
tree | ac1208411d08a7a297bc4f544163f0a43e756b59 /www/p5-Business-PayPal | |
parent | 48de0cba3d21dae83e5b1fed09e41e79380ef9ec (diff) | |
download | freebsd-ports-gnome-66250384aac316bb7c7e78e17a9f60ee4eef0d73.tar.gz freebsd-ports-gnome-66250384aac316bb7c7e78e17a9f60ee4eef0d73.tar.zst freebsd-ports-gnome-66250384aac316bb7c7e78e17a9f60ee4eef0d73.zip |
Explicitly depend on p5-Digest-MD5 only if PERL_LEVEL < 500703
Explicitly depend on p5-Digest-SHA only if PERL_LEVEL < 501000
Diffstat (limited to 'www/p5-Business-PayPal')
-rw-r--r-- | www/p5-Business-PayPal/Makefile | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/www/p5-Business-PayPal/Makefile b/www/p5-Business-PayPal/Makefile index 9203aae52128..40654d09c3ee 100644 --- a/www/p5-Business-PayPal/Makefile +++ b/www/p5-Business-PayPal/Makefile @@ -7,6 +7,7 @@ PORTNAME= Business-PayPal PORTVERSION= 0.04 +PORTREVISION= 1 CATEGORIES= www perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- @@ -14,13 +15,18 @@ PKGNAMEPREFIX= p5- MAINTAINER= skreuzer@FreeBSD.org COMMENT= Perl extension for automating PayPal transactions -BUILD_DEPENDS= p5-Net-SSLeay>=1.35:${PORTSDIR}/security/p5-Net-SSLeay \ - p5-Digest-MD5>=2.38:${PORTSDIR}/security/p5-Digest-MD5 \ +RUN_DEPENDS= p5-Net-SSLeay>=1.35:${PORTSDIR}/security/p5-Net-SSLeay \ p5-CGI.pm>=3.49:${PORTSDIR}/www/p5-CGI.pm -RUN_DEPENDS= ${BUILD_DEPENDS} +BUILD_DEPENDS= ${RUN_DEPENDS} PERL_CONFIGURE= yes MAN3= Business::PayPal.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500703 +RUN_DEPENDS+= p5-Digest-MD5>=2.16:${PORTSDIR}/security/p5-Digest-MD5 +.endif + +.include <bsd.port.post.mk> |