blob: c72e5e33260bd0fc7ca1d9ac27a07c4ec58eb748 [file] [log] [blame]
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=4
DESCRIPTION="portable version of JOE's Own Editor"
HOMEPAGE="https://www.mirbsd.org/jupp.htm"
SRC_URI="https://www.mirbsd.org/MirOS/dist/${PN}/joe-${PV/_p/${PN}}.tgz"
LICENSE="GPL-1"
SLOT="0"
KEYWORDS="~amd64"
IUSE="ncurses"
RDEPEND="ncurses? ( sys-libs/ncurses )
!app-editors/joe"
DEPEND="${RDEPEND}"
S=${WORKDIR}/${PN}
src_prepare() {
chmod +x configure
}
src_configure() {
econf \
--enable-search_libs \
--enable-termcap \
$(use_enable ncurses curses)
}
src_install() {
default
dodoc HINTS INFO LIST
}