# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-text/xdvik/xdvik-22.84.16.ebuild,v 1.1 2009/10/03 09:32:30 aballier Exp $ inherit eutils flag-o-matic elisp-common toolchain-funcs DESCRIPTION="DVI previewer for X Window System" HOMEPAGE="http://xdvi.sourceforge.net/" SRC_URI="mirror://sourceforge/xdvi/${P}.tar.gz" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" SLOT="0" LICENSE="GPL-2" IUSE="motif neXt Xaw3d emacs" RDEPEND=">=media-libs/t1lib-5.0.2 x11-libs/libXmu x11-libs/libXp x11-libs/libXpm motif? ( x11-libs/openmotif ) !motif? ( neXt? ( x11-libs/neXtaw ) !neXt? ( Xaw3d? ( x11-libs/Xaw3d ) ) ) virtual/latex-base !> "${D}"usr/share/applications/xdvi-"${PN}".desktop } pkg_postinst() { if use emacs; then elog "Add" elog " (add-to-list 'load-path \"${SITELISP}/tex-utils\")" elog " (require 'xdvi-search)" elog "to your ~/.emacs file" fi }