- Fix *_DEPENDS:

- Exporter and base are runtime dependencies
  - Use TEST_DEPENDS
  - Check PERL_LEVEL:
    - p5-Test-Simple is required for perl5.12 users only
    - p5-base and p5-Carp are required for perl5.12 and perl5.14 users only
- Add LICENSE
- Bump PORTREVISION for dependency change
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2013-08-25 03:37:30 +00:00
parent 668ee1dd3c
commit cc964c4fca
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=325324

View file

@ -3,6 +3,7 @@
PORTNAME= IO-Pipely
PORTVERSION= 0.005
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@ -10,14 +11,28 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Portably create pipe() or pipe-like handles, one way or another
BUILD_DEPENDS= p5-Carp>=1.26:${PORTSDIR}/devel/p5-Carp \
p5-Exporter>=5.68:${PORTSDIR}/devel/p5-Exporter \
p5-base>=2.18:${PORTSDIR}/devel/p5-base \
p5-Scalar-List-Utils>=1.29:${PORTSDIR}/lang/p5-Scalar-List-Utils
LICENSE= ART10 GPLv1
LICENSE_COMB= dual
BUILD_DEPENDS= p5-Exporter>=5.68:${PORTSDIR}/devel/p5-Exporter
RUN_DEPENDS:= ${BUILD_DEPENDS}
TEST_DEPENDS= p5-Scalar-List-Utils>=1.29:${PORTSDIR}/lang/p5-Scalar-List-Utils
USES= perl5
USE_PERL5= configure
USES= perl5
MAN3= IO::Pipely.3
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 501400
TEST_DEPENDS+= p5-Test-Simple>=0.98:${PORTSDIR}/devel/p5-Test-Simple
.endif
.if ${PERL_LEVEL} < 501600
BUILD_DEPENDS+= p5-base>=2.18:${PORTSDIR}/devel/p5-base
RUN_DEPENDS+= p5-base>=2.18:${PORTSDIR}/devel/p5-base
TEST_DEPENDS+= p5-Carp>=1.26:${PORTSDIR}/devel/p5-Carp
.endif
.include <bsd.port.post.mk>