summaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2015-11-28 23:08:03 +0000
committerRene Ladan <rene@FreeBSD.org>2015-11-28 23:08:03 +0000
commit691f434f549a42a69ac50ff23a1543397490f5c5 (patch)
tree918183cc54e747acc95c0517ca51c4874a7ee860 /astro
parentUpdate ImageMagick to 6.9.2-7. (diff)
Remove expired ports:
2015-11-26 audio/pecl-id3: Broken for more than 6 months 2015-11-26 dns/geta: Broken for more than 6 months 2015-11-26 finance/openerp-web: Broken for more than 6 months 2015-11-26 devel/py-async: Further using of this module is not encouraged by upstream 2015-11-26 chinese/kon2: Depends on expiring chinese/cce 2015-11-26 games/linux-skulltag: Depends on expiring audio/linux-fmodapi 2015-11-26 archivers/wzip: Broken for more than 6 months 2015-11-26 databases/sybtcl: Broken for more than 6 months 2015-11-26 biology/povchem: Broken for more than 6 months 2015-11-26 audio/btc: Broken for more than 6 months 2015-11-26 astro/wmglobe: Broken for more than 6 months 2015-11-26 graphics/pyro: Broken for more than 6 months 2015-11-26 graphics/jpeg2ps: Broken for more than 6 months 2015-11-26 chinese/gugod-clean: Broken for more than 6 months 2015-11-26 comms/bforce: Broken for more than 6 months 2015-11-26 cad/geda-docs: Broken for more than 6 months 2015-11-26 chinese/cwtexttf: Broken for more than 6 months 2015-11-26 comms/zmtx-zmrx: Broken for more than 6 months 2015-11-26 astro/sky2000: Broken for more than 6 months 2015-11-26 deskutils/libopensync-plugin-file: Broken for more than 6 months 2015-11-26 databases/sqlite-ext-mobigroup: Broken for more than 6 months 2015-11-26 chinese/bg5ps: Broken for more than 6 months 2015-11-26 deskutils/x-tile: Broken for more than 6 months 2015-11-26 graphics/pure-gl: Broken for more than 6 months 2015-11-26 audio/dvda-author: Broken for more than 6 months 2015-11-26 chinese/oxim: Broken for more than 6 months 2015-11-26 editors/spe: Broken for more than 6 months 2015-11-26 audio/mpdscribble: Broken for more than 6 months 2015-11-26 cad/geda-symcheck: Broken for more than 6 months 2015-11-26 audio/linux-fmodapi: Broken for more than 6 months 2015-11-26 audio/pure-audio: Broken for more than 6 months 2015-11-26 editors/bpatch: Broken for more than 6 months 2015-11-26 benchmarks/geekbench: Broken for more than 6 months 2015-11-26 graphics/icoconvert: Broken for more than 6 months 2015-11-26 cad/geda-utils: Broken for more than 6 months 2015-11-26 deskutils/tomboy-plugin-wordcount: Broken for more than 6 months 2015-11-26 graphics/sketch: Broken for more than 6 months 2015-11-26 ftp/spegla: Broken for more than 6 months 2015-11-26 graphics/clutter-box2d: Broken for more than 6 months 2015-11-26 audio/scmpc: Broken for more than 6 months 2015-11-26 ftp/gnusget: Broken for more than 6 months 2015-11-26 comms/gpsk31: Broken for more than 6 months 2015-11-26 cad/geda-gschem: Broken for more than 6 months 2015-11-26 audio/ampache: Broken for more than 6 months 2015-11-26 cad/slffea: Broken for more than 6 months 2015-11-26 audio/cripple: Broken for more than 6 months 2015-11-26 cad/geda-gattrib: Broken for more than 6 months 2015-11-26 cad/findhier: Broken for more than 6 months 2015-11-26 biology/njplot: Broken for more than 6 months 2015-11-26 audio/wmmp: Broken for more than 6 months 2015-11-26 x11/avant-window-navigator: Broken for more than 6 months 2015-11-26 cad/geda-netlist: Broken for more than 6 months 2015-11-26 deskutils/libopensync-plugin-sunbird: Broken for more than 6 months 2015-11-26 biology/ortep3: Broken for more than 6 months 2015-11-26 astro/aa: Broken for more than 6 months 2015-11-26 french/belote: Broken for more than 6 months 2015-11-26 converters/p5-String-SetUTF8: Broken for more than 6 months 2015-11-26 cad/geda-examples: Broken for more than 6 months 2015-11-26 editors/yasnippet: Broken for more than 6 months 2015-11-26 audio/musica: Broken for more than 6 months 2015-11-26 graphics/rubyphoto: Broken for more than 6 months 2015-11-26 german/bsdpaste: Broken for more than 6 months 2015-11-26 audio/amrcoder: Broken for more than 6 months 2015-11-26 sysutils/bashburn: Broken for more than 6 months 2015-11-26 editors/e93: Broken for more than 6 months 2015-11-26 audio/tepsonic: Broken for more than 6 months 2015-11-26 astro/ephem: Broken for more than 6 months 2015-11-26 chinese/cce: Broken for more than 6 months 2015-11-26 graphics/qcread: Broken for more than 6 months 2015-11-26 databases/py-sqlkit: Broken for more than 6 months 2015-11-26 databases/usogres: Broken for more than 6 months 2015-11-26 cad/libgeda: Broken for more than 6 months 2015-11-26 chinese/p5-Lingua-ZH-BPMFConvert: Broken for more than 6 months 2015-11-26 french/alphabet_sounds_fr: Broken for more than 6 months 2015-11-26 deskutils/mrundlg: Broken for more than 6 months 2015-11-26 databases/erlang-mysql: Broken for more than 6 months 2015-11-26 graphics/linux-XnViewMP: Broken for more than 6 months 2015-11-26 deskutils/akamaru: Broken for more than 6 months 2015-11-26 dns/p5-Net-DNS-ZoneCheck: Broken for more than 6 months 2015-11-26 astro/dgpsip: Broken for more than 6 months 2015-11-26 databases/pecl-handlersocket: Broken for more than 6 months 2015-11-26 audio/cymbaline: Broken for more than 6 months 2015-11-26 french/dico: Broken for more than 6 months 2015-11-26 comms/qpage: Broken for more than 6 months 2015-11-26 audio/sonice: Broken for more than 6 months 2015-11-26 cad/geda-symbols: Broken for more than 6 months 2015-11-26 databases/java-mybatis: Broken for more than 6 months 2015-11-26 databases/openbase-jdbc: Broken for more than 6 months 2015-11-27 www/mediawiki119: Please upgrade to mediawiki-1.25 2015-11-28 www/R-cran-Rpad: Unmaintained upstream
Notes
Notes: svn path=/head/; revision=402562
Diffstat (limited to 'astro')
-rw-r--r--astro/Makefile5
-rw-r--r--astro/aa/Makefile46
-rw-r--r--astro/aa/distinfo2
-rw-r--r--astro/aa/files/patch-aa.c12
-rw-r--r--astro/aa/files/patch-dms.c11
-rw-r--r--astro/aa/files/patch-gplan.c54
-rw-r--r--astro/aa/files/patch-kfiles.c63
-rw-r--r--astro/aa/files/pkg-message.in17
-rw-r--r--astro/aa/pkg-descr10
-rw-r--r--astro/dgpsip/Makefile21
-rw-r--r--astro/dgpsip/distinfo2
-rw-r--r--astro/dgpsip/pkg-descr24
-rw-r--r--astro/ephem/Makefile32
-rw-r--r--astro/ephem/distinfo2
-rw-r--r--astro/ephem/files/patch-Makefile18
-rw-r--r--astro/ephem/files/patch-aa_hadec.c12
-rw-r--r--astro/ephem/files/patch-altj.c16
-rw-r--r--astro/ephem/files/patch-altmenus.c17
-rw-r--r--astro/ephem/files/patch-circum.c12
-rw-r--r--astro/ephem/files/patch-compiler.c18
-rw-r--r--astro/ephem/files/patch-compiler.c_219
-rw-r--r--astro/ephem/files/patch-constel.c11
-rw-r--r--astro/ephem/files/patch-eq_ecl.c11
-rw-r--r--astro/ephem/files/patch-formats.c19
-rw-r--r--astro/ephem/files/patch-io.c99
-rw-r--r--astro/ephem/files/patch-listing.c41
-rw-r--r--astro/ephem/files/patch-main.c59
-rw-r--r--astro/ephem/files/patch-mainmenu.c17
-rw-r--r--astro/ephem/files/patch-moonnf.c11
-rw-r--r--astro/ephem/files/patch-objx.c44
-rw-r--r--astro/ephem/files/patch-plans.c26
-rw-r--r--astro/ephem/files/patch-plot.c36
-rw-r--r--astro/ephem/files/patch-riset_c.c19
-rw-r--r--astro/ephem/files/patch-sel_fld.c12
-rw-r--r--astro/ephem/files/patch-srch.c18
-rw-r--r--astro/ephem/files/patch-time.c115
-rw-r--r--astro/ephem/files/patch-utc_gst.c10
-rw-r--r--astro/ephem/files/patch-version.c19
-rw-r--r--astro/ephem/files/patch-watch.c16
-rw-r--r--astro/ephem/pkg-descr6
-rw-r--r--astro/ephem/pkg-plist4
-rw-r--r--astro/sky2000/Makefile23
-rw-r--r--astro/sky2000/distinfo2
-rw-r--r--astro/sky2000/files/patch-data-Makefile.in17
-rw-r--r--astro/sky2000/pkg-descr4
-rw-r--r--astro/sky2000/pkg-plist16
-rw-r--r--astro/wmglobe/Makefile23
-rw-r--r--astro/wmglobe/distinfo2
-rw-r--r--astro/wmglobe/files/patch-Makefile31
-rw-r--r--astro/wmglobe/pkg-descr5
50 files changed, 0 insertions, 1129 deletions
diff --git a/astro/Makefile b/astro/Makefile
index 2926c48cee69..f66a681e1b27 100644
--- a/astro/Makefile
+++ b/astro/Makefile
@@ -4,7 +4,6 @@
COMMENT = Astronomical ports
SUBDIR += R-cran-maptools
- SUBDIR += aa
SUBDIR += accrete
SUBDIR += astrometry
SUBDIR += boinc-astropulse
@@ -13,8 +12,6 @@
SUBDIR += celestia-gnome
SUBDIR += celestia-gtk
SUBDIR += cfitsio
- SUBDIR += dgpsip
- SUBDIR += ephem
SUBDIR += fowsr
SUBDIR += foxtrotgps
SUBDIR += garmindev
@@ -98,7 +95,6 @@
SUBDIR += routino
SUBDIR += saoimage
SUBDIR += sextractor
- SUBDIR += sky2000
SUBDIR += sscalc
SUBDIR += stardates
SUBDIR += starplot
@@ -113,7 +109,6 @@
SUBDIR += wcslib
SUBDIR += weather
SUBDIR += weatherspect
- SUBDIR += wmglobe
SUBDIR += wmjupiter
SUBDIR += wmmoonclock
SUBDIR += wmsolar
diff --git a/astro/aa/Makefile b/astro/aa/Makefile
deleted file mode 100644
index 25ac92d4d051..000000000000
--- a/astro/aa/Makefile
+++ /dev/null
@@ -1,46 +0,0 @@
-# Created by: Frank W. Josellis <frank@dynamical-systems.org>
-# $FreeBSD$
-
-PORTNAME= aa
-PORTVERSION= 56
-PORTREVISION= 2
-CATEGORIES= astro
-MASTER_SITES= http://moshier.net/
-
-MAINTAINER= frank@dynamical-systems.org
-COMMENT= Self-contained ephemeris calculator
-
-BROKEN= Checksum mismatch
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2015-11-26
-
-MAKEFILE= makefile
-USES= dos2unix zip
-ALL_TARGET= aa
-MAKE_ARGS= CC="${CC}" CFLAGS="${CFLAGS} -Wall"
-NO_WRKSUBDIR= yes
-
-SUB_FILES= pkg-message
-
-PORTDOCS= read.me readme.404
-PORTDATA= messier.cat orbit.cat star.cat
-PLIST_FILES= bin/aa etc/aa.ini.default
-
-OPTIONS_DEFINE= DOCS
-
-post-patch:
- @${REINPLACE_CMD} \
- 's|%%PREFIX%%|${PREFIX}|g ; s|%%DATADIR%%|${DATADIR}|g' \
- ${WRKSRC}/kfiles.c
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/aa ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/aa.ini ${STAGEDIR}${PREFIX}/etc/aa.ini.default
- @${MKDIR} ${STAGEDIR}${DATADIR}
- ${INSTALL_DATA} ${PORTDATA:S|^|${WRKSRC}/|} ${STAGEDIR}${DATADIR}
-
-post-install:
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
-
-.include <bsd.port.mk>
diff --git a/astro/aa/distinfo b/astro/aa/distinfo
deleted file mode 100644
index ee36424550fe..000000000000
--- a/astro/aa/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (aa-56.zip) = 0a87c1b8b9971b9c99f7cefd82b986bfe0a84a55823a53cb2c75399d5247e450
-SIZE (aa-56.zip) = 581876
diff --git a/astro/aa/files/patch-aa.c b/astro/aa/files/patch-aa.c
deleted file mode 100644
index 7137cb073eb7..000000000000
--- a/astro/aa/files/patch-aa.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- aa.c.orig Sun Nov 1 01:35:05 1998
-+++ aa.c Fri Aug 11 13:21:19 2006
-@@ -37,9 +37,7 @@
- */
- #include "kep.h"
-
--#ifdef __BORLANDC__
- #include <stdlib.h>
--#endif
-
- #ifdef _MSC_VER
- #if _MSC_VER >= 1000
diff --git a/astro/aa/files/patch-dms.c b/astro/aa/files/patch-dms.c
deleted file mode 100644
index ce3626e6c783..000000000000
--- a/astro/aa/files/patch-dms.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- dms.c.orig Sun Nov 1 18:59:47 1998
-+++ dms.c Fri Aug 11 13:23:07 2006
-@@ -485,7 +485,7 @@
- else
- printf( "Illegal input format\n" );
- printf( ") ? ");
--gets(s);
-+fgets(s, 40, stdin);
- if( s[0] != '\0' )
- sscanf( s, format, num );
- return(0);
diff --git a/astro/aa/files/patch-gplan.c b/astro/aa/files/patch-gplan.c
deleted file mode 100644
index 5738cfb37b8f..000000000000
--- a/astro/aa/files/patch-gplan.c
+++ /dev/null
@@ -1,54 +0,0 @@
---- gplan.c.orig 2003-11-27 02:37:42.000000000 +0100
-+++ gplan.c 2008-02-29 19:00:02.000000000 +0100
-@@ -83,12 +83,8 @@
- /* VAX CC rejects "signed char." */
- char *p;
- #else
--#ifdef __STDC__
-- signed char *p;
--#else
- char *p;
- #endif
--#endif
- double *pl, *pb, *pr;
- #endif
-
-@@ -441,12 +437,8 @@
- /* VAX CC rejects "signed char." */
- char *p;
- #else
--#ifdef __STDC__
-- signed char *p;
--#else
- char *p;
- #endif
--#endif
- long *pl, *pb, *pr;
- #endif
- double su, cu, sv, cv;
-@@ -613,12 +605,8 @@
- /* VAX CC rejects "signed char." */
- char *p;
- #else
--#ifdef __STDC__
-- signed char *p;
--#else
- char *p;
- #endif
--#endif
- long *pl, *pr;
- #endif
- double su, cu, sv, cv;
-@@ -764,12 +752,8 @@
- /* VAX CC rejects "signed char." */
- char *p;
- #else
--#ifdef __STDC__
-- signed char *p;
--#else
- char *p;
- #endif
--#endif
- long *pl;
- #endif
- double su, cu, sv, cv;
diff --git a/astro/aa/files/patch-kfiles.c b/astro/aa/files/patch-kfiles.c
deleted file mode 100644
index e44f31c70450..000000000000
--- a/astro/aa/files/patch-kfiles.c
+++ /dev/null
@@ -1,63 +0,0 @@
---- kfiles.c.orig Sat Aug 9 17:01:51 2003
-+++ kfiles.c Fri Feb 29 16:51:58 2008
-@@ -3,9 +3,8 @@
- * or file containing orbital elements.
- */
-
--#if __BORLANDC__
- #include <stdlib.h>
--#endif
-+#include <stdio.h>
-
- #include "kep.h"
-
-@@ -26,8 +25,8 @@
-
- extern char *intfmt, *strfmt;/* see dms.c */
-
--static char starnam[80] = {'s','t','a','r','.','c','a','t','\0'};
--static char orbnam[80] = {'o','r','b','i','t','.','c','a','t','\0'};
-+static char starnam[80];
-+static char orbnam[80];
- static int linenum = 1;
-
- /* Read initialization file aa.ini
-@@ -67,13 +66,36 @@
- int kinit()
- {
- double a, b, fl, co, si, u;
--FILE *f, *fopen();
-+FILE *f = NULL, *fopen();
- char s[84];
-+char *inifile = NULL, *home = getenv("HOME");
-
- printf( "\n\tSteve Moshier's Ephemeris Program v5.6\n\n" );
- printf( "Planetary and lunar positions approximate DE404.\n" );
-
--f = fopen( "aa.ini", "r" );
-+ snprintf(starnam, 80, "%%DATADIR%%/star.cat");
-+ snprintf(orbnam, 80, "%%DATADIR%%/orbit.cat");
-+
-+/* User inifile */
-+ if(home){
-+ inifile = strdup(home);
-+ realloc(inifile, strlen(home) + strlen("/.aa.ini") + 1);
-+ strcat(inifile,"/.aa.ini");
-+ f = fopen( inifile, "r" );
-+ }
-+
-+ /* System inifile */
-+ if(!f){
-+ inifile = "%%PREFIX%%/etc/aa.ini";
-+ f = fopen( inifile, "r" );
-+ }
-+
-+ if (f){
-+ printf("\nUsing inifile %s\n", inifile);
-+ } else {
-+ printf("\nNo inifile.\n");
-+ }
-+
- if( f )
- {
- fgets( s, 80, f );
diff --git a/astro/aa/files/pkg-message.in b/astro/aa/files/pkg-message.in
deleted file mode 100644
index a6feb1cac452..000000000000
--- a/astro/aa/files/pkg-message.in
+++ /dev/null
@@ -1,17 +0,0 @@
----------------------------------------------------
-NOTE: The program has been set up to read its
-initialization from a dotfile in a user's home,
-
- ${HOME}/.aa.ini
-
-or from the system's ini file
-
- %%PREFIX%%/etc/aa.ini
-
-where the latter has the lower priority. The port
-only installs "%%PREFIX%%/etc/aa.ini.default"
-which shows a sample initialization. To configure
-aa properly, this sample file should be copied to
-one of the above ini files which then needs to be
-edited to match the local requirements.
----------------------------------------------------
diff --git a/astro/aa/pkg-descr b/astro/aa/pkg-descr
deleted file mode 100644
index 70b191931678..000000000000
--- a/astro/aa/pkg-descr
+++ /dev/null
@@ -1,10 +0,0 @@
-This program computes ephemerides of Sun, Moon, planets, comets, and stars
-using rigorous reduction methods from the Astronomical Almanac and related
-sources.
-
-It includes PLAN404 series for positions of the planets, and a long-term
-extension of modern Lunar theory for the Moon's position; reads ASCII file
-catalogues of stars and orbital elements; displays all adjustments as it
-finds local azimuth and elevation, rise and set times, etc.
-
-WWW: http://moshier.net/aadoc.html
diff --git a/astro/dgpsip/Makefile b/astro/dgpsip/Makefile
deleted file mode 100644
index 9c5ce96057b4..000000000000
--- a/astro/dgpsip/Makefile
+++ /dev/null
@@ -1,21 +0,0 @@
-# Created by: Daniel Baker <dbaker@FreeBSD.org>
-# $FreeBSD$
-
-PORTNAME= dgpsip
-PORTVERSION= 1.35
-CATEGORIES= astro geography
-MASTER_SITES= http://www.madbavarian.org/ftp/
-
-MAINTAINER= jharris@widomaker.com
-COMMENT= Differential GPS over IP communication device
-
-BROKEN= No public distfiles
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2015-11-26
-
-GNU_CONFIGURE= yes
-
-PLIST_FILES= bin/dgpsip \
- man/man1/dgpsip.1.gz
-
-.include <bsd.port.mk>
diff --git a/astro/dgpsip/distinfo b/astro/dgpsip/distinfo
deleted file mode 100644
index 5ae55a9e6417..000000000000
--- a/astro/dgpsip/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (dgpsip-1.35.tar.gz) = 8e9d250a8011736ba2e09be09e63dcb9f3c0be01685e38aad62a33d83bd6febd
-SIZE (dgpsip-1.35.tar.gz) = 104868
diff --git a/astro/dgpsip/pkg-descr b/astro/dgpsip/pkg-descr
deleted file mode 100644
index c9c846fde4eb..000000000000
--- a/astro/dgpsip/pkg-descr
+++ /dev/null
@@ -1,24 +0,0 @@
-On a stationary GPS without a differential correction signal, you
-should see a 20 m average radius "drunken walk" pattern. On the same
-receiver with DGPS corrections and a good view of the sky, the
-error the same receiver with DGPS corrections and a good view of
-the sky, the error should be reduced to approximately 2 m average
-radius. If you've always wanted to know exactly where your house
-is located without that annoying GPS "wander," but didn't want to
-spend the money for a DGPS radio, here is your big chance!
-
-I'd like to announce a fun DGPS hack. I've written a small Un*x
-server and client for redistributing DGPS correction signals over
-the Net. Basically the server grabs the serial byte stream from my
-DGPS radio and sends it off over a TCP connection. The client does
-the same thing but in reverse. The result is that you can receive
-the local DGPS corrections from absolutely anywhere by using the
-Internet as the world's largest extension cord. You'll still need
-to be within 1000 miles or so of San Francisco, California, USA
-for best results. However chances are better than not that the GPS
-error will still be reduced if you are 2000 to 3000 miles away.
-Several respondents from 2000 miles away have noted that the remote
-differential signals have diminished the SA-induced position and
-velocity errors by approximately 3 times.
-
-WWW: http://www.madbavarian.org/gps/dgps-ip.html
diff --git a/astro/ephem/Makefile b/astro/ephem/Makefile
deleted file mode 100644
index 9f7a8239efe3..000000000000
--- a/astro/ephem/Makefile
+++ /dev/null
@@ -1,32 +0,0 @@
-# Created by: eserte
-# $FreeBSD$
-
-PORTNAME= ephem
-PORTVERSION= 4.28
-PORTREVISION= 1
-CATEGORIES= astro
-MASTER_SITES= LOCAL/trevor
-DISTNAME= ${PORTNAME}_${PORTVERSION}_unix
-
-MAINTAINER= slaven@rezic.de
-COMMENT= Interactive terminal-based astronomical ephemeris program
-
-BROKEN= No public distfiles
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2015-11-26
-NO_WRKSUBDIR= yes
-ALL_TARGET=
-
-CFLAGS+= -Wno-implicit -Wno-return-type
-
-do-install:
- @${MKDIR} ${STAGEDIR}${DATADIR}
- ${INSTALL_PROGRAM} ${WRKSRC}/ephem ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/Man.txt ${STAGEDIR}${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/ephem.cfg ${STAGEDIR}${DATADIR}/ephem.cfg.sample
- ${INSTALL_DATA} ${WRKSRC}/ephem.db ${STAGEDIR}${DATADIR}/ephem.db.sample
-
-post-install:
- @${ECHO_MSG} "Don't forget to edit ${PREFIX}/share/ephem/ephem.cfg!"
-
-.include <bsd.port.mk>
diff --git a/astro/ephem/distinfo b/astro/ephem/distinfo
deleted file mode 100644
index dc25c1ca574b..000000000000
--- a/astro/ephem/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (ephem_4.28_unix.tar.gz) = 5cadbd5aca0a9a36d59c390579c3c30e408177eefdefeb49576e983c3450e6a2
-SIZE (ephem_4.28_unix.tar.gz) = 135058
diff --git a/astro/ephem/files/patch-Makefile b/astro/ephem/files/patch-Makefile
deleted file mode 100644
index fc428282aad2..000000000000
--- a/astro/ephem/files/patch-Makefile
+++ /dev/null
@@ -1,18 +0,0 @@
-*** Makefile.orig Sat Mar 14 23:21:45 1992
---- Makefile Fri Apr 25 12:30:57 1997
-***************
-*** 1,6 ****
- # Makefile for ephem, v 4.28
-
-! CFLAGS = -O
-
- EPHEM= aa_hadec.o altj.o altmenus.o anomaly.o cal_mjd.o circum.o comet.o \
- compiler.o constel.o eq_ecl.o flog.o formats.o io.o listing.o main.o \
---- 1,7 ----
- # Makefile for ephem, v 4.28
-
-! #CFLAGS = -O
-! CFLAGS+= -DPREFIX=\"${PREFIX}\"
-
- EPHEM= aa_hadec.o altj.o altmenus.o anomaly.o cal_mjd.o circum.o comet.o \
- compiler.o constel.o eq_ecl.o flog.o formats.o io.o listing.o main.o \
diff --git a/astro/ephem/files/patch-aa_hadec.c b/astro/ephem/files/patch-aa_hadec.c
deleted file mode 100644
index 63b8a7e1b03b..000000000000
--- a/astro/ephem/files/patch-aa_hadec.c
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -u aa_hadec.c.orig aa_hadec.c
---- aa_hadec.c.orig Sat Mar 14 23:21:50 1992
-+++ aa_hadec.c Sun Jan 21 20:33:08 2007
-@@ -2,6 +2,8 @@
- #include <math.h>
- #include "astro.h"
-
-+static aaha_aux (double lat, double x, double y, double *p, double *q);
-+
- /* given latitude (n+, radians), lat, altitude (up+, radians), alt, and
- * azimuth (angle round to the east from north+, radians),
- * return hour angle (radians), ha, and declination (radians), dec.
diff --git a/astro/ephem/files/patch-altj.c b/astro/ephem/files/patch-altj.c
deleted file mode 100644
index 2ca18695f2d3..000000000000
--- a/astro/ephem/files/patch-altj.c
+++ /dev/null
@@ -1,16 +0,0 @@
-diff -u altj.c.orig altj.c
---- altj.c.orig Sat Mar 14 23:21:51 1992
-+++ altj.c Sun Jan 21 20:32:47 2007
-@@ -6,6 +6,12 @@
- #include "circum.h"
- #include "screen.h"
-
-+static jupinfo (double d,
-+ double *ix, double *ex, double *gx, double *cx,
-+ double *iy, double *ey, double *gy, double *cy,
-+ double *iz, double *ez, double *gz, double *cz,
-+ double *sIcml, double *sIIcml);
-+
- altj_labels()
- {
- static char grs[] = "(GRS is at approximately 30 degs in System II)";
diff --git a/astro/ephem/files/patch-altmenus.c b/astro/ephem/files/patch-altmenus.c
deleted file mode 100644
index ee463ed60687..000000000000
--- a/astro/ephem/files/patch-altmenus.c
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -u altmenus.c.orig altmenus.c
---- altmenus.c.orig Sat Mar 14 23:21:53 1992
-+++ altmenus.c Sun Jan 21 20:31:43 2007
-@@ -8,6 +8,13 @@
- #include "circum.h"
- #include "screen.h"
-
-+static alt1_labels();
-+static alt2_labels();
-+static alt3_labels();
-+static alt1_body (int p, int force, Now *np);
-+static alt2_body (int p, int force, Now *np);
-+static alt3_body (int p, int force, Now *np);
-+
- static int altmenu = F_MNU1; /* which alternate menu is up; one of F_MNUi */
- static int alt2_stdhzn; /* whether to use STDHZN (aot ADPHZN) horizon algthm */
- static int alt3_geoc; /* whether to use geocentric (aot topocentric) vantage*/
diff --git a/astro/ephem/files/patch-circum.c b/astro/ephem/files/patch-circum.c
deleted file mode 100644
index af693737c6d3..000000000000
--- a/astro/ephem/files/patch-circum.c
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -u circum.c.orig circum.c
---- circum.c.orig Sat Mar 14 23:21:56 1992
-+++ circum.c Sun Jan 21 20:33:31 2007
-@@ -8,6 +8,8 @@
- #include "circum.h"
- #include "screen.h" /* just for SUN and MOON */
-
-+static about_now (Now *n1, Now *n2, double dt);
-+
- /* find body p's circumstances now.
- * to save some time the caller may specify a desired accuracy, in arc seconds.
- * if, based on its mean motion, it would not have moved this much since the
diff --git a/astro/ephem/files/patch-compiler.c b/astro/ephem/files/patch-compiler.c
deleted file mode 100644
index 499d17e2b7d7..000000000000
--- a/astro/ephem/files/patch-compiler.c
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -u compiler.c.orig compiler.c
---- compiler.c.orig Sun Jan 21 20:26:09 2007
-+++ compiler.c Sun Jan 21 20:33:59 2007
-@@ -13,6 +13,14 @@
- #include <stdlib.h>
- #endif
- #include "screen.h"
-+#include <stdio.h>
-+#include <string.h>
-+
-+static next_token();
-+static skip_double();
-+static compile(int prec);
-+static execute(double *result);
-+static parse_fieldname();
-
- /* parser tokens and opcodes, as necessary */
- #define HALT 0 /* good value for HALT since program is inited to 0 */
diff --git a/astro/ephem/files/patch-compiler.c_2 b/astro/ephem/files/patch-compiler.c_2
deleted file mode 100644
index 10d6dd212b7c..000000000000
--- a/astro/ephem/files/patch-compiler.c_2
+++ /dev/null
@@ -1,19 +0,0 @@
-*** compiler.c.orig Tue Apr 15 01:07:37 1997
---- compiler.c Tue Apr 15 01:33:14 1997
-***************
-*** 9,15 ****
-
- #include <math.h>
- #include <ctype.h>
-! #ifdef VMS
- #include <stdlib.h>
- #endif
- #include "screen.h"
---- 9,15 ----
-
- #include <math.h>
- #include <ctype.h>
-! #if defined(VMS) || defined(unix)
- #include <stdlib.h>
- #endif
- #include "screen.h"
diff --git a/astro/ephem/files/patch-constel.c b/astro/ephem/files/patch-constel.c
deleted file mode 100644
index 6ab4dfa1b660..000000000000
--- a/astro/ephem/files/patch-constel.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- constel.c.orig Sun Jan 21 20:40:59 2007
-+++ constel.c Sun Jan 21 20:41:27 2007
-@@ -3,6 +3,8 @@
- #include "screen.h"
- #include "circum.h"
-
-+static confnd(double r, double d, double e, char **name);
-+
- /* print the constellation object p is in now as a prompt message.
- */
- constellation_msg (p, np)
diff --git a/astro/ephem/files/patch-eq_ecl.c b/astro/ephem/files/patch-eq_ecl.c
deleted file mode 100644
index f255e3d42f60..000000000000
--- a/astro/ephem/files/patch-eq_ecl.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- eq_ecl.c.orig Sun Jan 21 20:41:41 2007
-+++ eq_ecl.c Sun Jan 21 20:42:16 2007
-@@ -2,6 +2,8 @@
- #include <math.h>
- #include "astro.h"
-
-+static ecleq_aux (int sw, double mjd, double x, double y, double *p, double *q);
-+
- #define EQtoECL 1
- #define ECLtoEQ (-1)
-
diff --git a/astro/ephem/files/patch-formats.c b/astro/ephem/files/patch-formats.c
deleted file mode 100644
index da8e096589ce..000000000000
--- a/astro/ephem/files/patch-formats.c
+++ /dev/null
@@ -1,19 +0,0 @@
-*** formats.c.orig Tue Apr 15 01:07:37 1997
---- formats.c Tue Apr 15 01:33:15 1997
-***************
-*** 5,11 ****
- #include <stdio.h>
- #include <math.h>
- #include <ctype.h>
-! #ifdef VMS
- #include <stdlib.h>
- #endif
- #include "astro.h"
---- 5,11 ----
- #include <stdio.h>
- #include <math.h>
- #include <ctype.h>
-! #if defined(VMS) || defined(unix)
- #include <stdlib.h>
- #endif
- #include "astro.h"
diff --git a/astro/ephem/files/patch-io.c b/astro/ephem/files/patch-io.c
deleted file mode 100644
index 7fb411a1c962..000000000000
--- a/astro/ephem/files/patch-io.c
+++ /dev/null
@@ -1,99 +0,0 @@
---- io.c.orig Sat Mar 14 23:22:07 1992
-+++ io.c Sun Jan 21 20:46:00 2007
-@@ -28,6 +28,17 @@
- * need to #define VMS since it is inherent in the compiler.
- */
-
-+#include <signal.h>
-+#include <string.h>
-+#include <stdlib.h>
-+
-+static on_alrm();
-+static chk_arrow (register char c);
-+static tload();
-+static char *egetstr (char *name, char **sptr);
-+static setuptty();
-+
-+
- /* unless you are on VMS define one of these... */
- #define UNIX
- /* #define TURBO_C */
-@@ -35,8 +46,8 @@
- /* then if you defined UNIX you must use one of these ways to do non-blocking
- * tty reads
- */
--#define USE_FIONREAD
--/* #define USE_NDELAY */
-+/* #define USE_FIONREAD */
-+#define USE_NDELAY
- /* #define USE_ATTSELECT */
- /* #define USE_BSDSELECT */
-
-@@ -56,7 +67,7 @@
- #ifdef UNIX
- #include <signal.h>
- #ifdef USE_TERMIO
--#include <termio.h>
-+#include <termios.h>
- #endif
- #ifdef USE_SGTTY
- #include <sgtty.h>
-@@ -73,7 +84,7 @@
- static int tloaded;
- static int ttysetup;
- #ifdef USE_TERMIO
--static struct termio orig_tio;
-+static struct termios orig_tio;
- #endif
- #ifdef USE_SGTTY
- static struct sgttyb orig_sgtty;
-@@ -199,11 +210,19 @@
- seqa[0] = c;
- if (l > 1) {
- extern unsigned alarm();
-+ int ch_read, ch_expected, seqa_i;
- /* cautiously read rest of arrow sequence */
- got_alrm = 0;
- (void) signal (SIGALRM, on_alrm);
- alarm(2);
-- read (0, seqa+1, l-1);
-+ /* to make the arrow keys work with FreeBSD ... */
-+ ch_expected = l-1;
-+ seqa_i = 1;
-+ while ((ch_read = read (0, seqa+seqa_i, ch_expected)) > 0 &&
-+ ch_read < ch_expected) {
-+ ch_expected -= ch_read;
-+ seqa_i += ch_read;
-+ }
- alarm(0);
- if (got_alrm)
- return (c);
-@@ -232,7 +251,7 @@
- }
-
- #ifdef USE_TERMIO
-- ioctl (0, TCSETA, &orig_tio);
-+ tcsetattr(0, TCSANOW, &orig_tio);
- #endif
- #ifdef USE_SGTTY
- ioctl (0, TIOCSETP, &orig_sgtty);
-@@ -321,16 +340,16 @@
- setuptty()
- {
- #ifdef USE_TERMIO
-- struct termio tio;
-+ struct termios tio;
-
-- ioctl (0, TCGETA, &orig_tio);
-+ tcgetattr(0, &orig_tio);
- tio = orig_tio;
- tio.c_iflag &= ~ICRNL; /* leave CR unchanged */
- tio.c_oflag &= ~OPOST; /* no output processing */
- tio.c_lflag &= ~(ICANON|ECHO); /* no input processing, no echo */
- tio.c_cc[VMIN] = 1; /* return after each char */
- tio.c_cc[VTIME] = 0; /* no read timeout */
-- ioctl (0, TCSETA, &tio);
-+ tcsetattr(0, TCSANOW, &tio);
- #endif
- #ifdef USE_SGTTY
- struct sgttyb sg;
diff --git a/astro/ephem/files/patch-listing.c b/astro/ephem/files/patch-listing.c
deleted file mode 100644
index 9d0155db37e4..000000000000
--- a/astro/ephem/files/patch-listing.c
+++ /dev/null
@@ -1,41 +0,0 @@
---- listing.c.orig Sat Mar 14 23:22:09 1992
-+++ listing.c Sun Jan 21 20:48:40 2007
-@@ -6,21 +6,36 @@
- * format of the listing file is one line per screen update.
- */
-
-+#include <string.h>
- #include <stdio.h>
- #include <math.h>
- #include "screen.h"
-
--extern char *strcpy();
-+#if (defined(__unix__) || defined(unix)) && !defined(USG)
-+#include <sys/param.h>
-+#endif
-+
-+#if defined(VMS) || defined(unix)
-+#include <errno.h>
-+#endif
-
- #ifdef VMS
- #include <perror.h>
--#include <errno.h>
- #else
-+#ifndef BSD
- extern char *sys_errlist[];
-+#endif
- extern errno;
- #endif
-
- #define errsys (sys_errlist[errno])
-+
-+static lst_reset();
-+static lst_select_fields();
-+static lst_turn_off();
-+static lst_turn_on();
-+static lst_file();
-+static display_listing_file(FILE *lfp);
-
-
- #define TRACE(x) {FILE *fp = fopen("trace","a"); fprintf x; fclose(fp);}
diff --git a/astro/ephem/files/patch-main.c b/astro/ephem/files/patch-main.c
deleted file mode 100644
index 4264880d6fa6..000000000000
--- a/astro/ephem/files/patch-main.c
+++ /dev/null
@@ -1,59 +0,0 @@
---- main.c.orig Sat Mar 14 23:22:10 1992
-+++ main.c Sun Jan 21 20:51:46 2007
-@@ -16,15 +16,26 @@
- #include <signal.h>
- #include <setjmp.h>
- #include <math.h>
--#ifdef VMS
-+#if defined(VMS) || defined(unix)
- #include <stdlib.h>
- #endif
-+#include <time.h>
- #include "astro.h"
- #include "circum.h"
- #include "screen.h"
-+#include <string.h>
-+#include <stdlib.h>
-
--extern char *strncpy();
--extern char *getenv();
-+static read_cfgfile();
-+static void on_fpe();
-+static read_fieldargs(int ac, char *av[]);
-+static crack_fieldset(char *buf);
-+static chg_fld(char *bp, int *fld);
-+static print_tminc(int force);
-+static print_alt(int howmuch);
-+static print_nstep(int force);
-+static print_spause(int force);
-+static toggle_body(int p);
-
- /* shorthands for fields of a Now structure, now.
- * first undo the ones for a Now pointer from circum.h.
-@@ -51,7 +62,11 @@
-
- static jmp_buf fpe_err_jmp; /* used to recover from SIGFPE */
- static char *cfgfile; /* !0 if -c used */
-+#ifdef unix
-+static char cfgdef[] = PREFIX "/share/ephem/ephem.cfg"; /* default configuration file name */
-+#else
- static char cfgdef[] = "ephem.cfg"; /* default configuration file name */
-+#endif
- static Now now; /* where when and how, right now */
- static double tminc; /* hrs to inc time by each loop; RTC means use clock */
- static int nstep; /* steps to go before stopping */
-@@ -1006,12 +1021,12 @@
- */
- slp_sync()
- {
-- extern long time();
-+ /*extern long time();*/
-
- if (spause > 0 && !plot_ison() && !srch_ison() && !listing_ison()) {
- int n;
- if (tminc == RTC) {
-- long t;
-+ time_t t;
- (void) time (&t);
- n = spause - (t % spause);
- } else
diff --git a/astro/ephem/files/patch-mainmenu.c b/astro/ephem/files/patch-mainmenu.c
deleted file mode 100644
index ecb45093a99f..000000000000
--- a/astro/ephem/files/patch-mainmenu.c
+++ /dev/null
@@ -1,17 +0,0 @@
---- mainmenu.c.orig Sun Jan 21 20:52:22 2007
-+++ mainmenu.c Sun Jan 21 20:53:27 2007
-@@ -2,10 +2,14 @@
- */
-
- #include <stdio.h>
-+#include <string.h>
- #include <math.h>
- #include "astro.h"
- #include "circum.h"
- #include "screen.h"
-+
-+static mm_calendar(Now *np, int force);
-+static mm_nfmoon(double jd, double tzone, int m, int f);
-
- /* #define PC_GRAPHICS */
- #ifdef PC_GRAPHICS
diff --git a/astro/ephem/files/patch-moonnf.c b/astro/ephem/files/patch-moonnf.c
deleted file mode 100644
index f453b251425d..000000000000
--- a/astro/ephem/files/patch-moonnf.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- moonnf.c.orig Sun Jan 21 20:53:58 2007
-+++ moonnf.c Sun Jan 21 20:54:21 2007
-@@ -2,6 +2,8 @@
- #include <math.h>
- #include "astro.h"
-
-+static m(double t, double k, double *mjd);
-+
- #define unw(w,z) ((w)-floor((w)/(z))*(z))
-
- /* given a modified Julian date, mjd, return the mjd of the new
diff --git a/astro/ephem/files/patch-objx.c b/astro/ephem/files/patch-objx.c
deleted file mode 100644
index bb82891283dc..000000000000
--- a/astro/ephem/files/patch-objx.c
+++ /dev/null
@@ -1,44 +0,0 @@
---- objx.c.orig Sat Mar 14 23:22:15 1992
-+++ objx.c Sun Jan 21 20:59:07 2007
-@@ -6,17 +6,20 @@
- #include <stdio.h>
- #include <math.h>
- #include <ctype.h>
--#ifdef VMS
-+#if defined(VMS) || defined(unix)
- #include <stdlib.h>
- #endif
-+#include <string.h>
- #include "astro.h"
- #include "circum.h"
- #include "screen.h"
-
--extern char *strcat(), *strcpy(), *strncpy(), *getenv();
--
- static char *dbfile; /* !0 if set by -d option */
-+#ifdef unix
-+static char dbfdef[] = PREFIX "/share/ephem/ephem.db"; /* default database file name */
-+#else
- static char dbfdef[] = "ephem.db"; /* default database file name */
-+#endif
-
- /* structures to describe objects of various types.
- */
-@@ -95,6 +98,17 @@
-
- #define DY 0 /* decimal year flag for set_year() */
- #define YMD 1 /* year/mon/day flag for set_year() */
-+
-+static nxt_db(char buf[], int blen, FILE *fp);
-+static obj_dfixed(Obj *op, int ac, char *av[]);
-+static obj_delliptical(Obj *op, int ac, char *av[]);
-+static obj_dhyperbolic(Obj *op, int ac, char *av[]);
-+static obj_dparabolic(Obj *op, int ac, char *av[]);
-+static set_double(char *av[], int vn, char *pr, double *fp);
-+static set_name(char *av[], char *np);
-+static set_year(char *av[], int vn, char *pr, int type, double *yp);
-+static crack_year(char *bp, double *p);
-+static set_mag(char *av[], int vn, Mag *mp);
-
- /* run when Objx or y is picked from menu.
- * we tell which by the planet code.
diff --git a/astro/ephem/files/patch-plans.c b/astro/ephem/files/patch-plans.c
deleted file mode 100644
index 42396ae14a07..000000000000
--- a/astro/ephem/files/patch-plans.c
+++ /dev/null
@@ -1,26 +0,0 @@
---- plans.c.orig Sun Jan 21 21:00:06 2007
-+++ plans.c Sun Jan 21 21:04:04 2007
-@@ -2,6 +2,23 @@
- #include <math.h>
- #include "astro.h"
-
-+static masun(double mjd, double *mas);
-+static p_mercury(double map[], double *dl, double *dr);
-+static p_venus(double t, double mas, double map[],
-+ double *dl, double *dr, double *dml, double *dm);
-+static p_mars(double mas, double map[],
-+ double *dl, double *dr, double *dml, double *dm);
-+static p_jupiter(double t, double s,
-+ double *dml, double *ds, double *dm, double *da);
-+static p_saturn(double t, double s,
-+ double *dml, double *ds, double *dm, double *da, double *dhl);
-+static p_uranus(double t, double s,
-+ double *dl, double* dr, double* dml, double* ds,
-+ double* dm, double* da, double* dhl);
-+static p_neptune(double t, double s,
-+ double* dl, double* dr, double* dml, double* ds,
-+ double* dm, double* da, double* dhl);
-+
- #define TWOPI (2*PI)
- #define mod2PI(x) ((x) - (long)((x)/TWOPI)*TWOPI)
-
diff --git a/astro/ephem/files/patch-plot.c b/astro/ephem/files/patch-plot.c
deleted file mode 100644
index 7e386e66623b..000000000000
--- a/astro/ephem/files/patch-plot.c
+++ /dev/null
@@ -1,36 +0,0 @@
---- plot.c.orig Sat Mar 14 23:22:20 1992
-+++ plot.c Sun Jan 21 21:06:06 2007
-@@ -10,16 +10,31 @@
- */
-
- #include <stdio.h>
-+#include <string.h>
- #include <math.h>
- #include "screen.h"
-
--extern char *strcpy();
-+static plt_select_fields();
-+static plt_turn_off();
-+static plt_turn_on();
-+static plt_file();
-+static plot_cartesian(FILE *pfp);
-+static plot_polar(FILE *pfp);
-+
-+#if (defined(__unix__) || defined(unix)) && !defined(USG)
-+#include <sys/param.h>
-+#endif
-+
-+#if defined(VMS) || defined(unix)
-+#include <errno.h>
-+#endif
-
- #ifdef VMS
- #include <perror.h>
--#include <errno.h>
- #else
-+#ifndef BSD
- extern char *sys_errlist[];
-+#endif
- extern errno;
- #endif
-
diff --git a/astro/ephem/files/patch-riset_c.c b/astro/ephem/files/patch-riset_c.c
deleted file mode 100644
index 17252b1e9f72..000000000000
--- a/astro/ephem/files/patch-riset_c.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- riset_c.c.orig Sun Jan 21 21:07:04 2007
-+++ riset_c.c Sun Jan 21 21:08:51 2007
-@@ -6,6 +6,16 @@
- #include "circum.h"
- #include "screen.h" /* just for SUN and MOON */
-
-+static iterative_riset(int p, Now *np, int hzn,
-+ double *ltr, double *lts, double *ltt,
-+ double *azr, double *azs, double *altt,
-+ int *status);
-+static stationary_riset(int p, double mjd0, Now *np, int hzn,
-+ double *lstr, double *lsts, double *lstt,
-+ double *azr, double *azs, double *altt,
-+ int *status);
-+static transit(double r, double d, Now *np, double *lstt, double *altt);
-+
- #define TRACE(x) {FILE *fp = fopen("trace","a"); fprintf x; fclose(fp);}
-
- #define STDREF degrad(34./60.) /* nominal horizon refraction amount */
diff --git a/astro/ephem/files/patch-sel_fld.c b/astro/ephem/files/patch-sel_fld.c
deleted file mode 100644
index b24c8f1ca7e5..000000000000
--- a/astro/ephem/files/patch-sel_fld.c
+++ /dev/null
@@ -1,12 +0,0 @@
---- sel_fld.c.orig Sun Jan 21 21:09:19 2007
-+++ sel_fld.c Sun Jan 21 21:10:03 2007
-@@ -1,6 +1,9 @@
- #include <stdio.h>
- #include "screen.h"
-
-+static move_cur(char dirchar, int flag, int *rp, int *cp);
-+static int nearestfld(int r, int c, int flag);
-+
- /* define BANG if and only if your system supports the system() function.
- */
- #define BANG
diff --git a/astro/ephem/files/patch-srch.c b/astro/ephem/files/patch-srch.c
deleted file mode 100644
index e419956d8d25..000000000000
--- a/astro/ephem/files/patch-srch.c
+++ /dev/null
@@ -1,18 +0,0 @@
---- srch.c.orig Sun Jan 21 21:10:29 2007
-+++ srch.c Sun Jan 21 21:11:37 2007
-@@ -6,9 +6,14 @@
-
- #include <stdio.h>
- #include <math.h>
-+#include <string.h>
- #include "screen.h"
-
--extern char *strcpy();
-+static set_function();
-+static set_accuracy();
-+static srch_minmax(double mjd, double v, double *tmincp);
-+static srch_solve0(double mjd, double v, double *tmincp);
-+static srch_binary(double mjd, double v, double *tmincp);
-
- static int (*srch_f)();
- static int srch_tmscalled;
diff --git a/astro/ephem/files/patch-time.c b/astro/ephem/files/patch-time.c
deleted file mode 100644
index 007efb6fa346..000000000000
--- a/astro/ephem/files/patch-time.c
+++ /dev/null
@@ -1,115 +0,0 @@
-*** time.c.orig Sun Mar 15 07:22:29 1992
---- time.c Sun Jan 3 17:28:45 1999
-***************
-*** 13,37 ****
- * returning 0.
- */
-
-- #define TZB
--
- #ifdef VMS
- #undef TZA
- #undef TZB
- #endif
-
- #include <stdio.h>
- #include <time.h>
-
- #include "astro.h"
- #include "circum.h"
-
- extern char *strncpy();
- #ifndef VMS
- extern long time();
- #endif
-
-! static long c0;
- static double mjd0;
-
- /* save current mjd and corresponding system clock for use by inc_mjd().
---- 13,42 ----
- * returning 0.
- */
-
- #ifdef VMS
- #undef TZA
- #undef TZB
- #endif
-
- #include <stdio.h>
-+ #include <string.h>
- #include <time.h>
-
-+ #if (defined(__unix__) || defined(unix)) && !defined(USG)
-+ #include <sys/param.h>
-+ #endif
-+
- #include "astro.h"
- #include "circum.h"
-
-+ #if !(defined(BSD) && BSD >= 199306)
- extern char *strncpy();
- #ifndef VMS
- extern long time();
- #endif
-+ #endif
-
-! static time_t c0;
- static double mjd0;
-
- /* save current mjd and corresponding system clock for use by inc_mjd().
-***************
-*** 49,57 ****
- time_fromsys (np)
- Now *np;
- {
- extern struct tm *gmtime(), *localtime();
- struct tm *tp;
-! long c;
- double day, hr;
-
- (void) time (&c);
---- 54,64 ----
- time_fromsys (np)
- Now *np;
- {
-+ #if !(defined(BSD) && BSD >= 199306)
- extern struct tm *gmtime(), *localtime();
-+ #endif
- struct tm *tp;
-! time_t c;
- double day, hr;
-
- (void) time (&c);
-***************
-*** 62,68 ****
---- 69,80 ----
- sex_dec (tp->tm_hour, tp->tm_min, tp->tm_sec, &hr);
- mjd = day + hr/24.0;
- tp = localtime (&c);
-+ #ifdef __FreeBSD__
-+ tz = -tp->tm_gmtoff/3600;
-+ strcpy(tznm, tp->tm_zone);
-+ #else
- settzstuff (tp->tm_isdst ? 1 : 0, np);
-+ #endif
- } else {
- /* if gmtime() doesn't work, we assume the timezone stuff won't
- * either, so we just use what it is and leave it alone. Some
-***************
-*** 114,120 ****
- double inc;
- {
- if (inc == RTC) {
-! long c;
- (void) time (&c);
- mjd = mjd0 + (c - c0)/SPD;
- } else
---- 126,132 ----
- double inc;
- {
- if (inc == RTC) {
-! time_t c;
- (void) time (&c);
- mjd = mjd0 + (c - c0)/SPD;
- } else
diff --git a/astro/ephem/files/patch-utc_gst.c b/astro/ephem/files/patch-utc_gst.c
deleted file mode 100644
index 3ce3a8d5c1f1..000000000000
--- a/astro/ephem/files/patch-utc_gst.c
+++ /dev/null
@@ -1,10 +0,0 @@
---- utc_gst.c.orig Sun Jan 21 21:13:45 2007
-+++ utc_gst.c Sun Jan 21 21:14:05 2007
-@@ -1,5 +1,7 @@
- #include "astro.h"
-
-+static double tnaught(double mjd);
-+
- /* given a modified julian date, mjd, and a universally coordinated time, utc,
- * return greenwich mean siderial time, *gst.
- */
diff --git a/astro/ephem/files/patch-version.c b/astro/ephem/files/patch-version.c
deleted file mode 100644
index 6737bfb06113..000000000000
--- a/astro/ephem/files/patch-version.c
+++ /dev/null
@@ -1,19 +0,0 @@
-*** version.c.orig Wed Apr 23 12:38:55 1997
---- version.c Wed Apr 23 12:39:29 1997
-***************
-*** 214,220 ****
- "Jupiter's moons based on information in \"Astronomical Formulae for",
- "Calculators\" by Jean Meeus. Richmond, Va., U.S.A., Willmann-Bell, (c) 1982.",
- */
-! "See the manual (Man.txt) for a list of references.",
- "",
- "type any key to continue..."
- };
---- 214,220 ----
- "Jupiter's moons based on information in \"Astronomical Formulae for",
- "Calculators\" by Jean Meeus. Richmond, Va., U.S.A., Willmann-Bell, (c) 1982.",
- */
-! "See the manual (" PREFIX "/share/ephem/Man.txt) for a list of references.",
- "",
- "type any key to continue..."
- };
diff --git a/astro/ephem/files/patch-watch.c b/astro/ephem/files/patch-watch.c
deleted file mode 100644
index 295281edaf6c..000000000000
--- a/astro/ephem/files/patch-watch.c
+++ /dev/null
@@ -1,16 +0,0 @@
---- watch.c.orig Sun Jan 21 21:14:29 2007
-+++ watch.c Sun Jan 21 21:16:30 2007
-@@ -51,6 +51,13 @@
-
- static int trails; /* !0 if want to leave trails */
-
-+static watch_sky(int style, Now *np, double tminc, int wbodies);
-+static watch_solarsystem(Now *np, double tminc, int wbodies);
-+static set_ss(LastDraw *lp, double dist, double lg, double lt, char tag);
-+static set_screencoords(LastDraw lp[], int np);
-+static safe_f_char(int r, int c, char tag);
-+static int readwcmd(double tminc0, double *tminc, int *once);
-+
- watch (np, tminc, wbodies)
- Now *np; /* time now and on each step */
- double tminc; /* hrs to increment time by each step */
diff --git a/astro/ephem/pkg-descr b/astro/ephem/pkg-descr
deleted file mode 100644
index 3fc9fe6c6517..000000000000
--- a/astro/ephem/pkg-descr
+++ /dev/null
@@ -1,6 +0,0 @@
-Ephem is a program that displays ephemerides for all the planets plus any
-two additional objects. The additional objects may be fixed or specified
-via heliocentric elliptical, hyperbolic or parabolic orbital elements to
-accommodate solar system objects such as asteroids or comets.
-
-Unlike xephem, ephem works on a plain ascii terminal.
diff --git a/astro/ephem/pkg-plist b/astro/ephem/pkg-plist
deleted file mode 100644
index 5b026f7f6f41..000000000000
--- a/astro/ephem/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-bin/ephem
-%%DATADIR%%/Man.txt
-@sample %%DATADIR%%/ephem.cfg.sample
-@sample %%DATADIR%%/ephem.db.sample
diff --git a/astro/sky2000/Makefile b/astro/sky2000/Makefile
deleted file mode 100644
index 47ebfe768171..000000000000
--- a/astro/sky2000/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-# Created by: Ying-Chieh Liao <ijliao@FreeBSD.org>
-# $FreeBSD$
-
-PORTNAME= sky2000
-PORTVERSION= 0.2
-CATEGORIES= astro
-MASTER_SITES= SF/nova/catalogs/${PORTNAME}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Binary representation of the Sky2000 star catalog
-
-BROKEN= No public distfiles
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2015-11-26
-
-GNU_CONFIGURE= yes
-
-DATADIR= ${PREFIX}/share/nova
-
-post-patch:
- @${REINPLACE_CMD} -e 's,/nova/,/share/nova/,' ${WRKSRC}/configure
-
-.include <bsd.port.mk>
diff --git a/astro/sky2000/distinfo b/astro/sky2000/distinfo
deleted file mode 100644
index 873724d5d698..000000000000
--- a/astro/sky2000/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (sky2000-0.2.tar.gz) = 33c8863a120f0e1bd78dcdd3aa124e7ac4046110219209df08d112911c7acda1
-SIZE (sky2000-0.2.tar.gz) = 9159197
diff --git a/astro/sky2000/files/patch-data-Makefile.in b/astro/sky2000/files/patch-data-Makefile.in
deleted file mode 100644
index db27639724d2..000000000000
--- a/astro/sky2000/files/patch-data-Makefile.in
+++ /dev/null
@@ -1,17 +0,0 @@
---- data/Makefile.in.orig 2013-10-25 14:33:23.000000000 +0800
-+++ data/Makefile.in 2013-10-25 14:36:57.000000000 +0800
-@@ -226,11 +226,11 @@ uninstall-am: uninstall-info-am
-
- install-data-local:
- @$(NORMAL_INSTALL)
-- $(mkinstalldirs) @NOVA_CATALOG_DIR@;
-- $(INSTALL_DATA) sky2000.ncd $(NOVA_CATALOG_DIR)../sky2000.ncd
-+ $(mkinstalldirs) $(DESTDIR)@NOVA_CATALOG_DIR@;
-+ $(INSTALL_DATA) sky2000.ncd $(DESTDIR)$(NOVA_CATALOG_DIR)../sky2000.ncd
- for catalog in *.noc ; do \
- if test -f $$catalog; then \
-- $(INSTALL_DATA) $$catalog $(NOVA_CATALOG_DIR); \
-+ $(INSTALL_DATA) $$catalog $(DESTDIR)$(NOVA_CATALOG_DIR); \
- fi \
- done
- # Tell versions [3.59,3.63) of GNU make to not export all variables.
diff --git a/astro/sky2000/pkg-descr b/astro/sky2000/pkg-descr
deleted file mode 100644
index 3f6a21d4f56e..000000000000
--- a/astro/sky2000/pkg-descr
+++ /dev/null
@@ -1,4 +0,0 @@
-Sky2000 Binary Catalog
-
-This is a binary representation of some of the fields in the the
-Sky2000 star catalog.
diff --git a/astro/sky2000/pkg-plist b/astro/sky2000/pkg-plist
deleted file mode 100644
index beab4bb8aba3..000000000000
--- a/astro/sky2000/pkg-plist
+++ /dev/null
@@ -1,16 +0,0 @@
-%%DATADIR%%/catalogs/sky2000.ncd
-%%DATADIR%%/catalogs/sky2000/sky2000-m10.noc
-%%DATADIR%%/catalogs/sky2000/sky2000-m11.noc
-%%DATADIR%%/catalogs/sky2000/sky2000-m12.noc
-%%DATADIR%%/catalogs/sky2000/sky2000-m13.noc
-%%DATADIR%%/catalogs/sky2000/sky2000-m14.noc
-%%DATADIR%%/catalogs/sky2000/sky2000-m15.noc
-%%DATADIR%%/catalogs/sky2000/sky2000-m16.noc
-%%DATADIR%%/catalogs/sky2000/sky2000-m17.noc
-%%DATADIR%%/catalogs/sky2000/sky2000-m18.noc
-%%DATADIR%%/catalogs/sky2000/sky2000-m19.noc
-%%DATADIR%%/catalogs/sky2000/sky2000-m20.noc
-%%DATADIR%%/catalogs/sky2000/sky2000-m6.noc
-%%DATADIR%%/catalogs/sky2000/sky2000-m7.noc
-%%DATADIR%%/catalogs/sky2000/sky2000-m8.noc
-%%DATADIR%%/catalogs/sky2000/sky2000-m9.noc
diff --git a/astro/wmglobe/Makefile b/astro/wmglobe/Makefile
deleted file mode 100644
index a4d6cb41d67f..000000000000
--- a/astro/wmglobe/Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
-# Created by: Will Andrews <andrews@technologist.com>
-# $FreeBSD$
-
-PORTNAME= wmglobe
-PORTVERSION= 1.3
-PORTREVISION= 10
-CATEGORIES= astro windowmaker geography
-MASTER_SITES= http://hamete.org/static/wmg/
-
-MAINTAINER= will@FreeBSD.org
-COMMENT= Neat xearth-like WindowMaker dockapp
-
-BROKEN= No public distfiles
-DEPRECATED= Broken for more than 6 months
-EXPIRATION_DATE= 2015-11-26
-
-LIB_DEPENDS= libwraster.so:${PORTSDIR}/x11-wm/libwraster
-
-PLIST_FILES= bin/wmglobe \
- man/man1/wmglobe.1.gz
-MAKE_ARGS= PREFIX=${STAGEDIR}${PREFIX}
-
-.include <bsd.port.mk>
diff --git a/astro/wmglobe/distinfo b/astro/wmglobe/distinfo
deleted file mode 100644
index 23fcc710f491..000000000000
--- a/astro/wmglobe/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (wmglobe-1.3.tar.gz) = 3ba943d2e2e18d6c517144f74db81e51b8f9137dcde377c83f3414df9c75a914
-SIZE (wmglobe-1.3.tar.gz) = 75541
diff --git a/astro/wmglobe/files/patch-Makefile b/astro/wmglobe/files/patch-Makefile
deleted file mode 100644
index 3b917fbb5b9e..000000000000
--- a/astro/wmglobe/files/patch-Makefile
+++ /dev/null
@@ -1,31 +0,0 @@
---- Makefile.orig Wed Feb 3 05:11:37 1999
-+++ Makefile Tue Feb 22 22:22:20 2000
-@@ -1,12 +1,11 @@
--INC = -I/usr/X11R6/include
--LIBS = -lXext -lX11 -lm -L/usr/X11R6/lib \
-- -ltiff -lXpm -lpng -lz -ljpeg -lungif -lwraster
-+INC = `get-wraster-flags --cflags`
-+LIBS = `get-wraster-flags --ldflags` `get-wraster-flags --libs`
- OBJS = src/wmglobe.o src/rend.o src/wmgutil.o \
- src/sunpos.o src/myconvert.o src/mycontext.o
-
-
- .c.o :
-- gcc -c -O2 -Wall $(INC) $< -o $*.o
-+ ${CC} -c ${CFLAGS} $(INC) $< -o $@
-
- all: wmglobe
-
-@@ -14,9 +13,8 @@
- rm -f src/*.o wmglobe
-
- wmglobe : $(OBJS)
-- gcc -O2 -Wall $(OBJS) -o wmglobe $(LIBS)
-- strip wmglobe
-+ ${CC} ${CFLAGS} $(OBJS) -o wmglobe $(LIBS)
-
- install :
-- install wmglobe /usr/local/bin
-- install wmglobe.1 /usr/local/man/man1
-+ ${BSD_INSTALL_PROGRAM} wmglobe ${PREFIX}/bin
-+ ${BSD_INSTALL_MAN} wmglobe.1 ${PREFIX}/man/man1
diff --git a/astro/wmglobe/pkg-descr b/astro/wmglobe/pkg-descr
deleted file mode 100644
index ba57db10934d..000000000000
--- a/astro/wmglobe/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-wmglobe is a neat WindowMaker dockapp that displays a
-xearth-like display of the earth that is currently under
-the sun, and does a lot of other neat stuff.
-
-WWW: http://hamete.org/static/wmg/