summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2010-03-14 16:40:11 +0000
committerwiz <wiz@pkgsrc.org>2010-03-14 16:40:11 +0000
commit87fb8808f54e88c46c2cf4f27be7bd06629b532f (patch)
tree36aa90bbae25c0b9350d542641d6518163766604 /misc
parentc35503f16129b31f9b2d73b1775a2230ab18b577 (diff)
downloadpkgsrc-87fb8808f54e88c46c2cf4f27be7bd06629b532f.tar.gz
Remove xtide, moved to time.
Diffstat (limited to 'misc')
-rw-r--r--misc/Makefile3
-rw-r--r--misc/xtide/DESCR24
-rw-r--r--misc/xtide/Makefile46
-rw-r--r--misc/xtide/PLIST9
-rw-r--r--misc/xtide/distinfo12
-rw-r--r--misc/xtide/patches/patch-aa18
-rw-r--r--misc/xtide/patches/patch-ab19
-rw-r--r--misc/xtide/patches/patch-ac15
-rw-r--r--misc/xtide/patches/patch-ad29
9 files changed, 1 insertions, 174 deletions
diff --git a/misc/Makefile b/misc/Makefile
index b05fdd8e815..92f6a6f980e 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.340 2010/03/14 16:37:45 wiz Exp $
+# $NetBSD: Makefile,v 1.341 2010/03/14 16:40:11 wiz Exp $
#
COMMENT= Miscellaneous utilities
@@ -237,7 +237,6 @@ SUBDIR+= xjdic
SUBDIR+= xrolodex
SUBDIR+= xtail
SUBDIR+= xtend
-SUBDIR+= xtide
SUBDIR+= yelp
SUBDIR+= yrolo
SUBDIR+= zorro
diff --git a/misc/xtide/DESCR b/misc/xtide/DESCR
deleted file mode 100644
index 3f557381fa3..00000000000
--- a/misc/xtide/DESCR
+++ /dev/null
@@ -1,24 +0,0 @@
-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.
diff --git a/misc/xtide/Makefile b/misc/xtide/Makefile
deleted file mode 100644
index ce408e4845b..00000000000
--- a/misc/xtide/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-# $NetBSD: Makefile,v 1.27 2010/02/04 16:44:27 joerg Exp $
-
-DISTNAME= xtide-2.8.3
-PKGREVISION= 2
-CATEGORIES= misc x11
-MASTER_SITES= ftp://ftp.flaterco.com/xtide/
-DISTFILES= ${DISTNAME}.tar.bz2 ${HARMONICS_FILE}.bz2
-
-MAINTAINER= pkgsrc-users@NetBSD.org
-HOMEPAGE= http://www.flaterco.com/
-COMMENT= X11 tide predictor
-
-PKG_DESTDIR_SUPPORT= user-destdir
-
-GNU_CONFIGURE= yes
-USE_LANGUAGES= c c++
-
-HARMONICS_FILE= harmonics-dwf-20060708.tcd
-
-CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFDIR:Q} X11BASE=${X11BASE:Q}
-EGDIR= ${PREFIX}/share/examples/xtide
-CONF_FILES= ${EGDIR}/xtide.conf ${PKG_SYSCONFDIR}/xtide.conf
-
-SUBST_CLASSES+= xt
-SUBST_STAGE.xt= pre-configure
-SUBST_FILES.xt= DOCUMENTATION/*
-SUBST_SED.xt= -e 's|/usr/local|${PREFIX}|g'
-
-PLIST_SUBST+= HARMONICS_FILE=${HARMONICS_FILE:Q}
-
-INSTALLATION_DIRS= share/xtide ${EGDIR}
-INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
- mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
-
-post-extract:
- ${ECHO} "${PREFIX}/share/xtide/${HARMONICS_FILE}" > ${WRKDIR}/xtide.conf
-
-post-install:
- ${INSTALL_DATA} ${WRKDIR}/xtide.conf ${DESTDIR}${EGDIR}/xtide.conf
- ${INSTALL_DATA} ${WRKDIR}/${HARMONICS_FILE} ${DESTDIR}${PREFIX}/share/xtide
-
-.include "../../graphics/png/buildlink3.mk"
-.include "../../x11/libXaw/buildlink3.mk"
-.include "../../x11/libXi/buildlink3.mk"
-.include "../../x11/libXpm/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/misc/xtide/PLIST b/misc/xtide/PLIST
deleted file mode 100644
index c57db552e6e..00000000000
--- a/misc/xtide/PLIST
+++ /dev/null
@@ -1,9 +0,0 @@
-@comment $NetBSD: PLIST,v 1.4 2009/06/14 18:07:32 joerg Exp $
-bin/tide
-bin/xtide
-man/man1/tide.1
-man/man1/xtide.1
-man/man8/xttpd.8
-sbin/xttpd
-share/examples/xtide/xtide.conf
-share/xtide/${HARMONICS_FILE}
diff --git a/misc/xtide/distinfo b/misc/xtide/distinfo
deleted file mode 100644
index 1771c72f726..00000000000
--- a/misc/xtide/distinfo
+++ /dev/null
@@ -1,12 +0,0 @@
-$NetBSD: distinfo,v 1.9 2009/11/09 12:46:54 joerg Exp $
-
-SHA1 (harmonics-dwf-20060708.tcd.bz2) = 1f54ed856b064e485f7e386eb4a71965e83abfa4
-RMD160 (harmonics-dwf-20060708.tcd.bz2) = 754255ac5f2e36cf2dce587e7f9f7bd0561226d9
-Size (harmonics-dwf-20060708.tcd.bz2) = 477682 bytes
-SHA1 (xtide-2.8.3.tar.bz2) = 0abfdf8a695facfeb239af0018e7b3c392592cb4
-RMD160 (xtide-2.8.3.tar.bz2) = 926d116d6d36b3e4ff5e4630e0df394a4f9a0a8b
-Size (xtide-2.8.3.tar.bz2) = 463382 bytes
-SHA1 (patch-aa) = 8b9059e2870f6b8149e72ca33c452e75650f8230
-SHA1 (patch-ab) = 889c68bce0bd78cfc1b5f7410364e8c39182cfec
-SHA1 (patch-ac) = 07a0099f0d58b8774ae456470142314dabe38c1b
-SHA1 (patch-ad) = cf18fb73096b3cef07fbf501fa1205fe126d1155
diff --git a/misc/xtide/patches/patch-aa b/misc/xtide/patches/patch-aa
deleted file mode 100644
index 396ba20c6b2..00000000000
--- a/misc/xtide/patches/patch-aa
+++ /dev/null
@@ -1,18 +0,0 @@
-$NetBSD: patch-aa,v 1.2 2006/11/05 21:51:21 rillig Exp $
-
---- errors.cc.orig 2004-11-17 17:27:18.000000000 +0100
-+++ errors.cc 2006-11-05 21:59:29.000000000 +0100
-@@ -121,10 +121,10 @@ If the harmonics file has been updated,
- break;
- case NO_HFILE_PATH:
- errout += "NO_HFILE_PATH\n\
--If /etc/xtide.conf is not provided, you must set the environment variable\n\
-+If "PKG_SYSCONFDIR"/xtide.conf is not provided, you must set the environment variable\n\
- HFILE_PATH to point to your harmonics files. Example:\n\
-- export HFILE_PATH=/usr/local/share/xtide/harmonics.tcd\n\
--Please refer to the documentation for usage of /etc/xtide.conf.";
-+ export HFILE_PATH="PREFIX"/share/xtide/harmonics.tcd\n\
-+Please refer to the documentation for usage of "PKG_SYSCONFDIR"/xtide.conf.";
- break;
- case IMPOSSIBLE_CONVERSION:
- errout += "IMPOSSIBLE_CONVERSION\n\
diff --git a/misc/xtide/patches/patch-ab b/misc/xtide/patches/patch-ab
deleted file mode 100644
index 44dac314406..00000000000
--- a/misc/xtide/patches/patch-ab
+++ /dev/null
@@ -1,19 +0,0 @@
-$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);
- }
diff --git a/misc/xtide/patches/patch-ac b/misc/xtide/patches/patch-ac
deleted file mode 100644
index 03bc9ad4a12..00000000000
--- a/misc/xtide/patches/patch-ac
+++ /dev/null
@@ -1,15 +0,0 @@
-$NetBSD: patch-ac,v 1.5 2006/11/05 21:51:21 rillig Exp $
-
---- Makefile.in.orig 2004-12-20 15:15:05.000000000 +0100
-+++ Makefile.in 2006-11-05 22:03:06.000000000 +0100
-@@ -11,8 +11,8 @@ mandir=@mandir@
- # DEFS should include -Dacceptarg3_t=int (replace with the correct data type)
- CXX = @CXX@
- CC = @CC@
--CXXFLAGS = @extracxxflags@ @DEFS@ -I@includedir@ -Ilibtcd -I@xroot@/include @normalcxxflags@ -c
--LDFLAGS = @extraldflags@ -L@libdir@ -L@xlibdir@ @normalldflags@ -o
-+CXXFLAGS = @extracxxflags@ @DEFS@ -I@includedir@ -Ilibtcd -I@xroot@/include @normalcxxflags@ -DPREFIX='"${prefix}"' -DPKG_SYSCONFDIR='"@sysconfdir@"' -c
-+LDFLAGS = @extraldflags@ -L@libdir@ -Wl,-R@libdir@ -L@xlibdir@ -Wl,-R@xlibdir@ @normalldflags@ -o
-
- # Extra switches and libs determined by configure.in
- extraswitches=@extraswitches@
diff --git a/misc/xtide/patches/patch-ad b/misc/xtide/patches/patch-ad
deleted file mode 100644
index 1da2f0e0158..00000000000
--- a/misc/xtide/patches/patch-ad
+++ /dev/null
@@ -1,29 +0,0 @@
-$NetBSD: patch-ad,v 1.2 2009/11/09 12:46:54 joerg Exp $
-
-Kill broken X11 check.
-
---- configure.orig 2006-03-14 01:54:31.000000000 +0100
-+++ configure
-@@ -2596,20 +2596,8 @@ fi
-
- echo "$as_me:$LINENO: checking location of X11" >&5
- echo $ECHO_N "checking location of X11... $ECHO_C" >&6
--xroot="NOT FOUND"
--for dir in "/usr/X11R6" "/usr/openwin" "/usr/contrib/X11R6" "/usr"; do
-- if test -r "$dir/lib/libXaw.so" -o -r "$dir/lib/libXaw.a" -o -r "$dir/lib/libXaw.dll.a"; then
-- xroot="$dir"
-- xlibdir="$dir/lib"
-- break
-- else
-- if test -r "$dir/lib64/libXaw.so" -o -r "$dir/lib64/libXaw.a" -o -r "$dir/lib64/libXaw.dll.a"; then
-- xroot="$dir"
-- xlibdir="$dir/lib64"
-- break
-- fi
-- fi
--done
-+xroot="$X11BASE"
-+xlibdir="$xroot/lib"
- echo "$as_me:$LINENO: result: $xroot" >&5
- echo "${ECHO_T}$xroot" >&6
- if test "$xroot" = "NOT FOUND"; then