svn commit: r325324 - head/devel/p5-IO-Pipely
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Aug 25 03:37:31 UTC 2013
Author: sunpoet
Date: Sun Aug 25 03:37:30 2013
New Revision: 325324
URL: http://svnweb.freebsd.org/changeset/ports/325324
Log:
- 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
Modified:
head/devel/p5-IO-Pipely/Makefile (contents, props changed)
Modified: head/devel/p5-IO-Pipely/Makefile
==============================================================================
--- head/devel/p5-IO-Pipely/Makefile Sun Aug 25 02:07:08 2013 (r325323)
+++ head/devel/p5-IO-Pipely/Makefile Sun Aug 25 03:37:30 2013 (r325324)
@@ -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 at 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>
More information about the svn-ports-head
mailing list