aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorculot <culot@FreeBSD.org>2014-03-06 22:09:11 +0800
committerculot <culot@FreeBSD.org>2014-03-06 22:09:11 +0800
commitae8baa0f2333be0b676e1eb4ed13f16742452a62 (patch)
treeeb58c0b62e3a8db2240ef266337abde8e9cafe61 /devel
parentbcb0044c7748ad782b70c1ae19c98c17733782ba (diff)
downloadfreebsd-ports-gnome-ae8baa0f2333be0b676e1eb4ed13f16742452a62.tar.gz
freebsd-ports-gnome-ae8baa0f2333be0b676e1eb4ed13f16742452a62.tar.zst
freebsd-ports-gnome-ae8baa0f2333be0b676e1eb4ed13f16742452a62.zip
- Fix dependencies
- Add LICENSE (Artistic 1 & GPL 1) PR: ports/186632 Submitted by: culot@ Approved by: kuriyama@ (maintainer timeout, >14 days)
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-File-ShareDir-ProjectDistDir/Makefile23
1 files changed, 17 insertions, 6 deletions
diff --git a/devel/p5-File-ShareDir-ProjectDistDir/Makefile b/devel/p5-File-ShareDir-ProjectDistDir/Makefile
index 145fe0614a64..f6a8582f06f6 100644
--- a/devel/p5-File-ShareDir-ProjectDistDir/Makefile
+++ b/devel/p5-File-ShareDir-ProjectDistDir/Makefile
@@ -2,6 +2,7 @@
PORTNAME= File-ShareDir-ProjectDistDir
PORTVERSION= 0.5.2
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@@ -9,14 +10,24 @@ PKGNAMEPREFIX= p5-
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Perl extension for set-and-forget using a directory in projects root
-RUN_DEPENDS= \
- p5-File-ShareDir>0:${PORTSDIR}/devel/p5-File-ShareDir \
- p5-Path-Class>0:${PORTSDIR}/devel/p5-Path-Class \
- p5-Sub-Exporter>0:${PORTSDIR}/devel/p5-Sub-Exporter
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
+RUN_DEPENDS= p5-File-ShareDir>0:${PORTSDIR}/devel/p5-File-ShareDir \
+ p5-Path-Class>0:${PORTSDIR}/devel/p5-Path-Class \
+ p5-Path-FindDev>0:${PORTSDIR}/devel/p5-Path-FindDev \
+ p5-Path-IsDev>0:${PORTSDIR}/devel/p5-Path-IsDev \
+ p5-Path-Tiny>0:${PORTSDIR}/devel/p5-Path-Tiny \
+ p5-Sub-Exporter>0:${PORTSDIR}/devel/p5-Sub-Exporter
BUILD_DEPENDS:= ${RUN_DEPENDS}
-TEST_DEPENDS= p5-Test-Simple>=0.96:${PORTSDIR}/devel/p5-Test-Simple
USES= perl5
USE_PERL5= modbuild
-.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
+
+.include <bsd.port.post.mk>