# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-office/texmacs/texmacs-1.0.6-r1.ebuild,v 1.11 2007/07/22 10:02:33 calchan Exp $ # although flag-o-matic functions in portage, we should inherit it inherit flag-o-matic eutils MY_P=${P/tex/TeX}-src S=${WORKDIR}/${MY_P} DESCRIPTION="GNU TeXmacs is a free GUI scientific editor, inspired by TeX and GNU Emacs." SRC_URI="ftp://ftp.texmacs.org/pub/TeXmacs/targz/${MY_P}.tar.gz ftp://ftp.texmacs.org/pub/TeXmacs/targz/TeXmacs-600dpi-fonts.tar.gz" HOMEPAGE="http://www.texmacs.org/" LICENSE="GPL-2" SLOT="0" IUSE="spell static" # TeXmacs 1.0.X-r? -> stable release, TeXmacs 1.0.X.Y -> development release KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" RDEPEND="virtual/tetex >=dev-scheme/guile-1.4 >=sys-apps/sed-4 media-libs/freetype x11-libs/libX11 x11-libs/libICE media-libs/imlib2 spell? ( >=app-text/ispell-3.2 )" DEPEND="${RDEPEND} x11-proto/xproto virtual/ghostscript" pkg_setup() { if has_version "=dev-scheme/guile-1.8*" && ! built_with_use dev-scheme/guile deprecated; then eerror "This package requires either