head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.8 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.6 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.4 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.2 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.2.0.54 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.52 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.50 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.48 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.46 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.44 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.42 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.40 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.38 pkgsrc-2008Q1:1.2.0.36 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.34 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.32 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.30 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.28 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.26 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.24 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.22 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.20 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.18 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.16 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.14 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.12 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.10 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.8 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.6 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.4 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.2.0.2 pkgsrc-2003Q4-base:1.2 netbsd-1-6-1:1.1.1.1.0.6 netbsd-1-6-1-base:1.1.1.1 netbsd-1-6:1.1.1.1.0.8 netbsd-1-6-RELEASE-base:1.1.1.1 pkgviews:1.1.1.1.0.4 pkgviews-base:1.1.1.1 buildlink2:1.1.1.1.0.2 buildlink2-base:1.1.1.1 netbsd-1-5-PATCH003:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.3 date 2010.03.14.16.40.12; author wiz; state dead; branches; next 1.2; 1.2 date 2003.07.22.21.14.47; author jmmv; state Exp; branches; next 1.1; 1.1 date 2001.05.31.15.48.05; author agc; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.05.31.15.48.05; author agc; state Exp; branches; next ; desc @@ 1.3 log @Remove xtide, moved to time. @ text @$NetBSD: patch-ab,v 1.2 2003/07/22 21:14:47 jmmv Exp $ --- TideContext.cc.orig Fri Mar 23 21:52:40 2001 +++ TideContext.cc Thu May 31 13:48:53 2001 @@@@ -42,12 +42,12 @@@@ colors = in_colors; settings = in_settings; - // Get HFILE_PATH from environment or /etc/xtide.conf and create + // Get HFILE_PATH from environment or ${PKG_SYSCONFDIR}/xtide.conf and create // persistent HarmonicsPath Dstr hfile_path (getenv ("HFILE_PATH")); if (hfile_path.isNull()) { FILE *configfile; - if ((configfile = fopen ("/etc/xtide.conf", "r"))) { + if ((configfile = fopen (PKG_SYSCONFDIR "/xtide.conf", "r"))) { hfile_path.getline (configfile); fclose (configfile); } @ 1.2 log @Honour PKG_SYSCONFDIR and install the configuration file by default (it is needed, as pointed out in PR pkg/22187 by Greg Troxel). @ text @d1 1 a1 1 $NetBSD: patch-ab,v 1.1.1.1 2001/05/31 15:48:05 agc Exp $ @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ d10 1 a10 1 + // Get HFILE_PATH from environment or ${PREFIX}/etc/xtide.conf and create d16 1 a16 1 + if ((configfile = fopen (PREFIX "/etc/xtide.conf", "r"))) { @ 1.1.1.1 log @Initial import of xtide-2.4 into the Packages Collection. Provided in PR 13044 by Paul Goyette (paul@@whooppee.com) XTide is a package that provides tide and current predictions in a wide variety of formats. Graphs, text listings, and calendars can be generated, or a tide clock can be provided on your desktop. XTide can work with X-windows, plain text terminals, or the web. This is accomplished with three separate programs: the interactive interface (xtide), the non-interactive or command line interface (tide), and the web interface (xttpd). The algorithm that XTide uses to predict tides is the one used by the National Ocean Service in the U.S. It is significantly more accurate than the simple tide clocks that can be bought in novelty stores. However, it takes more to predict tides accurately than just a spiffy algorithm -- you also need some special data for each and every location for which you want to predict tides. XTide reads this data from harmonics files. Ultimately, XTide's predictions can only be as good as the available harmonics data. Due to issues of data availability and of compatibility with non-U.S. tide systems, the predictions for U.S. locations tend to be a lot better on average than those for locations outside of the U.S. * Deviations of 1 minute from official predictions are typical for U.S. locations having the latest data. * Deviations of 20 minutes are typical for non-U.S. locations or U.S. locations that are using obsolete data. * Much longer deviations indicate a problem. @ text @@