Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Apr 2016 11:16:14 +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: r412322 - head/devel/p5-Return-Type
Message-ID:  <201604011116.u31BGEVW002853@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Fri Apr  1 11:16:14 2016
New Revision: 412322
URL: https://svnweb.freebsd.org/changeset/ports/412322

Log:
  - Add LICENSE_FILE
  - Fix *_DEPENDS
  - Update *_DEPENDS: remove PORTSDIR
  - Bump PORTREVISION for dependency change

Modified:
  head/devel/p5-Return-Type/Makefile

Modified: head/devel/p5-Return-Type/Makefile
==============================================================================
--- head/devel/p5-Return-Type/Makefile	Fri Apr  1 09:08:52 2016	(r412321)
+++ head/devel/p5-Return-Type/Makefile	Fri Apr  1 11:16:14 2016	(r412322)
@@ -3,7 +3,7 @@
 
 PORTNAME=	Return-Type
 PORTVERSION=	0.005
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	devel perl5
 MASTER_SITES=	CPAN
 MASTER_SITE_SUBDIR=	CPAN:TOBYINK
@@ -14,12 +14,20 @@ COMMENT=	Specify a return type for a fun
 
 LICENSE=	ART10 GPLv1
 LICENSE_COMB=	dual
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BUILD_DEPENDS=	p5-Type-Tiny>=0:${PORTSDIR}/devel/p5-Type-Tiny
+BUILD_DEPENDS=	p5-Type-Tiny>=0:devel/p5-Type-Tiny
 RUN_DEPENDS:=	${BUILD_DEPENDS}
-TEST_DEPENDS=	p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal
+TEST_DEPENDS=	p5-Test-Fatal>=0:devel/p5-Test-Fatal
 
 USE_PERL5=	configure
 USES=		perl5
 
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 502200
+BUILD_DEPENDS+=	p5-Scalar-List-Utils>=0:lang/p5-Scalar-List-Utils
+RUN_DEPENDS+=	p5-Scalar-List-Utils>=0:lang/p5-Scalar-List-Utils
+.endif
+
+.include <bsd.port.post.mk>



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