# Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Peter Gavin A=emacs-20.7.tar.gz S=${WORKDIR}/emacs-20.7 DESCRIPTION="An incredibly powerful, extensible text editor (X11/Motif version)" SRC_URI="ftp://ftp.gnu.org/pub/gnu/emacs/emacs-20.7.tar.gz" HOMEPAGE="http://www.gnu.org/software/emacs" RDEPEND=">=sys-libs/ncurses-5.2 virtual/x11 !app-editors/emacs-nogui !app-editors/emacs-x11" DEPEND=">=sys-libs/ncurses-5.2 virtual/x11 >=sys-devel/gettext-0.10.35" PROVIDE="virtual/emacs" src_compile() { try ./configure --prefix=/usr --libexecdir=/usr/lib --host=${CHOST} \ --mandir=/usr/share/man --infodir=/usr/share/info --with-x try make } src_install () { try make prefix=${D}/usr libexecdir=${D}/usr/lib \ mandir=${D}/usr/share/man infodir=${D}/usr/share/info install cd ${D}/usr/share/info rm dir for i in * do mv ${i%.info} $i.info done dodoc BUGS ChangeLog README }