aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Devel-SmallProf
diff options
context:
space:
mode:
authorSergey Skvortsov <skv@FreeBSD.org>2004-08-11 18:03:54 +0000
committerSergey Skvortsov <skv@FreeBSD.org>2004-08-11 18:03:54 +0000
commit7c57fed2cdf2df2170b49820d5f8d6c21def4abe (patch)
tree4eb5b15218f12462d0f3b1680958261c9a53292f /devel/p5-Devel-SmallProf
parente38b9114e6b8b77134b6b9b3e59aac6e9b7ffe8f (diff)
downloadports-7c57fed2cdf2df2170b49820d5f8d6c21def4abe.tar.gz
ports-7c57fed2cdf2df2170b49820d5f8d6c21def4abe.zip
Notes
Diffstat (limited to 'devel/p5-Devel-SmallProf')
-rw-r--r--devel/p5-Devel-SmallProf/Makefile32
-rw-r--r--devel/p5-Devel-SmallProf/distinfo2
-rw-r--r--devel/p5-Devel-SmallProf/pkg-descr6
-rw-r--r--devel/p5-Devel-SmallProf/pkg-plist5
4 files changed, 45 insertions, 0 deletions
diff --git a/devel/p5-Devel-SmallProf/Makefile b/devel/p5-Devel-SmallProf/Makefile
new file mode 100644
index 000000000000..5a1a24c6233a
--- /dev/null
+++ b/devel/p5-Devel-SmallProf/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: Devel-SmallProf
+# Date created: 11 August 2004
+# Whom: Sergey Skvortsov <skv@protey.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Devel-SmallProf
+PORTVERSION= 2.00
+CATEGORIES= devel perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= ../../authors/id/S/SA/SALVA
+PKGNAMEPREFIX= p5-
+DISTNAME= ${PORTNAME}-${PORTVERSION}_02
+
+MAINTAINER= skv@FreeBSD.org
+COMMENT= Per-line Perl profiler
+
+BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+PERL_CONFIGURE= yes
+
+MAN3= Devel::SmallProf.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500800
+IGNORE= "Perl 5.8 or newer required. Install lang/perl5.8 and try again."
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/devel/p5-Devel-SmallProf/distinfo b/devel/p5-Devel-SmallProf/distinfo
new file mode 100644
index 000000000000..52526453fde5
--- /dev/null
+++ b/devel/p5-Devel-SmallProf/distinfo
@@ -0,0 +1,2 @@
+MD5 (Devel-SmallProf-2.00_02.tar.gz) = 6f1a134ee48d0c28d905cb48464c9ac8
+SIZE (Devel-SmallProf-2.00_02.tar.gz) = 9032
diff --git a/devel/p5-Devel-SmallProf/pkg-descr b/devel/p5-Devel-SmallProf/pkg-descr
new file mode 100644
index 000000000000..d9b358534073
--- /dev/null
+++ b/devel/p5-Devel-SmallProf/pkg-descr
@@ -0,0 +1,6 @@
+The Devel::SmallProf profiler is focused on the time taken for a program
+run on a line-by-line basis. It is intended to be as "small" in terms
+of impact on the speed and memory usage of the profiled program as
+possible and also in terms of being simple to use.
+
+WWW: http://search.cpan.org/dist/Devel-SmallProf/
diff --git a/devel/p5-Devel-SmallProf/pkg-plist b/devel/p5-Devel-SmallProf/pkg-plist
new file mode 100644
index 000000000000..0f0d851837ae
--- /dev/null
+++ b/devel/p5-Devel-SmallProf/pkg-plist
@@ -0,0 +1,5 @@
+%%SITE_PERL%%/Devel/SmallProf.pm
+%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/SmallProf/.packlist
+@unexec rmdir %D/%%SITE_PERL%%/Devel 2>/dev/null || true
+@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel/SmallProf
+@unexec rmdir %D/%%SITE_PERL%%/%%PERL_ARCH%%/auto/Devel 2>/dev/null || true