summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2003-08-09 12:56:05 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2003-08-09 12:56:05 +0000
commit962ed373e2b2b7ffcd52aa15015fb568a6a338af (patch)
tree15b713e96d9d6fadace771224c5b44d5ec35696e /devel
parentUpdated to 0.5.4 (diff)
IGNORE if perl < 5.6.x
Pointed by: kris
Notes
Notes: svn path=/head/; revision=86639
Diffstat (limited to 'devel')
-rw-r--r--devel/p5-Devel-Profiler/Makefile11
-rw-r--r--devel/p5-Devel-Profiler/pkg-descr2
-rw-r--r--devel/p5-Devel-Profiler/pkg-plist16
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