diff options
-rw-r--r-- | app-editors/nano/ChangeLog | 11 | ||||
-rw-r--r-- | app-editors/nano/files/digest-nano-1.3.0 | 1 | ||||
-rw-r--r-- | app-editors/nano/nano-1.3.0.ebuild | 58 |
3 files changed, 67 insertions, 3 deletions
diff --git a/app-editors/nano/ChangeLog b/app-editors/nano/ChangeLog index 57e7479a8a70..d58a0cb4a64d 100644 --- a/app-editors/nano/ChangeLog +++ b/app-editors/nano/ChangeLog @@ -1,12 +1,17 @@ # ChangeLog for app-editors/nano # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.40 2003/10/17 04:03:31 agriffis Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.41 2003/10/25 05:06:18 vapier Exp $ - 17 Oct 2003; Aron Griffis <agriffis@gentoo.org> nano-1.2.2.ebuild: - Stable on alpha +*nano-1.3.0 (25 Oct 2003) + + 25 Oct 2003; Mike Frysinger <vapier@gentoo.org> : + Version bumpage. *nano-1.2.2 (18 Aug 2003) + 17 Oct 2003; Aron Griffis <agriffis@gentoo.org> nano-1.2.2.ebuild: + Stable on alpha + 02 Oct 2003; Mike Frysinger <vapier@gentoo.org> : Add patch to fix run away nano's #17878. diff --git a/app-editors/nano/files/digest-nano-1.3.0 b/app-editors/nano/files/digest-nano-1.3.0 new file mode 100644 index 000000000000..b81111b6d22f --- /dev/null +++ b/app-editors/nano/files/digest-nano-1.3.0 @@ -0,0 +1 @@ +MD5 db46d7f7ce5f938df3f2ea1cb22f9f55 nano-1.3.0.tar.gz 897106 diff --git a/app-editors/nano/nano-1.3.0.ebuild b/app-editors/nano/nano-1.3.0.ebuild new file mode 100644 index 000000000000..725dc0d09d9a --- /dev/null +++ b/app-editors/nano/nano-1.3.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-1.3.0.ebuild,v 1.1 2003/10/25 05:06:18 vapier Exp $ + +inherit eutils + +MY_P=${PN}-${PV/_} +DESCRIPTION="GNU GPL'd Pico clone with more functionality" +HOMEPAGE="http://www.nano-editor.org/" +SRC_URI="http://www.nano-editor.org/dist/v1.3/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64" +IUSE="nls build spell justify debug slang" + +DEPEND=">=sys-libs/ncurses-5.2 + nls? ( sys-devel/gettext ) + slang? ( sys-libs/slang )" +PROVIDE="virtual/editor" + +S=${WORKDIR}/${MY_P} + +src_compile() { + local myconf="" + use build && myconf="${myconf} --disable-wrapping-as-root" + [ `use ncurses` ] || myconf="${myconf} `use_with slang`" + + econf \ + --bindir=/bin \ + --enable-color \ + --enable-multibuffer \ + --enable-nanorc \ + `use_enable justify` \ + `use_enable spell` \ + `use_enable debug` \ + `use_enable nls` \ + ${myconf} \ + || die "configure failed" + emake || die +} + +src_install() { + make DESTDIR=${D} install || die + + if [ `use build` ] ; then + rm -rf ${D}/usr/share + else + cat ${FILESDIR}/nanorc-* >> nanorc.sample + dodoc ChangeLog README nanorc.sample AUTHORS BUGS NEWS TODO + dohtml *.html + insinto /etc + newins nanorc.sample nanorc + fi + + dodir /usr/bin + dosym ../../bin/nano /usr/bin/nano +} |