IGNORE if perl < 5.6.x

Pointed by:	kris
This commit is contained in:
Sergey Skvortsov 2003-08-09 12:56:05 +00:00
parent 2ef08ac096
commit 962ed373e2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=86639
3 changed files with 17 additions and 12 deletions

View file

@ -15,13 +15,18 @@ PKGNAMEPREFIX= p5-
MAINTAINER= skv@FreeBSD.org
COMMENT= A Perl profiler compatible with dprofpp
BUILD_DEPENDS= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
RUN_DEPENDS= ${BUILD_DEPENDS}
PERL_CONFIGURE= yes
MANPREFIX= ${PREFIX}/lib/perl5/${PERL_VERSION}
MAN3= Devel::Profiler.3 Devel::Profiler::Apache.3 \
Devel::Profiler::Test.3
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${PERL_LEVEL} < 500600
IGNORE= "Perl 5.6 or newer required. Install lang/perl5 or lang/perl5.8 and try again."
.endif
.include <bsd.port.post.mk>

View file

@ -5,7 +5,7 @@ It is meant to be a drop-in replacement for Devel::DProf.
NOTE: If Devel::DProf works for your application then there is no reason
to use this module.
WWW: http://search.cpan.org/search?dist=Devel-Profiler
WWW: http://search.cpan.org/dist/Devel-Profiler/
-- Sergey Skvortsov
skv@FreeBSD.org

View file

@ -1,8 +1,8 @@
lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Devel/Profiler/.packlist
lib/perl5/site_perl/%%PERL_VER%%/Devel/Profiler.pm
lib/perl5/site_perl/%%PERL_VER%%/Devel/Profiler/Apache.pm
lib/perl5/site_perl/%%PERL_VER%%/Devel/Profiler/Test.pm
@dirrm lib/perl5/site_perl/%%PERL_VER%%/Devel/Profiler
@dirrm lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Devel/Profiler
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/Devel 2>/dev/null || true
@unexec rmdir %D/lib/perl5/site_perl/%%PERL_VER%%/%%PERL_ARCH%%/auto/Devel 2>/dev/null || true
%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/Profiler/.packlist
%%SITE_PERL%%/Devel/Profiler.pm
%%SITE_PERL%%/Devel/Profiler/Apache.pm
%%SITE_PERL%%/Devel/Profiler/Test.pm
@dirrm %%SITE_PERL%%/Devel/Profiler
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/Profiler
@unexec rmdir %D/%%SITE_PERL%%/Devel 2>/dev/null || true
@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel 2>/dev/null || true