diff options
author | skv <skv@FreeBSD.org> | 2003-08-09 20:56:05 +0800 |
---|---|---|
committer | skv <skv@FreeBSD.org> | 2003-08-09 20:56:05 +0800 |
commit | d17a1b23c02a81931c776af5050d0f32f4f58d46 (patch) | |
tree | 1b6367c891f3cc939a598d03a4baf4ad4aa4ab42 | |
parent | 8d96d3ecef17bc3de9ecd4bff7a3cb5595b6c6b6 (diff) | |
download | freebsd-ports-gnome-d17a1b23c02a81931c776af5050d0f32f4f58d46.tar.gz freebsd-ports-gnome-d17a1b23c02a81931c776af5050d0f32f4f58d46.tar.zst freebsd-ports-gnome-d17a1b23c02a81931c776af5050d0f32f4f58d46.zip |
IGNORE if perl < 5.6.x
Pointed by: kris
-rw-r--r-- | devel/p5-Devel-Profiler/Makefile | 11 | ||||
-rw-r--r-- | devel/p5-Devel-Profiler/pkg-descr | 2 | ||||
-rw-r--r-- | devel/p5-Devel-Profiler/pkg-plist | 16 |
3 files changed, 17 insertions, 12 deletions
diff --git a/devel/p5-Devel-Profiler/Makefile b/devel/p5-Devel-Profiler/Makefile index aad447342403..24e6d26c77cd 100644 --- a/devel/p5-Devel-Profiler/Makefile +++ b/devel/p5-Devel-Profiler/Makefile @@ -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> diff --git a/devel/p5-Devel-Profiler/pkg-descr b/devel/p5-Devel-Profiler/pkg-descr index f9fd622da616..66f5e75a70af 100644 --- a/devel/p5-Devel-Profiler/pkg-descr +++ b/devel/p5-Devel-Profiler/pkg-descr @@ -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 diff --git a/devel/p5-Devel-Profiler/pkg-plist b/devel/p5-Devel-Profiler/pkg-plist index 4a0a8d43d0c9..7eb144f16086 100644 --- a/devel/p5-Devel-Profiler/pkg-plist +++ b/devel/p5-Devel-Profiler/pkg-plist @@ -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 |