--- /dev/null
+# ChangeLog for app-sci/units
+# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/units/ChangeLog,v 1.1 2004/12/24 15:11:22 ribosome Exp $
+
+*units-1.80-r1 (24 Dec 2004)
+
+ 24 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+ +files/astronomicalunit.patch, +files/remove-script.patch,
+ +units-1.80-r1.ebuild:
+ Moved from app-sci/units to sci-calculators/units.
+
+*units-1.80-r1 (19 Oct 2004)
+
+ 19 Oct 2004; Patrick Kursawe <phosphan@gentoo.org>
+ +files/astronomicalunit.patch, +units-1.80-r1.ebuild, -units-1.80.ebuild:
+ Trivial fix to units.dat (see bug #67972), changing "HOMEPAGE" and "SRC_URI"
+ because it can no longer be found where it used to be.
+
+ 06 May 2004; Ferris McCormick <fmccor@gentoo.org> units-1.80.ebuild:
+ Marked stable on sparc.
+
+ 04 May 2004; Ferris McCormick <fmccor@gentoo.org> units-1.80.ebuild:
+ Add ~sparc keyword at user request.
+
+ 19 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> units-1.80.ebuild:
+ Adding IUSE
+
+ 01 Apr 2004; Patrick Kursawe <phosphan@gentoo.org> units-1.74-r1.ebuild,
+ units-1.74.ebuild, units-1.80.ebuild:
+ Cleanup, adding "inherit eutils", stable for amd64
+
+ 01 Feb 2004; Jon Portnoy <avenj@gentoo.org> units-1.80.ebuild :
+ AMD64 keywords.
+
+*units-1.80 (12 Nov 2003)
+
+ 12 Nov 2003; Patrick Kursawe <phosphan@gentoo.org> units-1.80.ebuild:
+ Version bump.
+
+*units-1.74-r1 (15 Aug 2003)
+
+ 15 Aug 2003; <spider@gentoo.org> units-1.74-r1.ebuild,
+ files/remove-script.patch:
+ A small patch to remove a script at the end that bugged out with gcc 3.3.1
+
+*units-1.74 (1 Feb 2002)
+
+ 20 Mar 2003; Aron Griffis <agriffis@gentoo.org> units-1.74.ebuild:
+ Mark stable on alpha
+
+ 14 Dec 2002; Jon Nall <nall@gentoo.org> units-1.74.ebuild :
+ keyworded ppc
+
+ 06 May 2002; G. Shapovalov <george@gentoo.org> Changelog:
+
+ Moved from app-misc to app-sci
+
+ 1 Feb 2002; G.Bevin <gbevin@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.
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-calculators/units/units-1.80-r1.ebuild,v 1.1 2004/12/24 15:11:22 ribosome Exp $
+
+inherit eutils
+
+DESCRIPTION="program for units conversion and units calculation"
+SRC_URI="mirror://gentoo/${P}.tar.gz"
+HOMEPAGE="http://freshmeat.net/projects/units/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+KEYWORDS="x86 ppc alpha amd64 sparc"
+
+DEPEND=">=sys-libs/readline-4.1-r2
+ >=sys-libs/ncurses-5.2-r3"
+
+src_unpack () {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/remove-script.patch
+ epatch ${FILESDIR}/astronomicalunit.patch
+}
+
+src_compile() {
+ #Note: the trailing / is required in the datadir path.
+ econf --datadir=/usr/share/${PN}/ || die
+ emake || die
+}
+
+src_install() {
+ einstall datadir=${D}/usr/share/${PN}/ || die
+ dodoc ChangeLog NEWS README
+}