# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-editors/emact/emact-2.56.0.ebuild,v 1.4 2014/02/12 17:58:30 ulm Exp $ EAPI=4 DESCRIPTION="EmACT, a fork of Conroy's MicroEmacs" HOMEPAGE="http://www.eligis.com/emacs/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="GPL-2+ BSD" SLOT="0" KEYWORDS="amd64 x86" IUSE="X" DEPEND="sys-libs/ncurses X? ( x11-libs/libX11 x11-libs/libICE x11-libs/libSM )" RDEPEND="${DEPEND}" src_prepare() { # files in the tarball have all mode bits set to zero ... chmod +x configure || die } src_configure() { econf $(use_with X x) } src_install() { emake INSTALL="${D}"/usr install #dodoc README }