summaryrefslogtreecommitdiff
path: root/x11/xephem
diff options
context:
space:
mode:
authortron <tron>1998-09-01 21:44:58 +0000
committertron <tron>1998-09-01 21:44:58 +0000
commit0327c12ececf3e4f46dbbe5a8dc2576643eb9621 (patch)
treefc934551ccb3a031ba7894811305c9c50bacaafa /x11/xephem
parent049c3a3558fc2b78360e3321d02a5a73f7018cd6 (diff)
downloadpkgsrc-0327c12ececf3e4f46dbbe5a8dc2576643eb9621.tar.gz
New "xephem-3.1" package created by Jim Bernard:
An interactive astronomical ephemeris program.
Diffstat (limited to 'x11/xephem')
-rw-r--r--x11/xephem/Makefile60
-rw-r--r--x11/xephem/files/md53
-rw-r--r--x11/xephem/patches/patch-aa13
-rw-r--r--x11/xephem/patches/patch-ab27
-rw-r--r--x11/xephem/patches/patch-ac10
-rw-r--r--x11/xephem/patches/patch-ad10
-rw-r--r--x11/xephem/patches/patch-ae10
-rw-r--r--x11/xephem/pkg/COMMENT1
-rw-r--r--x11/xephem/pkg/DESCR13
-rw-r--r--x11/xephem/pkg/PLIST33
10 files changed, 180 insertions, 0 deletions
diff --git a/x11/xephem/Makefile b/x11/xephem/Makefile
new file mode 100644
index 00000000000..f4ae71ad6d6
--- /dev/null
+++ b/x11/xephem/Makefile
@@ -0,0 +1,60 @@
+# $NetBSD: Makefile,v 1.1 1998/09/01 21:44:58 tron Exp $
+
+DISTNAME= xephem-3.1
+CATEGORIES= x11
+MASTER_SITES= ftp://iraf.noao.edu/contrib/xephem/xephem-3.1/ \
+ ftp://gastro23.physics.uiowa.edu/pub/xephem/ \
+ ftp://iphcip1.physik.uni-mainz.de/pub/xephem/ \
+ ftp://wolf.ifj.edu.pl/mirror/xephem/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://iraf.noao.edu/~ecdowney/xephem.html
+
+DEPENDS+= xpm-3.4k:../../graphics/xpm
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/GUI/xephem
+LIBSRC= ${WRKDIR}/${DISTNAME}/libastro
+USE_IMAKE= yes
+USE_MOTIF= yes
+
+LICENSE= non-commercial-use
+
+pre-configure:
+ @(cd ${LIBSRC} && ${SETENV} ${SCRIPTS_ENV} XPROJECTROOT=${X11BASE} \
+ ${XMKMF})
+
+pre-build:
+ @(cd ${LIBSRC}; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} \
+ -f ${MAKEFILE} ${ALL_TARGET})
+
+PERL_SCRIPTS= astorb2edb.pl encke2edb.pl yeomans.pl
+
+post-install:
+ @${SED} s,@PREFIX@,${PREFIX}, ${WRKSRC}/XEphem.ad > ${WRKDIR}/XEphem
+ ${INSTALL_DATA} ${WRKDIR}/XEphem ${PREFIX}/lib/X11/app-defaults
+ @${INSTALL_DATA_DIR} ${PREFIX}/share/xephem/auxil \
+ ${PREFIX}/share/xephem/catalogs \
+ ${PREFIX}/share/xephem/tools \
+ ${PREFIX}/share/doc/xephem
+ (cd ${WRKSRC}/auxil; ${INSTALL_DATA} README mars_db marsmap.fts \
+ moon.fts moon_db xephem.hlp xephem_sites \
+ ${PREFIX}/share/xephem/auxil)
+ (cd ${WRKSRC}/catalogs; ${INSTALL_DATA} Messier.edb NGC.edb SAC.edb \
+ YBS.edb asteroids.edb comets.edb mir.edb \
+ ${PREFIX}/share/xephem/catalogs)
+ (cd ${WRKSRC}/tools; ${INSTALL_DATA} README gps.awk jost2edb.nawk \
+ ${PREFIX}/share/xephem/tools; \
+ ${INSTALL_SCRIPT} extract.awk tle2edb.awk \
+ ${PREFIX}/share/xephem/tools)
+ @(cd ${WRKSRC}/tools; for file in ${PERL_SCRIPTS}; do \
+ ${SED} 1s,@LOCALBASE@,${LOCALBASE}, $$file \
+ > ${WRKDIR}/$$file; \
+ done)
+ for file in ${PERL_SCRIPTS}; do \
+ ${INSTALL_SCRIPT} ${WRKDIR}/$$file \
+ ${PREFIX}/share/xephem/tools; \
+ done
+ (cd ${WRKDIR}/${DISTNAME}; ${INSTALL_DATA} Copyright README \
+ ${PREFIX}/share/doc/xephem)
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/x11/xephem/files/md5 b/x11/xephem/files/md5
new file mode 100644
index 00000000000..650477ffcea
--- /dev/null
+++ b/x11/xephem/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1 1998/09/01 21:44:59 tron Exp $
+
+MD5 (xephem-3.1.tar.gz) = 5b84de23348f08a3b979ddd11bdc7cc4
diff --git a/x11/xephem/patches/patch-aa b/x11/xephem/patches/patch-aa
new file mode 100644
index 00000000000..02ab4f564c5
--- /dev/null
+++ b/x11/xephem/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 1998/09/01 21:44:59 tron Exp $
+
+--- Imakefile.orig Wed Mar 4 09:36:44 1998
++++ Imakefile Sat Aug 29 11:08:05 1998
+@@ -55,7 +55,7 @@
+
+ SRCS = $(OBJS:.o=.c)
+
+- XMLIB = -lXm -lXpm
++ XMLIB = ${MOTIFLIB} -lXpm
+ DEPLIBS = $(DEPXMLIB) $(DEPXTOOLLIB) $(DEPXLIB)
+ EXTRA_INCLUDES = -I../../libastro
+ LOCAL_LDFLAGS = -L../../libastro
diff --git a/x11/xephem/patches/patch-ab b/x11/xephem/patches/patch-ab
new file mode 100644
index 00000000000..969b74796c2
--- /dev/null
+++ b/x11/xephem/patches/patch-ab
@@ -0,0 +1,27 @@
+$NetBSD: patch-ab,v 1.1 1998/09/01 21:44:59 tron Exp $
+
+--- XEphem.ad.orig Fri Mar 13 17:45:06 1998
++++ XEphem.ad Sat Aug 29 12:04:56 1998
+@@ -166,7 +166,7 @@
+ ! system-wide directory for xephem support files
+ ! N.B. under this are auxil/, fifos/, and catalogs/
+ ! N.B. if present, ppm.xe and the gsc base directory must be under catalogs/
+-XEphem.BaseDir: .
++XEphem.BaseDir: @PREFIX@/share/xephem
+
+ ! mount point for CDROM device
+ ! only used if have access to ASP GSC CDROM
+@@ -198,11 +198,11 @@
+ ! *************************************************************************
+ ! default PPM and GSC Field stars and Network setup choices
+ XEphem*FieldStars*GSCCD.set: False
+-XEphem*FieldStars*GSCCache.set: True
++XEphem*FieldStars*GSCCache.set: False
+ XEphem*FieldStars*XEphemdbdNet.set: False
+ XEphem*FieldStars*XEphemdbdURL.value: /iro.physics.uiowa.edu/cgi-bin/xephemdbd/xephemdbd.pl
+ XEphem*FieldStars*ESONet.set: False
+-XEphem*FieldStars*PPM.set: True
++XEphem*FieldStars*PPM.set: False
+ XEphem*FieldStars*NoDups.set: True
+ XEphem*FieldStars*SAOHD.set: True
+ XEphem*FieldStars*Proxy.set: False
diff --git a/x11/xephem/patches/patch-ac b/x11/xephem/patches/patch-ac
new file mode 100644
index 00000000000..c5ab5d89e90
--- /dev/null
+++ b/x11/xephem/patches/patch-ac
@@ -0,0 +1,10 @@
+$NetBSD: patch-ac,v 1.1 1998/09/01 21:44:59 tron Exp $
+
+--- tools/astorb2edb.pl.orig Mon Sep 22 21:50:36 1997
++++ tools/astorb2edb.pl Sat Aug 29 11:02:58 1998
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
++#!@LOCALBASE@/bin/perl
+ # convert astorb.dat on stdin to asteroids.edb on stdout.
+ #
+ # actually, only those asteroids that might ever be brighter than dimmag are
diff --git a/x11/xephem/patches/patch-ad b/x11/xephem/patches/patch-ad
new file mode 100644
index 00000000000..6857159b220
--- /dev/null
+++ b/x11/xephem/patches/patch-ad
@@ -0,0 +1,10 @@
+$NetBSD: patch-ad,v 1.1 1998/09/01 21:44:59 tron Exp $
+
+--- tools/encke2edb.pl.orig Fri Oct 11 08:47:17 1996
++++ tools/encke2edb.pl Sat Aug 29 11:03:36 1998
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
++#!@LOCALBASE@/bin/perl
+ # convert elements appearing in http://encke.jpl.nasa.gov/eph to xephem format.
+ # we need to scan the entire ephemeris so we can dig out the various values
+ # which are sprinkled near the beginning and end of the file.
diff --git a/x11/xephem/patches/patch-ae b/x11/xephem/patches/patch-ae
new file mode 100644
index 00000000000..e23ad58d810
--- /dev/null
+++ b/x11/xephem/patches/patch-ae
@@ -0,0 +1,10 @@
+$NetBSD: patch-ae,v 1.1 1998/09/01 21:44:59 tron Exp $
+
+--- tools/yeomans.pl.orig Mon Dec 9 11:21:04 1996
++++ tools/yeomans.pl Sat Aug 29 11:04:18 1998
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl
++#!@LOCALBASE@/bin/perl
+ # convert elements posted by Don Yeomans to http://encke.jpl.nasa.gov/eph to
+ # xephem format.
+ # we need to scan the entire ephemeris so we can dig out the various values
diff --git a/x11/xephem/pkg/COMMENT b/x11/xephem/pkg/COMMENT
new file mode 100644
index 00000000000..426641b85ef
--- /dev/null
+++ b/x11/xephem/pkg/COMMENT
@@ -0,0 +1 @@
+An interactive astronomical ephemeris program.
diff --git a/x11/xephem/pkg/DESCR b/x11/xephem/pkg/DESCR
new file mode 100644
index 00000000000..99701623fb5
--- /dev/null
+++ b/x11/xephem/pkg/DESCR
@@ -0,0 +1,13 @@
+XEphem is an interactive astronomical ephemeris program for X Windows
+systems. For a full tour of features and the latest news, visit the
+XEphem home page at:
+
+ http://iraf.noao.edu/~ecdowney/xephem.html
+
+In brief, XEphem can display views of the sky, moon, Earth, solar system,
+Jupiter, Saturn, and Mars, and can print any view or save it to a postscript
+file.
+
+For a compendium of additional database files for XEphem, see
+
+ http://iraf.noao.edu/~ecdowney/db.html
diff --git a/x11/xephem/pkg/PLIST b/x11/xephem/pkg/PLIST
new file mode 100644
index 00000000000..09c6314b46f
--- /dev/null
+++ b/x11/xephem/pkg/PLIST
@@ -0,0 +1,33 @@
+@comment $NetBSD: PLIST,v 1.1 1998/09/01 21:45:00 tron Exp $
+bin/xephem
+man/cat1/xephem.0
+lib/X11/app-defaults/XEphem
+share/xephem/auxil/README
+share/xephem/auxil/mars_db
+share/xephem/auxil/marsmap.fts
+share/xephem/auxil/moon.fts
+share/xephem/auxil/moon_db
+share/xephem/auxil/xephem.hlp
+share/xephem/auxil/xephem_sites
+share/xephem/catalogs/Messier.edb
+share/xephem/catalogs/NGC.edb
+share/xephem/catalogs/SAC.edb
+share/xephem/catalogs/YBS.edb
+share/xephem/catalogs/asteroids.edb
+share/xephem/catalogs/comets.edb
+share/xephem/catalogs/mir.edb
+share/xephem/tools/README
+share/xephem/tools/gps.awk
+share/xephem/tools/jost2edb.nawk
+share/xephem/tools/extract.awk
+share/xephem/tools/tle2edb.awk
+share/xephem/tools/astorb2edb.pl
+share/xephem/tools/encke2edb.pl
+share/xephem/tools/yeomans.pl
+share/doc/xephem/Copyright
+share/doc/xephem/README
+@dirrm share/xephem/tools
+@dirrm share/xephem/catalogs
+@dirrm share/xephem/auxil
+@dirrm share/xephem
+@dirrm share/doc/xephem