summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/xephem/ChangeLog76
-rw-r--r--sci-astronomy/xephem/Manifest6
-rw-r--r--sci-astronomy/xephem/files/digest-xephem-3.6.21
-rw-r--r--sci-astronomy/xephem/files/digest-xephem-3.6.2-r11
-rw-r--r--sci-astronomy/xephem/metadata.xml5
-rw-r--r--sci-astronomy/xephem/xephem-3.6.2-r1.ebuild60
-rw-r--r--sci-astronomy/xephem/xephem-3.6.2.ebuild61
7 files changed, 210 insertions, 0 deletions
diff --git a/sci-astronomy/xephem/ChangeLog b/sci-astronomy/xephem/ChangeLog
new file mode 100644
index 000000000000..2119590b0570
--- /dev/null
+++ b/sci-astronomy/xephem/ChangeLog
@@ -0,0 +1,76 @@
+# ChangeLog for app-sci/xephem
+# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/xephem/ChangeLog,v 1.1 2004/12/24 04:27:39 ribosome Exp $
+
+*xephem-3.6.2 (23 Dec 2004)
+
+ 23 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+ +xephem-3.6.2-r1.ebuild, +xephem-3.6.2.ebuild:
+ Moved from app-sci/xephem to sci-astronomy/xephem.
+
+*xephem-3.6.2-r1 (23 Dec 2004)
+
+ 23 Dec 2004; Patrick Kursawe <phosphan@gentoo.org> +xephem-3.6.2-r1.ebuild:
+ Now installing data into /usr/share/xephem where they belong.
+ No longer adding -ffast-math.
+ Installing a few directories that the old ebuild didn't get.
+
+ 21 Dec 2004; Patrick Kursawe <phosphan@gentoo.org> -xephem-3.5.2.ebuild,
+ -xephem-3.6.1.ebuild, xephem-3.6.2.ebuild, -xephem-3.6.ebuild:
+ Big cleanup. Removing fetch restriction after getting mirror permission from
+ the developers.
+
+ 20 Dec 2004; Patrick Kursawe <phosphan@gentoo.org> xephem-3.6.2.ebuild:
+ Declaring latest version stable because the package has fetch restriction and
+ older versions aren't available for download any more.
+
+*xephem-3.6.2 (15 Dec 2004)
+
+ 15 Dec 2004; Patrick Kursawe <phosphan@gentoo.org> +xephem-3.6.2.ebuild:
+ Version bump
+
+*xephem-3.6.1 (19 Sep 2004)
+
+ 19 Sep 2004; Daniel Goller <morfic@gentoo.org> +xephem-3.6.1.ebuild:
+ Version Bump to 3.6.1 see bug#64085
+
+ 15 Jun 2004; Danny van Dyk <kugelfang@gentoo.org> xephem-3.6.ebuild:
+ Marked ~amd64 and ~ppc, as previous ebuild had both KEYWORDS. See BUG #53859.
+
+*xephem-3.6 (15 Jun 2004)
+
+ 15 Jun 2004; Patrick Kursawe <phosphan@gentoo.org> xephem-3.6.ebuild:
+ Version bump. Modified ebuild by Paul Taylor <birder@ozemail.com.au>
+ in bug #53859
+
+ 17 May 2004; Danny van Dyk <kugelfang@gentoo.org> xephem-3.5.2.ebuild:
+ Marked ~amd64.
+
+ 19 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> xephem-3.5.2.ebuild:
+ Adding IUSE, removing S=... with no effect
+
+ 03 Sep 2002; Daniel Robbins <drobbins@gentoo.org> xephem-3.5.2.ebuild:
+ moved rphillips' 'download later' stuff into pkg_setup so it doesn't
+ kill metadata extraction.
+
+*xephem-3.5.2 (31 May 2002)
+
+ 14 Sep 2002; Owen Stampflee <owen@gentoo.org> :
+ Added PPC to KEYWORDS.
+
+ 01 Sep 2002; Ryan Phillips <rphillips@gentoo.org> xephem-3.5.2.ebuild :
+ Fixes to the 'download later' section of the script.
+
+ 18 Aug 2002; Ryan Phillips <rphillips@gentoo.org> xephem-3.5.2.ebuild :
+ Thanks to Bret Towe for an update.
+
+ 25 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> xephem-3.5.2.ebuild :
+ Added LICENSE, KEYWORDS, SLOT.
+ 31 May 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
+
diff --git a/sci-astronomy/xephem/Manifest b/sci-astronomy/xephem/Manifest
new file mode 100644
index 000000000000..f7c4c3a3f4ed
--- /dev/null
+++ b/sci-astronomy/xephem/Manifest
@@ -0,0 +1,6 @@
+MD5 fa439cfce87bd1290541bca829f6eeca xephem-3.6.2.ebuild 1555
+MD5 8a6610556fda3b636310714492ad0c34 xephem-3.6.2-r1.ebuild 1514
+MD5 ce2edd10b0e376d7df09db50d2af5926 ChangeLog 2797
+MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+MD5 794d26581242a5232557c0fc7ccb0d3d files/digest-xephem-3.6.2 65
+MD5 794d26581242a5232557c0fc7ccb0d3d files/digest-xephem-3.6.2-r1 65
diff --git a/sci-astronomy/xephem/files/digest-xephem-3.6.2 b/sci-astronomy/xephem/files/digest-xephem-3.6.2
new file mode 100644
index 000000000000..65df7e46dc1b
--- /dev/null
+++ b/sci-astronomy/xephem/files/digest-xephem-3.6.2
@@ -0,0 +1 @@
+MD5 8aa9944ed7d508a2f5827fb6bff95d6f xephem-3.6.2.tar.gz 9998388
diff --git a/sci-astronomy/xephem/files/digest-xephem-3.6.2-r1 b/sci-astronomy/xephem/files/digest-xephem-3.6.2-r1
new file mode 100644
index 000000000000..65df7e46dc1b
--- /dev/null
+++ b/sci-astronomy/xephem/files/digest-xephem-3.6.2-r1
@@ -0,0 +1 @@
+MD5 8aa9944ed7d508a2f5827fb6bff95d6f xephem-3.6.2.tar.gz 9998388
diff --git a/sci-astronomy/xephem/metadata.xml b/sci-astronomy/xephem/metadata.xml
new file mode 100644
index 000000000000..b229aec85b8f
--- /dev/null
+++ b/sci-astronomy/xephem/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+</pkgmetadata>
diff --git a/sci-astronomy/xephem/xephem-3.6.2-r1.ebuild b/sci-astronomy/xephem/xephem-3.6.2-r1.ebuild
new file mode 100644
index 000000000000..d1de6e9b455a
--- /dev/null
+++ b/sci-astronomy/xephem/xephem-3.6.2-r1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/xephem/xephem-3.6.2-r1.ebuild,v 1.1 2004/12/24 04:27:39 ribosome Exp $
+
+DESCRIPTION="XEphem is the X Windows Ephemeris, and provides a scientific-grade solar system model, star charts, sky views, plus a whole lot more."
+SRC_URI="http://www.clearskyinstitute.com/xephem/${PN}-${PV}.tar.gz"
+HOMEPAGE="http://www.clearskyinstitute.com/xephem"
+KEYWORDS="~x86 ~amd64 ~ppc"
+IUSE=""
+SLOT="0"
+LICENSE="as-is"
+DEPEND="x11-libs/openmotif"
+
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ for i in libastro/Makefile libip/Makefile libjpegd/Makefile \
+ liblilxml/Makefile GUI/xephem/Makefile.simple ; do
+ einfo "Fixing CFLAGS in $i"
+ sed -e "s~^CFLAGS[ ]*=\(.*\)-O2\(.*\)~CFLAGS= \1 \2 ${CFLAGS}~" -i $i \
+ || die "sed failed"
+ done
+ sed -e 's~^CFLAGS[ ]*=\(.*\)$(CLDFLAGS)\(.*\)~CFLAGS=\1 \2~' \
+ -i GUI/xephem/Makefile.simple
+}
+
+src_compile() {
+
+ cd libastro
+ emake || die
+
+ for i in libip liblilxml libjpegd; do
+ echo "going into ${i}"
+ emake || die
+ done
+
+ cd ../GUI/xephem
+ emake CLDFLAGS="${LDFLAGS}" -f Makefile.simple || die
+
+}
+
+src_install() {
+
+ into /usr
+ dobin ${S}/GUI/xephem/xephem
+ cd ${S}/GUI/xephem
+ for i in $(find . -type d); do
+ insinto /usr/share/${PN}/${i}
+ doins ${i}/*
+ done
+
+ echo > ${S}/XEphem "XEphem.ShareDir: /usr/share/${PN}"
+ insinto /usr/lib/X11/app-defaults/
+ doins ${S}/XEphem
+
+ cd ${S}
+ dodoc Copyright README INSTALL
+ doman ${S}/xephem.1
+}
diff --git a/sci-astronomy/xephem/xephem-3.6.2.ebuild b/sci-astronomy/xephem/xephem-3.6.2.ebuild
new file mode 100644
index 000000000000..200fe1ec915f
--- /dev/null
+++ b/sci-astronomy/xephem/xephem-3.6.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/xephem/xephem-3.6.2.ebuild,v 1.1 2004/12/24 04:27:39 ribosome Exp $
+
+DESCRIPTION="XEphem is the X Windows Ephemeris, and provides a scientific-grade solar system model, star charts, sky views, plus a whole lot more."
+SRC_URI="http://www.clearskyinstitute.com/xephem/${PN}-${PV}.tar.gz"
+HOMEPAGE="http://www.clearskyinstitute.com/xephem"
+KEYWORDS="x86 amd64 ppc"
+IUSE=""
+SLOT="0"
+LICENSE="as-is"
+DEPEND="x11-libs/openmotif"
+
+pkg_setup() {
+ if [ ! -f ${DISTDIR}/${P}.tar.gz ] ; then
+ die "Please download ${P}.tar.gz from ${HOMEPAGE} and move it to ${DISTDIR}"
+ fi
+}
+
+src_compile() {
+
+ cd libastro
+ sed -e "s:CFLAGS=.*:CFLAGS=${CFLAGS} -ffast-math -Wall:" \
+ -i Makefile
+ emake || die
+
+ for i in libip liblilxml libjpegd; do
+ echo "going into ${i}"
+ cd ${S}/${i}
+ sed -e "s:CFLAGS=.*:CFLAGS=${CFLAGS} -I../libastro -ffast-math -Wall:" \
+ -i Makefile
+ emake || die
+ done
+
+ cd ../GUI/xephem
+ xmkmf
+ sed -e "s:CDEBUGFLAGS = .*:CDEBUGFLAGS = ${CFLAGS} -fno-strength-reduce:" \
+ -i Makefile
+ emake || die
+
+}
+
+src_install() {
+
+ into /usr
+ dobin ${S}/GUI/xephem/xephem
+ for i in auxil catalogs fifos fits help help/png; do
+ insinto /opt/xephem/${i}
+ doins ${S}/GUI/xephem/${i}/*
+ done
+
+ cat > ${S}/XEphem <<EOT
+XEphem.ShareDir: /opt/xephem
+EOT
+ insinto /usr/lib/X11/app-defaults/
+ doins ${S}/XEphem
+
+ dodoc Copyright README INSTALL
+ mv ${S}/GUI/xephem/xephem.man ${S}/xephem.1
+ doman ${S}/xephem.1
+}