# Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # Author: Dimitri Aivaliotis S=${WORKDIR}/${P} 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/download/${P}.tar.gz" HOMEPAGE="http://www.clearskyinstitute.com/xephem" DEPEND="x11-libs/openmotif" src_compile() { cd libastro emake || die cd ../libip emake || die cd ../GUI/xephem xmkmf emake || die } src_install() { into /usr dobin ${S}/GUI/xephem/xephem insinto /opt/xephem/auxil doins ${S}/GUI/xephem/auxil/* insinto /opt/xephem/catalogs doins ${S}/GUI/xephem/catalogs/* insinto /opt/xephem/fifos doins ${S}/GUI/xephem/fifos/* insinto /opt/xephem/fits doins ${S}/GUI/xephem/fits/* cat > ${S}/XEphem <