diff options
| author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-04-21 18:04:19 +0000 |
|---|---|---|
| committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2012-04-21 18:04:19 +0000 |
| commit | fd84c1f5635e3bbf248017845c0a7639c8af3149 (patch) | |
| tree | ba4307405bddb75a4020f58c27ec081a805981fe | |
| parent | - Update to 0.0.8.12 (diff) | |
- Fix *_DEPENDS: p5-HTTP-Tiny is in core since Perl 5.13.9 (check PERL_LEVEL against 501400)
- Bump PORTREVISION for dependency change
PR: ports/167143
Submitted by: sunpoet (myself)
Approved by: Denny Lin <dennylin93@hs.ntnu.edu.tw> (maintainer)
Notes
Notes:
svn path=/head/; revision=295203
| -rw-r--r-- | www/p5-WWW-GitHub-Gist/Makefile | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/www/p5-WWW-GitHub-Gist/Makefile b/www/p5-WWW-GitHub-Gist/Makefile index bc5ee9f2f252..e2320c4846af 100644 --- a/www/p5-WWW-GitHub-Gist/Makefile +++ b/www/p5-WWW-GitHub-Gist/Makefile @@ -7,17 +7,15 @@ PORTNAME= WWW-GitHub-Gist PORTVERSION= 0.13 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www perl5 MASTER_SITES= CPAN -MASTER_SITE_SUBDIR= CPAN:ALEXBIO PKGNAMEPREFIX= p5- MAINTAINER= dennylin93@hs.ntnu.edu.tw COMMENT= Perl interface to Gist BUILD_DEPENDS= p5-Any-Moose>=0:${PORTSDIR}/devel/p5-Any-Moose \ - p5-HTTP-Tiny>=0:${PORTSDIR}/www/p5-HTTP-Tiny \ p5-JSON>=0:${PORTSDIR}/converters/p5-JSON \ p5-URI>=0:${PORTSDIR}/net/p5-URI RUN_DEPENDS:= ${BUILD_DEPENDS} @@ -28,4 +26,11 @@ MAN3= WWW::GitHub::Gist.3 \ WWW::GitHub::Gist::v2.3 \ WWW::GitHub::Gist::v3.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 501400 +BUILD_DEPENDS+= p5-HTTP-Tiny>=0:${PORTSDIR}/www/p5-HTTP-Tiny +RUN_DEPENDS+= p5-HTTP-Tiny>=0:${PORTSDIR}/www/p5-HTTP-Tiny +.endif + +.include <bsd.port.post.mk> |
