summaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorfenner <fenner@FreeBSD.org>1997-11-28 20:44:23 +0000
committerfenner <fenner@FreeBSD.org>1997-11-28 20:44:23 +0000
commitfbb0d0adf19961f63821f5e436a1a08d0ddf637a (patch)
tree53845a8a30792aa172915d39e4e7075abff7b788 /astro
parent8a0cc93b61a11a26bd899b8dcf57fad26d6ea3d5 (diff)
downloadFreeBSD-ports-fbb0d0adf19961f63821f5e436a1a08d0ddf637a.zip
FreeBSD-ports-fbb0d0adf19961f63821f5e436a1a08d0ddf637a.tar.gz
Displays a graphical representation of the tides
Diffstat (limited to 'astro')
-rw-r--r--astro/xtide/Makefile33
-rw-r--r--astro/xtide/distinfo2
-rw-r--r--astro/xtide/files/patch-aa41
-rw-r--r--astro/xtide/pkg-comment1
-rw-r--r--astro/xtide/pkg-descr16
-rw-r--r--astro/xtide/pkg-plist4
6 files changed, 97 insertions, 0 deletions
diff --git a/astro/xtide/Makefile b/astro/xtide/Makefile
new file mode 100644
index 0000000..754dd43
--- /dev/null
+++ b/astro/xtide/Makefile
@@ -0,0 +1,33 @@
+# New ports collection makefile for: xtide
+# Version required: 1.6.2
+# Date created: 30 August 1997
+# Whom: Brion Moss <brion@queeg.com>
+#
+# $Id$
+#
+
+DISTNAME= xtide-1.6.2
+CATEGORIES= astro
+MASTER_SITES= http://www.universe.digex.net/~dave/files/
+DISTFILES= xtide-1.6.2.tgz harmonics.gz
+EXTRACT_ONLY= xtide-1.6.2.tgz
+
+MAINTAINER= brion@queeg.com
+
+# www.universe.digex.net is broken
+FETCH_BEFORE_ARGS= -t
+
+USE_IMAKE= yes
+NO_WRKSUBDIR= yes
+MAN1= xtide.1
+
+post-extract:
+ @gzip -dc ${DISTDIR}/harmonics.gz > ${WRKSRC}/harmonics
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/xtide ${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/xtide.man ${PREFIX}/man/man1/xtide.1
+ @${MKDIR} ${PREFIX}/lib/xtide
+ ${INSTALL_DATA} ${WRKSRC}/harmonics ${PREFIX}/lib/xtide
+
+.include <bsd.port.mk>
diff --git a/astro/xtide/distinfo b/astro/xtide/distinfo
new file mode 100644
index 0000000..6c8def0
--- /dev/null
+++ b/astro/xtide/distinfo
@@ -0,0 +1,2 @@
+MD5 (xtide-1.6.2.tgz) = 7f5213b17b9f7f16918722c83e602089
+MD5 (harmonics.gz) = 552fa669e3d25d683edc0a9797a956c2
diff --git a/astro/xtide/files/patch-aa b/astro/xtide/files/patch-aa
new file mode 100644
index 0000000..9cc52a2
--- /dev/null
+++ b/astro/xtide/files/patch-aa
@@ -0,0 +1,41 @@
+*** config.h.orig Thu Aug 28 19:28:16 1997
+--- config.h Sat Aug 30 23:08:31 1997
+***************
+*** 8,25 ****
+ #ifdef OS2
+ #define hfile "harmonic"
+ #else
+! #define hfile "harmonics"
+ #endif
+
+ /* Default location to show tides for */
+ /* This is overridden by the LOCATION environment variable or by the
+ -location switch. */
+! #define deflocation "Baltimore (Fort McHenry)"
+
+ /* System default config file, read only if neither ~/.[x]tiderc nor
+ -config is present. sysconfig is for tide, xsysconfig is for xtide. */
+! #define sysconfig "/usr/lib/tiderc"
+! #define xsysconfig "/usr/lib/xtiderc"
+
+ /* This gives the location of the compiled java classes tide.class and
+ xtide.class. You should change it to point to your local copies if
+--- 8,25 ----
+ #ifdef OS2
+ #define hfile "harmonic"
+ #else
+! #define hfile "/usr/X11R6/lib/xtide/harmonics"
+ #endif
+
+ /* Default location to show tides for */
+ /* This is overridden by the LOCATION environment variable or by the
+ -location switch. */
+! #define deflocation "San Francisco, California"
+
+ /* System default config file, read only if neither ~/.[x]tiderc nor
+ -config is present. sysconfig is for tide, xsysconfig is for xtide. */
+! #define sysconfig "/usr/X11R6/lib/xtide/tiderc"
+! #define xsysconfig "/usr/X11R6/lib/xtide/xtiderc"
+
+ /* This gives the location of the compiled java classes tide.class and
+ xtide.class. You should change it to point to your local copies if
diff --git a/astro/xtide/pkg-comment b/astro/xtide/pkg-comment
new file mode 100644
index 0000000..8fb8818b
--- /dev/null
+++ b/astro/xtide/pkg-comment
@@ -0,0 +1 @@
+Harmonic tide clock and tide predictor
diff --git a/astro/xtide/pkg-descr b/astro/xtide/pkg-descr
new file mode 100644
index 0000000..b014de5
--- /dev/null
+++ b/astro/xtide/pkg-descr
@@ -0,0 +1,16 @@
+xtide is a program which predicts and displays tides. It is capable of
+producing output in a variety of dynamic and static formats, and has
+extensions for X, plain ASCII, and HTML.
+
+You may need to replace the harmonics file used by this port by one
+better suited to your area; there are a number of harmonics files
+available at http://www.universe.digex.net/~dave/files/. You will
+also have to specify your location either by setting the LOCATION
+environment variable, by using the -location script, or by creating
+an appropriate ~/.xtiderc.
+
+http://www.universe.digex.net/~dave/xtide/xtide.html has complete
+documentation, or just read the man page.
+
+- Brion Moss
+brion@queeg.com
diff --git a/astro/xtide/pkg-plist b/astro/xtide/pkg-plist
new file mode 100644
index 0000000..2cf6e61
--- /dev/null
+++ b/astro/xtide/pkg-plist
@@ -0,0 +1,4 @@
+bin/xtide
+lib/xtide/harmonics
+man/man1/xtide.1.gz
+@dirrm lib/xtide
OpenPOWER on IntegriCloud