--- /dev/null
+# ChangeLog for sci-astronomy/xfitsview
+# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/xfitsview/ChangeLog,v 1.1 2007/04/19 16:27:39 bicatali Exp $
+
+*xfitsview-2.1 (19 Apr 2007)
+
+ 19 Apr 2007; Sébastien Fabbro <bicatali@gentoo.org> +metadata.xml,
+ +xfitsview-2.1.ebuild:
+ Initial import. Closing bug #92850. Thanks Adam Roben <adam.roben@gmail.com>
+ for work.
+
--- /dev/null
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST xfitsview2.1.tgz 298150 RMD160 f836c8fa8f1845983614490fd227ad05b31098a7 SHA1 2e7e3577f38148414d2cd4febca0d3b30a48a36d SHA256 eb1191ef978caea543bfdf4142359b712ff703d05d646cadc26e4b396b8e8008
+EBUILD xfitsview-2.1.ebuild 857 RMD160 e73c3acc14c381ecec6684cc170ea6e404d92f8f SHA1 42406eda84b3c403ad89d325fc40153bf67dc55a SHA256 16a148895af7bc07092f83fe1f6432a4c948dd30ba392b05522be0b67c4ddbe9
+MD5 65949c1e6b7d220bbd12a3c2de25a8b3 xfitsview-2.1.ebuild 857
+RMD160 e73c3acc14c381ecec6684cc170ea6e404d92f8f xfitsview-2.1.ebuild 857
+SHA256 16a148895af7bc07092f83fe1f6432a4c948dd30ba392b05522be0b67c4ddbe9 xfitsview-2.1.ebuild 857
+MISC ChangeLog 438 RMD160 42627a53b8f761c334c77442fb14b27f7acbd50c SHA1 5dc62c75da49109fa1a1a47ca4fbaf1b5f5ed74b SHA256 5a37c99504378d6b7909d840addbda429019ccf781edc6b05d79ca632df9cc34
+MD5 cb1b349e74e8878566b4a4f723cad9a1 ChangeLog 438
+RMD160 42627a53b8f761c334c77442fb14b27f7acbd50c ChangeLog 438
+SHA256 5a37c99504378d6b7909d840addbda429019ccf781edc6b05d79ca632df9cc34 ChangeLog 438
+MISC metadata.xml 388 RMD160 f0afbdc2823694042a67034e46ac3215b43931f0 SHA1 25b1fd028088be29bd14b5b24fb61d6e509c6086 SHA256 74a33f1ea43b02e05223152c290e5cd3beb066dce76ec84b43257029ffcf6af9
+MD5 28fda52b5f09a42d36c798c246e2e95c metadata.xml 388
+RMD160 f0afbdc2823694042a67034e46ac3215b43931f0 metadata.xml 388
+SHA256 74a33f1ea43b02e05223152c290e5cd3beb066dce76ec84b43257029ffcf6af9 metadata.xml 388
+MD5 e7b7c2718daddf4c4865e04da1f0e5fe files/digest-xfitsview-2.1 229
+RMD160 99e707bc138e68c6386e01efe1bc877caa94333b files/digest-xfitsview-2.1 229
+SHA256 cef516027d8e82207c83197af6c77dab9868f227d03478141b48f6a3b27698cd files/digest-xfitsview-2.1 229
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.6 (GNU/Linux)
+
+iD8DBQFGJ5iI1ycZbhPLE2ARAlqoAJwIv8c9j68bWkIMSn2cx74gRxU33QCgqpxK
+2f1wbx+Dv/FPQYj4FIjpG3c=
+=lj6c
+-----END PGP SIGNATURE-----
--- /dev/null
+MD5 7c1c5c91fa7a54726c280c78c1f57a71 xfitsview2.1.tgz 298150
+RMD160 f836c8fa8f1845983614490fd227ad05b31098a7 xfitsview2.1.tgz 298150
+SHA256 eb1191ef978caea543bfdf4142359b712ff703d05d646cadc26e4b396b8e8008 xfitsview2.1.tgz 298150
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+<longdescription lang="en">
+XFITSview is a Graphical User Interface based on the Motif library to
+visualize astronomical images in the FITS format. It's a fairly simple
+program useful for doing simple astrometry.
+</longdescription>
+</pkgmetadata>
--- /dev/null
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-astronomy/xfitsview/xfitsview-2.1.ebuild,v 1.1 2007/04/19 16:27:39 bicatali Exp $
+
+inherit eutils
+
+MY_PN=XFITSview
+MY_P=${MY_PN}${PV}
+
+DESCRIPTION="Viewer for astronomical images in FITS format"
+HOMEPAGE="http://www.nrao.edu/software/fitsview/"
+SRC_URI="ftp://ftp.cv.nrao.edu/fits/os-support/unix/xfitsview/${PN}${PV}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="virtual/motif"
+
+S=${WORKDIR}/${MY_PN}
+
+src_compile() {
+ econf || die "econf failed"
+ # trick to make parallel building work
+ for d in fitssubs src; do
+ pushd ${d}
+ emake || die "emake ${d} failed"
+ popd
+ done
+ emake -j1 || die "emake failed"
+}
+
+src_install() {
+ dodoc README changes notes.text
+ dobin XFITSview
+}