summaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorTorsten Blum <torstenb@FreeBSD.org>1996-09-14 23:43:02 +0000
committerTorsten Blum <torstenb@FreeBSD.org>1996-09-14 23:43:02 +0000
commit9340ed729f9b2880a0a1b4f7dff3be9642e53882 (patch)
tree02b0f09c3d7f168ba46df4be6dd046a248453f14 /astro
parentUpgrade to 2.7 (no changes since 2.7b4) (diff)
sunclock shows which portion of the Earth's surface is illuminated by the Sun.
Notes
Notes: svn path=/head/; revision=3782
Diffstat (limited to 'astro')
-rw-r--r--astro/sunclock/Makefile19
-rw-r--r--astro/sunclock/distinfo1
-rw-r--r--astro/sunclock/files/patch-aa33
-rw-r--r--astro/sunclock/pkg-comment1
-rw-r--r--astro/sunclock/pkg-descr7
-rw-r--r--astro/sunclock/pkg-plist3
6 files changed, 64 insertions, 0 deletions
diff --git a/astro/sunclock/Makefile b/astro/sunclock/Makefile
new file mode 100644
index 000000000000..c01b0d589eb3
--- /dev/null
+++ b/astro/sunclock/Makefile
@@ -0,0 +1,19 @@
+# New ports collection makefile for: sunclock
+# Version required: 1.3
+# Date created: 15 September 1996
+# Whom: torstenb
+#
+# $Id$
+#
+
+DISTNAME= sunclock1.3
+PKGNAME= sunclock-1.3
+CATEGORIES+= x11
+MASTER_SITES= ftp://ftp.x.org/contrib/applications/
+
+MAINTAINER= torstenb@FreeBSD.org
+
+USE_IMAKE= YES
+NO_WRKSUBDIR= YES
+
+.include <bsd.port.mk>
diff --git a/astro/sunclock/distinfo b/astro/sunclock/distinfo
new file mode 100644
index 000000000000..47aa5cb60eaa
--- /dev/null
+++ b/astro/sunclock/distinfo
@@ -0,0 +1 @@
+MD5 (sunclock1.3.tar.gz) = 7a05b66182335ee5df40a048958e4b10
diff --git a/astro/sunclock/files/patch-aa b/astro/sunclock/files/patch-aa
new file mode 100644
index 000000000000..bf057dae2bc9
--- /dev/null
+++ b/astro/sunclock/files/patch-aa
@@ -0,0 +1,33 @@
+*** Imakefile.orig Thu Oct 13 15:50:29 1994
+--- Imakefile Sun Dec 11 15:04:20 1994
+***************
+*** 12,25 ****
+ CCOPTIONS = -Ae -DBIGFONT=\"9x15\" -DSMALLFONT=\"6x10\"
+ #else
+ # SunOS
+! CCOPTIONS=-DBIGFONT=\"9x15\" -DSMALLFONT=\"6x10\" -O -DNEW_CTIME
+ # Solaris
+ #CCOPTIONS=-DBIGFONT=\"9x15\" -DSMALLFONT=\"6x10\" -O
+ #endif
+
+ SRCS=sunclock.c bitmaps.c astro.c tildepath.c
+ OBJS=sunclock.o bitmaps.o astro.o tildepath.o
+! LOCAL_LIBRARIES=$(XLIB) -lm
+ DEPLIBS= # I don't know what I'm doing, and I hate imake!
+
+ ComplexProgramTarget(sunclock)
+--- 12,25 ----
+ CCOPTIONS = -Ae -DBIGFONT=\"9x15\" -DSMALLFONT=\"6x10\"
+ #else
+ # SunOS
+! CCOPTIONS=-DBIGFONT=\"9x15\" -DSMALLFONT=\"6x10\" -DNEW_CTIME
+ # Solaris
+ #CCOPTIONS=-DBIGFONT=\"9x15\" -DSMALLFONT=\"6x10\" -O
+ #endif
+
+ SRCS=sunclock.c bitmaps.c astro.c tildepath.c
+ OBJS=sunclock.o bitmaps.o astro.o tildepath.o
+! LOCAL_LIBRARIES=$(XLIB) -lm -lcompat
+ DEPLIBS= # I don't know what I'm doing, and I hate imake!
+
+ ComplexProgramTarget(sunclock)
diff --git a/astro/sunclock/pkg-comment b/astro/sunclock/pkg-comment
new file mode 100644
index 000000000000..53b3f9eb6f24
--- /dev/null
+++ b/astro/sunclock/pkg-comment
@@ -0,0 +1 @@
+sunclock shows which portion of the Earth's surface is illuminated by the Sun.
diff --git a/astro/sunclock/pkg-descr b/astro/sunclock/pkg-descr
new file mode 100644
index 000000000000..8f2bd8ad1f1b
--- /dev/null
+++ b/astro/sunclock/pkg-descr
@@ -0,0 +1,7 @@
+This program is a clock that shows which portion of the Earth's surface is
+illuminated by the Sun. It is designed to be usually iconic, but can be
+opened for a larger display with the time updated every second and both the
+local timezone and UTC displayed. The Suntools version had a menu that
+allowed you to speed up time, show different dates, etc., but I have
+never implemented any of that in the X version; there is some support
+for it in the code, however.
diff --git a/astro/sunclock/pkg-plist b/astro/sunclock/pkg-plist
new file mode 100644
index 000000000000..6609dd971ea9
--- /dev/null
+++ b/astro/sunclock/pkg-plist
@@ -0,0 +1,3 @@
+@cwd /usr/X11R6
+bin/sunclock
+man/man1/sunclock.1.gz