1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/devel/p5-IO-Pipely/Makefile
Sunpoet Po-Chuan Hsieh cc964c4fca - 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
2013-08-25 03:37:30 +00:00

39 lines
894 B
Makefile

# Created by: Mathieu Arnold
# $FreeBSD$
PORTNAME= IO-Pipely
PORTVERSION= 0.005
PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Portably create pipe() or pipe-like handles, one way or another
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
USE_PERL5= configure
USES= perl5
MAN3= IO::Pipely.3
.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>