svn commit: r412322 - head/devel/p5-Return-Type
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Fri Apr 1 11:16:16 UTC 2016
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>
More information about the svn-ports-head
mailing list