aboutsummaryrefslogtreecommitdiffstats
path: root/x11-clocks/stopwatch
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2008-08-28 10:03:33 +0800
committeredwin <edwin@FreeBSD.org>2008-08-28 10:03:33 +0800
commitbecd79843149d22327ab52bf972ff0712c770fb8 (patch)
treee90cd67893e2a2b604da1de4e77df083387d34b2 /x11-clocks/stopwatch
parentfd73f6dc2937a1784af836f954f7aa65e644d2cd (diff)
downloadfreebsd-ports-gnome-becd79843149d22327ab52bf972ff0712c770fb8.tar.gz
freebsd-ports-gnome-becd79843149d22327ab52bf972ff0712c770fb8.tar.zst
freebsd-ports-gnome-becd79843149d22327ab52bf972ff0712c770fb8.zip
Stopwatch does what its name implies - enables hand timing much
like a physical stopwatch. It can also be used as a countdown timer. Stopwatch has millisecond accuracy and no artificial limit on hours. Stopwatch runs on UNIX, Windows, and MacOS. WWW: http://expect.nist.gov/stopwatch/ Author: Don Libes <libes@nist.gov>
Diffstat (limited to 'x11-clocks/stopwatch')
-rw-r--r--x11-clocks/stopwatch/Makefile29
-rw-r--r--x11-clocks/stopwatch/distinfo3
-rw-r--r--x11-clocks/stopwatch/files/patch-stopwatch8
-rw-r--r--x11-clocks/stopwatch/pkg-descr8
4 files changed, 48 insertions, 0 deletions
diff --git a/x11-clocks/stopwatch/Makefile b/x11-clocks/stopwatch/Makefile
new file mode 100644
index 000000000000..418f5f0c84ea
--- /dev/null
+++ b/x11-clocks/stopwatch/Makefile
@@ -0,0 +1,29 @@
+# New ports collection makefile for: stopwatch
+# Date created: 28 August 2008
+# Whom: Edwin Groothuis <edwin@mavetju.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= stopwatch
+PORTVERSION= 3.5
+CATEGORIES= x11-clocks
+MASTER_SITES= http://expect.nist.gov/stopwatch/
+DISTNAME= stopwatch
+
+MAINTAINER= edwin@mavetju.org
+COMMENT= Stopwatch enables hand timing much like a physical stopwatch
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-3.4
+USE_TK= yes
+NO_BUILD= yes
+
+PLIST_FILES= bin/stopwatch
+
+post-patch:
+ ${REINPLACE_CMD} -e "s,%%LOCALBASE%%,${LOCALBASE}," ${WRKSRC}/stopwatch
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/stopwatch ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/x11-clocks/stopwatch/distinfo b/x11-clocks/stopwatch/distinfo
new file mode 100644
index 000000000000..69c6423a1dac
--- /dev/null
+++ b/x11-clocks/stopwatch/distinfo
@@ -0,0 +1,3 @@
+MD5 (stopwatch.tar.gz) = 4feb97cd7f108c89f17fcb18e55deaf9
+SHA256 (stopwatch.tar.gz) = f3f56dccd00f669a5f0a4b1f6507ab78e0d1ad18305b760baab34edc68b3ef4e
+SIZE (stopwatch.tar.gz) = 7962
diff --git a/x11-clocks/stopwatch/files/patch-stopwatch b/x11-clocks/stopwatch/files/patch-stopwatch
new file mode 100644
index 000000000000..5fbfabbac6e4
--- /dev/null
+++ b/x11-clocks/stopwatch/files/patch-stopwatch
@@ -0,0 +1,8 @@
+--- stopwatch.orig 2008-08-28 11:19:38.000000000 +1000
++++ stopwatch 2008-08-28 11:19:54.000000000 +1000
+@@ -1,4 +1,4 @@
+-#!/depot/path/wish -f
++#!%%LOCALBASE%%/bin/wish -f
+ ######################################################################
+ # Name: Stopwatch
+ # Author: Don Libes <libes@nist.gov>
diff --git a/x11-clocks/stopwatch/pkg-descr b/x11-clocks/stopwatch/pkg-descr
new file mode 100644
index 000000000000..b48cfae11382
--- /dev/null
+++ b/x11-clocks/stopwatch/pkg-descr
@@ -0,0 +1,8 @@
+Stopwatch does what its name implies - enables hand timing much
+like a physical stopwatch. It can also be used as a countdown timer.
+
+Stopwatch has millisecond accuracy and no artificial limit on hours.
+Stopwatch runs on UNIX, Windows, and MacOS.
+
+WWW: http://expect.nist.gov/stopwatch/
+Author: Don Libes <libes@nist.gov>