# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-lang/regina-rexx/regina-rexx-3.3.ebuild,v 1.4 2005/03/29 00:18:16 luckyduck Exp $ inherit eutils HOMEPAGE="http://hessling-editor.sourceforge.net" DESCRIPTION="THE: The Hessling Editor (an XEDIT-like editor)" SRC_URI="mirror://sourceforge/hessling-editor/THE-${PV}.tar.gz" # because the source archive extracts to a different name than that of this ebuild, # modify S so that it points to the correct directory. S=${WORKDIR}/THE-${PV} SLOT="0" LICENSE="LGPL-2.1" KEYWORDS="~x86" IUSE="X ncurses" DEPEND="virtual/libc ncurses? (>=sys-libs/ncurses-5.3) X? (virtual/x11 x11-libs/xcurses)" RDEPEND=">=dev-lang/regina-rexx-3.3" src_compile() { if use X; then econf \ --with-xcurses \ --with-rexx=regina \ || die "configure for X failed" fi if use !X; then econf \ --with ncurses \ --with-rexx=regina \ || die "configure for ncurses failed" fi emake || die "make problem" } src_install() { einstall || die # documentation dodoc COPYING FAQ HISTORY INSTALL README THE_Help.txt TODO } src_test() { einfo "FEATURES=\"maketest\" has been disabled for app-editor/hessling" } pkg_postinst() { einfo "All done; now go play with your new editor :)" }