diff options
author | Edwin Groothuis <edwin@FreeBSD.org> | 2003-04-13 12:28:23 +0000 |
---|---|---|
committer | Edwin Groothuis <edwin@FreeBSD.org> | 2003-04-13 12:28:23 +0000 |
commit | 927c9c2190303cbf488da40b21aa8f687198bb23 (patch) | |
tree | b50875b389c063d1bcadc768e710973b1992efd2 /devel/p5-Test-Differences | |
parent | 2a6d3bd8e2df3f99bd5bc37be426951c272419b9 (diff) | |
download | ports-927c9c2190303cbf488da40b21aa8f687198bb23.tar.gz ports-927c9c2190303cbf488da40b21aa8f687198bb23.zip |
Notes
Diffstat (limited to 'devel/p5-Test-Differences')
-rw-r--r-- | devel/p5-Test-Differences/Makefile | 13 | ||||
-rw-r--r-- | devel/p5-Test-Differences/pkg-plist | 1 |
2 files changed, 10 insertions, 4 deletions
diff --git a/devel/p5-Test-Differences/Makefile b/devel/p5-Test-Differences/Makefile index eccb1990ab4a..2eb51d4bcec0 100644 --- a/devel/p5-Test-Differences/Makefile +++ b/devel/p5-Test-Differences/Makefile @@ -15,13 +15,18 @@ PKGNAMEPREFIX= p5- MAINTAINER= erwin@lansing.dk COMMENT= Test::Differences - Test strings and data structures for differences -BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Text/Diff.pm:${PORTSDIR}/textproc/p5-Text-Diff \ - ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple +BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Text/Diff.pm:${PORTSDIR}/textproc/p5-Text-Diff RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes -MAN3PREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION} MAN3= Test::Differences.3 -.include <bsd.port.mk> +.include <bsd.port.pre.mk> + +.if ${PERL_LEVEL} < 500800 +BUILD_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple +RUN_DEPENDS+= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple +.endif + +.include <bsd.port.post.mk> diff --git a/devel/p5-Test-Differences/pkg-plist b/devel/p5-Test-Differences/pkg-plist index 8aa384cfe880..aaa76fc4d837 100644 --- a/devel/p5-Test-Differences/pkg-plist +++ b/devel/p5-Test-Differences/pkg-plist @@ -1,4 +1,5 @@ lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Test/Differences/.packlist lib/perl5/site_perl/%%PERL_VER%%/Test/Differences.pm @dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Test/Differences +@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/mach/auto/Test 2>/dev/null || true @unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Test 2>/dev/null || true |