# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-cvs/emacs-cvs-22.0.50-r1.ebuild,v 1.2 2006/02/26 21:48:47 mkennedy Exp $ ECVS_AUTH="pserver" ECVS_SERVER="cvs.savannah.gnu.org:/sources/emacs" ECVS_MODULE="emacs" ECVS_BRANCH="HEAD" inherit elisp-common cvs alternatives flag-o-matic eutils IUSE="X Xaw3d aqua gif gtk jpeg nls png spell tiff" # IUSE="X Xaw3d aqua gif gtk jpeg nls png spell tiff xft source" S=${WORKDIR}/emacs DESCRIPTION="Emacs is the extensible, customizable, self-documenting real-time display editor." SRC_URI="" HOMEPAGE="http://www.gnu.org/software/emacs" # Never use the sandbox, it causes Emacs to segfault on startup SANDBOX_DISABLED="1" RESTRICT="$RESTRICT nostrip" X_DEPEND="x11-libs/libXmu x11-libs/libXpm x11-libs/libXt x11-misc/xbitmaps || ( media-fonts/font-adobe-100dpi media-fonts/font-adobe-75dpi )" DEPEND=">=sys-libs/ncurses-5.3 spell? ( || ( app-text/ispell app-text/aspell ) ) X? ( || ( ( $X_DEPEND ) virtual/x11 ) ) X? ( gif? ( >=media-libs/giflib-4.1.0.1b ) jpeg? ( >=media-libs/jpeg-6b ) tiff? ( >=media-libs/tiff-3.5.7 ) png? ( >=media-libs/libpng-1.2.5 ) gtk? ( =x11-libs/gtk+-2* ) !gtk? ( Xaw3d? ( x11-libs/Xaw3d ) ) ) nls? ( >=sys-devel/gettext-0.11.5 ) sys-libs/zlib >=sys-apps/portage-2.0.51_rc1" PROVIDE="virtual/emacs virtual/editor" SLOT="22.0.50" LICENSE="GPL-2" KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~ppc-macos" DFILE=emacs-${SLOT}.desktop # pkg_setup() { # if use xft; then # while read line; do ewarn "${line}"; done <${D}/etc/env.d/50emacs-cvs-${SLOT} <00emacs-cvs-${SLOT}-gentoo.el <