diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-04-11 00:48:13 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2017-04-11 00:48:13 +0000 |
commit | 07a6c7ead0424344f6514a030aad9cabf2ea97f5 (patch) | |
tree | d1af49c803d71d52a08e72cfc9cf6b942d4b0e54 /net/p5-Net | |
parent | ab08e45fe757db7d9c5b1bc9450ed90aca953640 (diff) | |
download | ports-07a6c7ead0424344f6514a030aad9cabf2ea97f5.tar.gz ports-07a6c7ead0424344f6514a030aad9cabf2ea97f5.zip |
Fix *_DEPENDS
- Add LICENSE_FILE
- Bump PORTREVISION for dependency change
Notes
Notes:
svn path=/head/; revision=438237
Diffstat (limited to 'net/p5-Net')
-rw-r--r-- | net/p5-Net/Makefile | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/net/p5-Net/Makefile b/net/p5-Net/Makefile index 21f90281eb96..a75731a60d20 100644 --- a/net/p5-Net/Makefile +++ b/net/p5-Net/Makefile @@ -3,7 +3,7 @@ PORTNAME= Net PORTVERSION= 3.10 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= net perl5 MASTER_SITES= CPAN @@ -15,9 +15,8 @@ COMMENT= Perl5 modules to access and use network protocols LICENSE= ART10 GPLv1 LICENSE_COMB= dual - -BUILD_DEPENDS= p5-Socket>=2.016:net/p5-Socket -RUN_DEPENDS:= ${BUILD_DEPENDS} +LICENSE_FILE_ART10= ${WRKSRC}/Artistic +LICENSE_FILE_GPLv1= ${WRKSRC}/Copying OPTIONS_DEFINE= SASL SSL OPTIONS_DEFAULT=SASL SSL @@ -33,4 +32,11 @@ NO_ARCH= yes USES= perl5 USE_PERL5= configure -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 502200 +BUILD_DEPENDS+= p5-Socket>=2.016:net/p5-Socket +RUN_DEPENDS+= p5-Socket>=2.016:net/p5-Socket +.endif + +.include <bsd.port.post.mk> |