Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Aug 2013 03:37:30 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r325324 - head/devel/p5-IO-Pipely
Message-ID:  <201308250337.r7P3bUvk081530@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308250337.r7P3bUvk081530>