diff options
author | Daniel Robbins <drobbins@gentoo.org> | 2001-10-24 16:02:03 +0000 |
---|---|---|
committer | Daniel Robbins <drobbins@gentoo.org> | 2001-10-24 16:02:03 +0000 |
commit | 48e2d92dfb6ffb301fc20870cf1a069ae7277a5e (patch) | |
tree | 5660558ed598063d62e4258f2a2bbb2edd3c5976 | |
parent | new digest (diff) | |
download | gentoo-2-48e2d92dfb6ffb301fc20870cf1a069ae7277a5e.tar.gz gentoo-2-48e2d92dfb6ffb301fc20870cf1a069ae7277a5e.tar.bz2 gentoo-2-48e2d92dfb6ffb301fc20870cf1a069ae7277a5e.zip |
new fixes
-rw-r--r-- | app-editors/xemacs/xemacs-21.1.14.ebuild | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/app-editors/xemacs/xemacs-21.1.14.ebuild b/app-editors/xemacs/xemacs-21.1.14.ebuild index fc4fddc94159..04123feb9ead 100644 --- a/app-editors/xemacs/xemacs-21.1.14.ebuild +++ b/app-editors/xemacs/xemacs-21.1.14.ebuild @@ -1,46 +1,41 @@ -# Copyright 1999-2000 Gentoo Technologies, Inc. +# Copyright 1999-2001 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Maintainer: System Team <system@gentoo.org> -# Author: Achim Gottinger <achim@gentoo.org>, Daniel Robbins <drobbins@gentoo.org> -# /home/cvsroot/gentoo-x86/app-editors/gtk-xemacs/gtk-xemacs-21.1.12_p3.ebuild,v 1.3 2000/10/29 20:36:58 achim Exp -# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/xemacs-21.1.14.ebuild,v 1.5 2001/10/24 15:26:36 drobbins Exp $ - +# Author: Daniel Robbins <drobbins@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/app-editors/xemacs/xemacs-21.1.14.ebuild,v 1.6 2001/10/24 16:02:03 drobbins Exp $ S=${WORKDIR}/${P} DESCRIPTION="XEmacs" -# The latest versions available are 1.26 and 1.55, respectively EFS=1.26 BASE=1.55 - -DEPEND=">=x11-base/xfree-4.0.3-r3" - -SRC_URI="ftp://ftp.xemacs.org/pub/current/${P}.tar.bz2 - ftp://ftp.xemacs.org/xemacs/packages/efs-${EFS}-pkg.tar.gz - ftp://ftp.xemacs.org/xemacs/packages/xemacs-base-${BASE}-pkg.tar.gz" - +DEPEND="X? virtual/x11" +SRC_URI="ftp://ftp.xemacs.org/pub/current/${P}.tar.bz2 ftp://ftp.xemacs.org/xemacs/packages/efs-${EFS}-pkg.tar.gz ftp://ftp.xemacs.org/xemacs/packages/xemacs-base-${BASE}-pkg.tar.gz" HOMEPAGE="http://www.xemacs.org" src_unpack() { cd ${WORKDIR} unpack ${P}.tar.bz2 - # Extract the original package } src_compile() { - ./configure --prefix=/usr/X11R6 || die + local myopts + myopts="--without-x" + use X && myopts="--with-x" + ./configure $myopts --prefix=/usr || die make || die } src_install() { - make prefix=${D}/usr/X11R6 install || die + make prefix=${D}/usr mandir=${D}/usr/share/man/man1 infodir=${D}/usr/share/info install || die # Install the two packages - dodir /usr/X11R6/lib/xemacs/xemacs-packages/ - cd ${D}/usr/X11R6/lib/xemacs/xemacs-packages/ + dodir /usr/lib/xemacs/xemacs-packages/ + cd ${D}/usr/lib/xemacs/xemacs-packages/ unpack efs-${EFS}-pkg.tar.gz unpack xemacs-base-${BASE}-pkg.tar.gz + #remove extraneous files + cd ${D}/usr/share/info + rm -f dir info.info texinfo* termcap* cd ${S} - #this next line shouldn't be needed; info should be going to /usr/share/info - #prepinfo /usr/X11R6/lib/xemacs-21.1.14 dodoc BUGS CHANGES-beta COPYING GETTING* INSTALL ISSUES PROBLEMS README* } |