--- /dev/null
+# ChangeLog for app-sci/gperiodic
+# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gperiodic/ChangeLog,v 1.1 2004/12/24 16:39:21 ribosome Exp $
+
+*gperiodic-1.3.2 (24 Dec 2004)
+
+ 24 Dec 2004; Olivier Fisette <ribosome@gentoo.org> +metadata.xml,
+ +files/gperiodic-1.3.2-gentoo.diff, +gperiodic-1.3.2.ebuild,
+ +gperiodic-2.0.7.ebuild:
+ Moved from app-sci/gperiodic to sci-chemistry/gperiodic.
+
+*gperiodic-2.0.7 (17 Nov 2004)
+
+ 17 Nov 2004; Olivier Fisette <ribosome@gentoo.org> +gperiodic-2.0.7.ebuild:
+ Updated version. Thanks to Marcus Hanwell <marcus@cryos.net> for his work.
+
+ 15 Jun 2004; Michael Sterrett <mr_bones_@gentoo.org> gperiodic-1.3.2.ebuild:
+ PROVIDE is for virtuals
+
+ 06 Jun 2004; Danny van Dyk <kugelfang@gentoo.org> gperiodic-1.3.2.ebuild:
+ Marked stable on amd64.
+
+ 21 Apr 2004; Danny van Dyk <kugelfang@gentoo.org> gperiodic-1.3.2.ebuild:
+ marked ~amd64
+
+*gperiodic-1.3.2 (1 Feb 2002)
+
+ 25 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> gperiodic-1.3.2.ebuild :
+ Added LICENSE, KEYWORDS, SLOT.
+
+ 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
+MD5 5374f075edfd9a92e2ee4d55f0459042 gperiodic-1.3.2.ebuild 773
+MD5 fac9dd080424c60e6742244c6225c040 gperiodic-2.0.7.ebuild 1583
+MD5 0eb64a88578f08d6ecb62e26ae7c713d ChangeLog 1364
+MD5 8c623e53daafa025137077c6b65815bd metadata.xml 156
+MD5 5beaa34ed06d2011a9ceedee0d1b7b3d files/digest-gperiodic-1.3.2 67
+MD5 de164cbc70135f2ded8f9ac890777427 files/digest-gperiodic-2.0.7 67
+MD5 f4dcc1c078fbfae45db74b21981b7835 files/gperiodic-1.3.2-gentoo.diff 2000
--- /dev/null
+MD5 220a6acfe53d398afc2cff9e4d792987 gperiodic-1.3.2.tar.gz 162498
--- /dev/null
+MD5 b9e74139d4b468f290297fcfb61a7084 gperiodic-2.0.7.tar.gz 124798
--- /dev/null
+diff -urN gperiodic-1.3.2.orig/Makefile.am gperiodic-1.3.2/Makefile.am
+--- gperiodic-1.3.2.orig/Makefile.am Tue Aug 28 02:04:50 2001
++++ gperiodic-1.3.2/Makefile.am Wed Oct 10 22:22:17 2001
+@@ -1,4 +1,4 @@
+-CFLAGS=-DVERSION="1.2.6a"
++CFLAGS=-DVERSION="1.3.2"
+ SUBDIRS = intl po src
+
+ EXTRA_DIST = Changes
+diff -urN gperiodic-1.3.2.orig/Makefile.in gperiodic-1.3.2/Makefile.in
+--- gperiodic-1.3.2.orig/Makefile.in Tue Aug 28 02:04:50 2001
++++ gperiodic-1.3.2/Makefile.in Wed Oct 10 22:21:28 2001
+@@ -92,7 +92,7 @@
+ YACC = @YACC@
+ l = @l@
+
+-CFLAGS = -DVERSION="1.2.6a"
++CFLAGS = -DVERSION="1.3.2"
+ SUBDIRS = intl po src
+
+ EXTRA_DIST = Changes
+diff -urN gperiodic-1.3.2.orig/configure gperiodic-1.3.2/configure
+--- gperiodic-1.3.2.orig/configure Tue Aug 28 02:04:50 2001
++++ gperiodic-1.3.2/configure Wed Oct 10 22:25:18 2001
+@@ -844,7 +844,7 @@
+ SET_MAKE="MAKE=${MAKE-make}"
+ fi
+
+-AM_PROG_LEX
++#AM_PROG_LEX
+ for ac_prog in 'bison -y' byacc
+ do
+ # Extract the first word of "$ac_prog", so it can be a program name with args.
+diff -urN gperiodic-1.3.2.orig/configure.in gperiodic-1.3.2/configure.in
+--- gperiodic-1.3.2.orig/configure.in Tue Aug 28 02:04:50 2001
++++ gperiodic-1.3.2/configure.in Wed Oct 10 21:44:05 2001
+@@ -2,13 +2,13 @@
+ AC_INIT(include/gperiodic.h)
+
+ AM_CONFIG_HEADER(config.h)
+-AM_INIT_AUTOMAKE(gperiodic, 1.2.6a)
++AM_INIT_AUTOMAKE(gperiodic, 1.3.2)
+
+ AM_MAINTAINER_MODE
+
+ dnl Checks for programs.
+ AC_PROG_MAKE_SET
+-AM_PROG_LEX
++dnl AM_PROG_LEX
+ AC_PROG_YACC
+ AC_ISC_POSIX
+
+diff -urN gperiodic-1.3.2.orig/src/Makefile.in gperiodic-1.3.2/src/Makefile.in
+--- gperiodic-1.3.2.orig/src/Makefile.in Tue Aug 28 02:04:51 2001
++++ gperiodic-1.3.2/src/Makefile.in Wed Oct 10 21:42:03 2001
+@@ -95,7 +95,7 @@
+ bin_PROGRAMS = gperiodic
+
+ gperiodic_SOURCES = gperiodic.c cmdline_interface.c gparser.y gplexer.l gpdata.c
+-gperiodic_LDADD = -lreadline -ltermcap
++gperiodic_LDADD = -lreadline -lncurses
+
+ INCLUDES = -I$(top_srcdir)/include -DGPERIODIC_LOCALE_DIR=\"$(datadir)/locale\"
+
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gperiodic/gperiodic-1.3.2.ebuild,v 1.1 2004/12/24 16:39:21 ribosome Exp $
+
+inherit eutils
+
+DESCRIPTION="periodic table application for Linux"
+SRC_URI="ftp://ftp.seul.org/pub/gperiodic/${P}.tar.gz"
+HOMEPAGE="http://gperiodic.seul.org/"
+
+KEYWORDS="x86 amd64"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE="nls"
+
+DEPEND=">=sys-libs/ncurses-5.2
+ =x11-libs/gtk+-1.2*
+ nls? ( sys-devel/gettext )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.diff
+}
+
+src_compile() {
+ econf `use_enable nls` || die
+ emake || die
+}
+
+src_install() {
+ einstall || die
+ doman man/gperiodic.1
+ dodoc ABOUT-NLS AUTHORS ChangeLog NEWS README
+}
--- /dev/null
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/gperiodic/gperiodic-2.0.7.ebuild,v 1.1 2004/12/24 16:39:21 ribosome Exp $
+
+inherit toolchain-funcs
+
+DESCRIPTION="Periodic table application for Linux"
+SRC_URI="http://www.acclab.helsinki.fi/~frantz/software/${P}.tar.gz"
+HOMEPAGE="http://www.acclab.helsinki.fi/~frantz/software/gperiodic.php"
+
+KEYWORDS="~x86 ~amd64"
+SLOT="0"
+LICENSE="GPL-2"
+IUSE="nls"
+
+DEPEND=">=sys-libs/ncurses-5.2
+ =x11-libs/gtk+-2*
+ >=dev-util/pkgconfig-0.12
+ nls? ( sys-devel/gettext )"
+
+src_compile() {
+ # The author has removed "unnecessary automake/autoconf setup"
+# econf `use_enable nls` || die
+ # This flag stopped it compiling for me
+ sed -i -e "s/-DGTK_DISABLE_DEPRECATED/${CFLAGS}/" Makefile
+ sed -i -e "/make clean/d" Makefile
+ sed -i -e "s/CC=gcc/CC=$(tc-getCC)/" Makefile
+ if ! use nls; then
+ sed -i -e "/make -C po/d" Makefile
+ fi
+ emake || die "emake failed!"
+}
+
+src_install() {
+ sed -i -e "s|/usr/bin|${D}/usr/bin|" Makefile
+ sed -i -e "s|/usr/share|${D}/usr/share|" Makefile
+ sed -i -e "s|/usr/share|${D}/usr/share|" po/Makefile
+
+ # Create directories - Makefile is quite broken.
+ dodir /usr/bin
+ dodir /usr/share/pixmaps
+ dodir /usr/share/applications
+
+ make install || die "make install failed."
+
+ # Fix permissions
+ chmod 644 ${D}/usr/share/pixmaps/*
+ chmod 644 ${D}/usr/share/applications/*
+
+ # The man page seems to have been removed too.
+# doman man/gperiodic.1
+ dodoc AUTHORS ChangeLog README NEWS
+ newdoc po/README README.translation
+}
--- /dev/null
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>sci</herd>
+</pkgmetadata>