summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2002-05-14 18:47:52 +0000
committeragc <agc@pkgsrc.org>2002-05-14 18:47:52 +0000
commit9b84ee8c8f6334b17bedea409f75092541566ce9 (patch)
tree2a7388408486b4a9a8ef7c1b6d09d9a117d07f28 /time
parentb41e497a748196ae97c61b53ca626889826fd0b3 (diff)
downloadpkgsrc-9b84ee8c8f6334b17bedea409f75092541566ce9.tar.gz
Initial import of xchrono, a multi-timezoned X11 clock, into the NetBSD
packages collection. Xchrono is a multi-timezone, multi-face clock program for X Windows. Several cities have been compiled into xchrono, and can be invoked with command-line arguments, xchrono -help gives: Usage: xchrono [-analog] [-bw <pixels>] [-digital] [-fg <color>] [-bg <color>] [-hd <color>] [-hl <color>] [-bd <color>] [-fn <font_name>] [-help] [-padding <pixels>] [-rv] [-update <seconds>] [-display displayname] [-geometry geom] [-width clockWidth] [-height clockHeight] [-local localName] [-boston] [-newyork] [-chicago] [-denver] [-la] [-hawaii] [-tokyo] [-sydney] [-london] [-paris] [-frankfurt] [-rio] OK, OK, Hawaii isn't a city, but you get the point. The timezones used are taken from tztab in the SYSV case, and from /usr/lib/zoneinfo otherwise, and as such may or may not be correct (the TZ variable definitions or the city->timezone mappings). The -local <localName> option causes a clock labeled with <localName> using the value of TZ at startup as it's timezone. In addition, a GMT clock always appears. [Requested by groo, who has enough trouble with one timezone, so why he wants more is beyond me.]
Diffstat (limited to 'time')
-rw-r--r--time/xchrono/DESCR23
-rw-r--r--time/xchrono/Makefile20
-rw-r--r--time/xchrono/PLIST4
-rw-r--r--time/xchrono/distinfo5
-rw-r--r--time/xchrono/patches/patch-aa11
5 files changed, 63 insertions, 0 deletions
diff --git a/time/xchrono/DESCR b/time/xchrono/DESCR
new file mode 100644
index 00000000000..49e53bf2335
--- /dev/null
+++ b/time/xchrono/DESCR
@@ -0,0 +1,23 @@
+Xchrono is a multi-timezone, multi-face clock program for X Windows.
+Several cities have been compiled into xchrono, and can be invoked with
+command-line arguments, xchrono -help gives:
+
+Usage: xchrono [-analog] [-bw <pixels>] [-digital]
+ [-fg <color>] [-bg <color>] [-hd <color>]
+ [-hl <color>] [-bd <color>]
+ [-fn <font_name>] [-help] [-padding <pixels>]
+ [-rv] [-update <seconds>] [-display displayname]
+ [-geometry geom]
+ [-width clockWidth] [-height clockHeight] [-local localName]
+ [-boston] [-newyork] [-chicago] [-denver] [-la]
+ [-hawaii] [-tokyo] [-sydney] [-london]
+ [-paris] [-frankfurt] [-rio]
+
+OK, OK, Hawaii isn't a city, but you get the point. The timezones used
+are taken from tztab in the SYSV case, and from /usr/lib/zoneinfo
+otherwise, and as such may or may not be correct (the TZ variable
+definitions or the city->timezone mappings).
+
+The -local <localName> option causes a clock labeled with <localName>
+using the value of TZ at startup as it's timezone. In addition, a GMT
+clock always appears.
diff --git a/time/xchrono/Makefile b/time/xchrono/Makefile
new file mode 100644
index 00000000000..08099037007
--- /dev/null
+++ b/time/xchrono/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/05/14 18:47:52 agc Exp $
+#
+
+DISTNAME= xchrono
+PKGNAME= xchrono-19900813
+CATEGORIES= time x11
+MASTER_SITES= http://www.mit.edu/afs/athena/contrib/softbone/source/src/xchrono/
+EXTRACT_SUFX= .shar
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://infoshako.sk.tsukuba.ac.jp/jdoc/X-utilities/xchrono
+COMMENT= multi-timezone X11-based clock
+
+USE_IMAKE= yes
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/xchrono
+ ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xchrono/
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/time/xchrono/PLIST b/time/xchrono/PLIST
new file mode 100644
index 00000000000..9b771a86316
--- /dev/null
+++ b/time/xchrono/PLIST
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2002/05/14 18:47:52 agc Exp $
+bin/xchrono
+share/doc/xchrono/README
+@dirrm share/doc/xchrono
diff --git a/time/xchrono/distinfo b/time/xchrono/distinfo
new file mode 100644
index 00000000000..9a143cccc72
--- /dev/null
+++ b/time/xchrono/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2002/05/14 18:47:52 agc Exp $
+
+SHA1 (xchrono.shar) = 8cc61b949ff4c1972cfa810831d562d058fa9e2f
+Size (xchrono.shar) = 56292 bytes
+SHA1 (patch-aa) = 59c5946422c0ac76907e1d512dd64b9a1899029d
diff --git a/time/xchrono/patches/patch-aa b/time/xchrono/patches/patch-aa
new file mode 100644
index 00000000000..5386fbbed44
--- /dev/null
+++ b/time/xchrono/patches/patch-aa
@@ -0,0 +1,11 @@
+$NetBSD: patch-aa,v 1.1.1.1 2002/05/14 18:47:52 agc Exp $
+
+--- Imakefile 2002/05/14 18:22:35 1.1
++++ Imakefile 2002/05/14 18:23:51
+@@ -6,5 +6,4 @@
+ SRCS = xchrono.c MultiClock.c
+ OBJS = xchrono.o MultiClock.o
+
+-ComplexProgramTarget(xchrono)
+-InstallAppDefaults(XChrono)
++ComplexProgramTargetNoMan(xchrono)