aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--benchmarks/tmetric/Makefile11
-rw-r--r--benchmarks/tmetric/distinfo2
-rw-r--r--benchmarks/tmetric/files/patch-aa16
-rw-r--r--benchmarks/tmetric/pkg-descr14
4 files changed, 17 insertions, 26 deletions
diff --git a/benchmarks/tmetric/Makefile b/benchmarks/tmetric/Makefile
index c6e58b044b43..474899d1521a 100644
--- a/benchmarks/tmetric/Makefile
+++ b/benchmarks/tmetric/Makefile
@@ -6,13 +6,20 @@
#
PORTNAME= tmetric
-PORTVERSION= v0.4
+PORTVERSION= v0.99
CATEGORIES= benchmarks net
MASTER_SITES= http://netgraft.com/downloads/tmetric/
+DISTNAME= ${PORTNAME}
-MAINTAINER= leeym@cae.ce.ntu.edu.tw
+MAINTAINER= ports@FreeBSD.org
+WRKSRC= ${WRKDIR}/${PKGNAME}
HAS_CONFIGURE= yes
+ALL_TARGET= ${PORTNAME}
+
MAN8= tmetric.8
+post-patch:
+ @${PERL5} -pi -e 's%/usr/local%${PREFIX}%' ${WRKSRC}/*
+
.include <bsd.port.mk>
diff --git a/benchmarks/tmetric/distinfo b/benchmarks/tmetric/distinfo
index d47db23f3f14..bc26aa5c7bf4 100644
--- a/benchmarks/tmetric/distinfo
+++ b/benchmarks/tmetric/distinfo
@@ -1 +1 @@
-MD5 (tmetric-v0.4.tar.gz) = 2085ebcd42bff2df143d6635b5a4d5d0
+MD5 (tmetric.tar.gz) = 7bb82442d16bb5aef67c23e6a23d2f24
diff --git a/benchmarks/tmetric/files/patch-aa b/benchmarks/tmetric/files/patch-aa
deleted file mode 100644
index 004e552828fc..000000000000
--- a/benchmarks/tmetric/files/patch-aa
+++ /dev/null
@@ -1,16 +0,0 @@
---- Makefile.in.orig Thu Apr 20 09:34:21 2000
-+++ Makefile.in Mon Jun 5 20:54:52 2000
-@@ -10,11 +10,13 @@
- MANDIR = /usr/local/man/man8
- MANPAGE = tmetric.8
-
-+all: $(OUTPUT)
-+
- $(OUTPUT): $(OBJ)
- $(CC) $(LIBS) $(LDFLAGS) $(OBJ) -o $(OUTPUT)
-
- install: $(OUTPUT)
- $(INSTALL) $(OUTPUT) $(BINDIR)
- $(INSTALL) $(MANPAGE) $(MANDIR)
-
- clean:
diff --git a/benchmarks/tmetric/pkg-descr b/benchmarks/tmetric/pkg-descr
index 6a18a26b7410..a42e275a4e05 100644
--- a/benchmarks/tmetric/pkg-descr
+++ b/benchmarks/tmetric/pkg-descr
@@ -1,12 +1,12 @@
-Tmetric is a (still raw) tool to aid in determining the available bandwidth
-from one host to another. It is inspired by the (closed source) pathchar
-utility. Please do not assume that this program works exactly like pathchar
-does. It only attempts to report the bandwidth between 2 hosts, and not the
+Tmetric is a (still raw) tool to aid in determining the available bandwidth
+from one host to another. It is inspired by the (closed source) pathchar
+utility. Please do not assume that this program works exactly like pathchar
+does. It only attempts to report the bandwidth between 2 hosts, and not the
bandwidth available at every hop on a route along the way.
-I've only tried compiling this on FreeBSD and Linux. There is some strange
-behavior if your system has an outdated or limited FPU. My (oldassed) sparc
-(this web server), for example, doesn't handle the floating point precision
+I've only tried compiling this on FreeBSD and Linux. There is some strange
+behavior if your system has an outdated or limited FPU. My (oldassed) sparc
+(this web server), for example, doesn't handle the floating point precision
types correctly for my tests. Oh well.
Michael Bacarella <mbac@nyct.net>