aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorculot <culot@FreeBSD.org>2011-07-17 15:28:22 +0800
committerculot <culot@FreeBSD.org>2011-07-17 15:28:22 +0800
commit60bffe460886660fea1ee7b2c6f1170d162b52fb (patch)
treedaa3f5963dc0a024e0f3266f4b5c45e39a6928d0
parent32c6bef6ca680f678419ba75e833aff8fc9dc78f (diff)
downloadfreebsd-ports-gnome-60bffe460886660fea1ee7b2c6f1170d162b52fb.tar.gz
freebsd-ports-gnome-60bffe460886660fea1ee7b2c6f1170d162b52fb.tar.zst
freebsd-ports-gnome-60bffe460886660fea1ee7b2c6f1170d162b52fb.zip
- Make use of the CPAN:SUBDIR macro
- Add LICENSE (Artistic 1 & GPL1) - Include Test-Simple conditionally (required version in core since Perl5.10.1) PR: ports/158972 Submitted by: milki <milki@rescomp.berkeley.edu> (maintainer)
-rw-r--r--devel/p5-Dist-CheckConflicts/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/devel/p5-Dist-CheckConflicts/Makefile b/devel/p5-Dist-CheckConflicts/Makefile
index 8bd2e758b183..d9efad5b7192 100644
--- a/devel/p5-Dist-CheckConflicts/Makefile
+++ b/devel/p5-Dist-CheckConflicts/Makefile
@@ -9,20 +9,28 @@ PORTNAME= Dist-CheckConflicts
PORTVERSION= 0.02
CATEGORIES= devel perl5
MASTER_SITES= CPAN
-MASTER_SITE_SUBDIR= ../by-authors/id/D/DO/DOY
+MASTER_SITE_SUBDIR= CPAN:DOY
PKGNAMEPREFIX= p5-
MAINTAINER= milki@rescomp.berkeley.edu
COMMENT= Declare version conflicts for your dist
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
+
RUN_DEPENDS= p5-List-MoreUtils>=0.12:${PORTSDIR}/lang/p5-List-MoreUtils \
- p5-Sub-Exporter>=0:${PORTSDIR}/devel/p5-Sub-Exporter
+ p5-Sub-Exporter>=0:${PORTSDIR}/devel/p5-Sub-Exporter
+
+TEST_DEPENDS= p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal
+
+.include <bsd.port.pre.mk>
-TEST_DEPENDS= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple \
- p5-Test-Fatal>=0:${PORTSDIR}/devel/p5-Test-Fatal \
+.if ${PERL_LEVEL} < 501001
+TEST_DEPENDS+= p5-Test-Simple>=0.88:${PORTSDIR}/devel/p5-Test-Simple
+.endif
PERL_CONFIGURE= YES
MAN3= Dist::CheckConflicts.3
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>