aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Devel-Profiler
diff options
context:
space:
mode:
authorAndrej Zverev <az@FreeBSD.org>2013-10-04 17:13:12 +0000
committerAndrej Zverev <az@FreeBSD.org>2013-10-04 17:13:12 +0000
commit30d7d310d36b3284ac883203f9d89422852e824a (patch)
treec3ffcb433b7df74e651e02c3608a9a2d292255a3 /devel/p5-Devel-Profiler
parent6ed5b279d7721fbcdca495b1e65218861df5421b (diff)
downloadports-30d7d310d36b3284ac883203f9d89422852e824a.tar.gz
ports-30d7d310d36b3284ac883203f9d89422852e824a.zip
Notes
Diffstat (limited to 'devel/p5-Devel-Profiler')
-rw-r--r--devel/p5-Devel-Profiler/Makefile10
-rw-r--r--devel/p5-Devel-Profiler/pkg-plist3
2 files changed, 9 insertions, 4 deletions
diff --git a/devel/p5-Devel-Profiler/Makefile b/devel/p5-Devel-Profiler/Makefile
index 207c4a31ac46..15fc8da9dd2d 100644
--- a/devel/p5-Devel-Profiler/Makefile
+++ b/devel/p5-Devel-Profiler/Makefile
@@ -16,8 +16,10 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
-MAN3= Devel::Profiler.3 Devel::Profiler::Apache.3 \
- Devel::Profiler::Test.3
+.include <bsd.port.pre.mk>
-NO_STAGE= yes
-.include <bsd.port.mk>
+.if ${PERL_LEVEL} > 501600
+IGNORE= Devel::DProf has been removed from the Perl core, use Devel::NYTProf instead
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Devel-Profiler/pkg-plist b/devel/p5-Devel-Profiler/pkg-plist
index 5ac63f683c9f..69a59263bd80 100644
--- a/devel/p5-Devel-Profiler/pkg-plist
+++ b/devel/p5-Devel-Profiler/pkg-plist
@@ -2,6 +2,9 @@
%%SITE_PERL%%/Devel/Profiler.pm
%%SITE_PERL%%/Devel/Profiler/Apache.pm
%%SITE_PERL%%/Devel/Profiler/Test.pm
+%%PERL5_MAN3%%/Devel::Profiler.3.gz
+%%PERL5_MAN3%%/Devel::Profiler::Apache.3.gz
+%%PERL5_MAN3%%/Devel::Profiler::Test.3.gz
@dirrm %%SITE_PERL%%/Devel/Profiler
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/Profiler
@dirrmtry %%SITE_PERL%%/Devel