summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--benchmarks/Makefile1
-rw-r--r--benchmarks/pnetmark/Makefile47
-rw-r--r--benchmarks/pnetmark/distinfo2
-rw-r--r--benchmarks/pnetmark/pkg-descr5
4 files changed, 55 insertions, 0 deletions
diff --git a/benchmarks/Makefile b/benchmarks/Makefile
index b136ee2cf8db..73741392530e 100644
--- a/benchmarks/Makefile
+++ b/benchmarks/Makefile
@@ -17,6 +17,7 @@
SUBDIR += netpipe
SUBDIR += nttcp
SUBDIR += pipebench
+ SUBDIR += pnetmark
SUBDIR += polygraph
SUBDIR += postal
SUBDIR += postmark
diff --git a/benchmarks/pnetmark/Makefile b/benchmarks/pnetmark/Makefile
new file mode 100644
index 000000000000..a6db33be5121
--- /dev/null
+++ b/benchmarks/pnetmark/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: pnetmark
+# Date created: 2004-03-19
+# Whom: michael johnson <ahze@ahze.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= pnetmark
+PORTVERSION= 0.0.6
+CATEGORIES= benchmarks
+MASTER_SITES= ${PNET_MASTER_SITES}
+MASTER_SITE_SUBDIR= ${PNET_MASTER_SITE_SUBDIR}
+
+MAINTAINER= ahze@ahze.net
+COMMENT= Benchmarking tool for Common Language Runtime (CLR)
+
+BUILD_DEPENDS= cscc:${PORTSDIR}/lang/pnet-base \
+ csunit:${PORTSDIR}/lang/pnetlib
+RUN_DEPENDS= cscc:${PORTSDIR}/lang/pnet-base \
+ csunit:${PORTSDIR}/lang/pnetlib
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+STRIP= # Nothing to Strip
+PORTDOCS= pm_faq.html
+PNET_STRAP_BIN= pnetmark \
+ linpack \
+ scimark2
+PLIST_FILES= bin/pnetmark.exe \
+ bin/linpack.exe \
+ bin/scimark2.exe
+
+.include "../../lang/pnet/Makefile.pnet"
+.include <bsd.port.pre.mk>
+
+do-install:
+ @${INSTALL_PROGRAM} ${WRKSRC}/src/pnetmark.exe ${PREFIX}/bin
+ @${INSTALL_PROGRAM} ${WRKSRC}/linpack/linpack.exe ${PREFIX}/bin
+ @${INSTALL_PROGRAM} ${WRKSRC}/scimark2/scimark2.exe ${PREFIX}/bin
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+.for docfile in ${PORTDOCS}
+ @${INSTALL_DATA} ${WRKSRC}/doc/${docfile} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/benchmarks/pnetmark/distinfo b/benchmarks/pnetmark/distinfo
new file mode 100644
index 000000000000..389bf75f551c
--- /dev/null
+++ b/benchmarks/pnetmark/distinfo
@@ -0,0 +1,2 @@
+MD5 (pnetmark-0.0.6.tar.gz) = e23c06fb48495ef1ade0fa5c700283f2
+SIZE (pnetmark-0.0.6.tar.gz) = 88442
diff --git a/benchmarks/pnetmark/pkg-descr b/benchmarks/pnetmark/pkg-descr
new file mode 100644
index 000000000000..a86d2608ab67
--- /dev/null
+++ b/benchmarks/pnetmark/pkg-descr
@@ -0,0 +1,5 @@
+PNetMark is a benchmarking tool for Common Language Runtime (CLR)
+environments. It is loosely based on the techniques used by the
+CaffeineMark to benchmark Java.
+
+WWW: http://www.southern-storm.com.au/portable_net.html