diff options
author | George Shapovalov <george@gentoo.org> | 2002-05-07 01:35:08 +0000 |
---|---|---|
committer | George Shapovalov <george@gentoo.org> | 2002-05-07 01:35:08 +0000 |
commit | 881dfc767395036bd19d56767de3c08534a0bfc0 (patch) | |
tree | 2da3493f2c9ebab4da4bc506c8c245ec77e6cdaa /app-sci | |
parent | CD files (diff) | |
download | gentoo-2-881dfc767395036bd19d56767de3c08534a0bfc0.tar.gz gentoo-2-881dfc767395036bd19d56767de3c08534a0bfc0.tar.bz2 gentoo-2-881dfc767395036bd19d56767de3c08534a0bfc0.zip |
moved gperiodic from app-misc to app-sci
Diffstat (limited to 'app-sci')
-rw-r--r-- | app-sci/gperiodic/ChangeLog | 17 | ||||
-rw-r--r-- | app-sci/gperiodic/files/digest-gperiodic-1.3.2 | 1 | ||||
-rw-r--r-- | app-sci/gperiodic/files/gperiodic-1.3.2-gentoo.diff | 64 | ||||
-rw-r--r-- | app-sci/gperiodic/gperiodic-1.3.2.ebuild | 56 |
4 files changed, 138 insertions, 0 deletions
diff --git a/app-sci/gperiodic/ChangeLog b/app-sci/gperiodic/ChangeLog new file mode 100644 index 000000000000..b677d59a44ce --- /dev/null +++ b/app-sci/gperiodic/ChangeLog @@ -0,0 +1,17 @@ +# ChangeLog for app-sci/gperiodic +# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL +# $Header: /var/cvsroot/gentoo-x86/app-sci/gperiodic/ChangeLog,v 1.1 2002/05/07 01:35:08 george Exp $ + +*gperiodic-1.3.2 (1 Feb 2002) + + 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. diff --git a/app-sci/gperiodic/files/digest-gperiodic-1.3.2 b/app-sci/gperiodic/files/digest-gperiodic-1.3.2 new file mode 100644 index 000000000000..4d7350fcc6e6 --- /dev/null +++ b/app-sci/gperiodic/files/digest-gperiodic-1.3.2 @@ -0,0 +1 @@ +MD5 220a6acfe53d398afc2cff9e4d792987 gperiodic-1.3.2.tar.gz 162498 diff --git a/app-sci/gperiodic/files/gperiodic-1.3.2-gentoo.diff b/app-sci/gperiodic/files/gperiodic-1.3.2-gentoo.diff new file mode 100644 index 000000000000..4adc76ef093f --- /dev/null +++ b/app-sci/gperiodic/files/gperiodic-1.3.2-gentoo.diff @@ -0,0 +1,64 @@ +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\" + diff --git a/app-sci/gperiodic/gperiodic-1.3.2.ebuild b/app-sci/gperiodic/gperiodic-1.3.2.ebuild new file mode 100644 index 000000000000..52e30ff92044 --- /dev/null +++ b/app-sci/gperiodic/gperiodic-1.3.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2001 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Maintainer: Desktop Team <desktop@cvs.gentoo.org> +# Author Tod Neidt <tneidt@fidnet.com> +# $Header: /var/cvsroot/gentoo-x86/app-sci/gperiodic/gperiodic-1.3.2.ebuild,v 1.1 2002/05/07 01:35:08 george Exp $ + +S=${WORKDIR}/${P} +DESCRIPTION="GPeriodic is a periodic table application for Linux." +SRC_URI="ftp://ftp.seul.org/pub/gperiodic/${P}.tar.gz" +HOMEPAGE="http://gperiodic.seul.org/" + +DEPEND=">=sys-libs/ncurses-5.2 + >=x11-libs/gtk+-1.2.1 + nls? ( sys-devel/gettext )" + +src_unpack() { + unpack ${P}.tar.gz + cd ${S} + + #Fix version number,comment out non-working lex inquiry + # to eliminate superfluous config error, and use ncurses for termcap + + patch -p1 < ${FILESDIR}/${P}-gentoo.diff || die +} + +src_compile() { + local myconf + + if [ -z "`use nls`" ] + then + myconf="--disable-nls" + fi + + ./configure --host=${CHOST} \ + --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var/lib \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + ${myconf} || die + + emake || die +} + +src_install () { + make prefix=${D}/usr \ + sysconfdir=${D}/etc \ + localstatedir=${D}/var/lib \ + infodir=${D}/usr/share/info \ + mandir=${D}/usr/share/man \ + install || die + + doman man/gperiodic.1 + + dodoc ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL NEWS README +} |