summaryrefslogtreecommitdiffstats
path: root/benchmarks/p5-Benchmark-Stopwatch/Makefile
diff options
context:
space:
mode:
authorclsung <clsung@FreeBSD.org>2006-09-30 08:08:28 +0000
committerclsung <clsung@FreeBSD.org>2006-09-30 08:08:28 +0000
commit00e0af0262182eccb01b989b94db48364ea3fdfc (patch)
treecf8e67cdf05d87967628e82fda41c07dbd3906b7 /benchmarks/p5-Benchmark-Stopwatch/Makefile
parente2eae8b8321fac807bb1a1b0099f09856975e935 (diff)
downloadFreeBSD-ports-00e0af0262182eccb01b989b94db48364ea3fdfc.zip
FreeBSD-ports-00e0af0262182eccb01b989b94db48364ea3fdfc.tar.gz
Add p5-Benchmark-Stopwatch 0.03, simple timing of stages of your code.
PR: ports/102468 Submitted by: Gea-Suan Lin <gslin at gslin.org>
Diffstat (limited to 'benchmarks/p5-Benchmark-Stopwatch/Makefile')
-rw-r--r--benchmarks/p5-Benchmark-Stopwatch/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/benchmarks/p5-Benchmark-Stopwatch/Makefile b/benchmarks/p5-Benchmark-Stopwatch/Makefile
new file mode 100644
index 0000000..91b5aea
--- /dev/null
+++ b/benchmarks/p5-Benchmark-Stopwatch/Makefile
@@ -0,0 +1,37 @@
+# New ports collection makefile for: p5-Benchmark-Stopwatch
+# Date created: 2006-08-24
+# Whom: Gea-Suan Lin <gslin@gslin.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= Benchmark-Stopwatch
+PORTVERSION= 0.03
+CATEGORIES= benchmarks perl5
+MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
+MASTER_SITE_SUBDIR= Benchmark
+PKGNAMEPREFIX= p5-
+
+MAINTAINER= gslin@gslin.org
+COMMENT= Simple timing of stages of your code
+
+RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Clone.pm:${PORTSDIR}/devel/p5-Clone
+BUILD_DEPENDS= ${RUN_DEPENDS}
+BUILD_DEPENDS+= ${SITE_PERL}/Test/LongString.pm:${PORTSDIR}/devel/p5-Test-LongString
+
+PERL_MODBUILD= yes
+
+MAN3= Benchmark::Stopwatch.3
+
+.include <bsd.port.pre.mk>
+
+.if ${PERL_LEVEL} < 500703
+RUN_DEPENDS+= ${SITE_PERL}/Time/HiRes.pm:${PORTSDIR}/devel/p5-Time-HiRes
+BUILD_DEPENDS+= ${SITE_PERL}/Test/More.pm:${PORTSDIR}/devel/p5-Test-Simple
+.endif
+
+.if ${PERL_LEVEL} < 500601
+IGNORE= requires perl 5.6.x or later. Install lang/perl5.8 then try again
+.endif
+
+.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud