aboutsummaryrefslogtreecommitdiff
path: root/x11-clocks/stopwatch
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2008-08-28 02:03:33 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2008-08-28 02:03:33 +0000
commit72afd2a174b0c12885e88ee311f3f90242d618e9 (patch)
treeac9b1227668af51f315623c4d1b2b405be1f01a1 /x11-clocks/stopwatch
parent7005723b1eb322d145977a7849cde6afdc08e3f7 (diff)
Notes
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>