summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-04-14 03:24:21 +0000
committerMike Frysinger <vapier@gentoo.org>2005-04-14 03:24:21 +0000
commitd813e200cc7cdf830d9ad0bff11fccc4b86f31a9 (patch)
tree34ab8a178f0849e0d2ee157fb3ff2fa4d3126546 /app-editors
parentadd ~ppc64, initial port (diff)
downloadgentoo-2-d813e200cc7cdf830d9ad0bff11fccc4b86f31a9.tar.gz
gentoo-2-d813e200cc7cdf830d9ad0bff11fccc4b86f31a9.tar.bz2
gentoo-2-d813e200cc7cdf830d9ad0bff11fccc4b86f31a9.zip
Version bump.
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/nano/ChangeLog9
-rw-r--r--app-editors/nano/files/digest-nano-1.3.71
-rw-r--r--app-editors/nano/nano-1.3.7.ebuild69
3 files changed, 77 insertions, 2 deletions
diff --git a/app-editors/nano/ChangeLog b/app-editors/nano/ChangeLog
index 87c1a8e928ca..654a02004987 100644
--- a/app-editors/nano/ChangeLog
+++ b/app-editors/nano/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-editors/nano
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.69 2005/03/22 06:22:30 vapier Exp $
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.70 2005/04/14 03:24:21 vapier Exp $
+
+*nano-1.3.7 (14 Apr 2005)
+
+ 14 Apr 2005; Mike Frysinger <vapier@gentoo.org> +nano-1.3.7.ebuild:
+ Version bump.
*nano-1.3.6 (22 Mar 2005)
diff --git a/app-editors/nano/files/digest-nano-1.3.7 b/app-editors/nano/files/digest-nano-1.3.7
new file mode 100644
index 000000000000..b89307b34aa4
--- /dev/null
+++ b/app-editors/nano/files/digest-nano-1.3.7
@@ -0,0 +1 @@
+MD5 2d47badfae9f45174cf1ec69b742f961 nano-1.3.7.tar.gz 1008999
diff --git a/app-editors/nano/nano-1.3.7.ebuild b/app-editors/nano/nano-1.3.7.ebuild
new file mode 100644
index 000000000000..3e41789b7445
--- /dev/null
+++ b/app-editors/nano/nano-1.3.7.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-1.3.7.ebuild,v 1.1 2005/04/14 03:24:21 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="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~ppc-macos ~s390 ~sh ~sparc ~x86"
+IUSE="nls build spell justify debug slang ncurses nomac"
+
+DEPEND=">=sys-libs/ncurses-5.2
+ nls? ( sys-devel/gettext )
+ slang? ( sys-libs/slang )"
+PROVIDE="virtual/editor"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ use nomac && epatch "${FILESDIR}"/${PN}-1.3.6-nomac.patch
+}
+
+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 spell) \
+ $(use_enable justify) \
+ $(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-* >> doc/nanorc.sample
+ dodoc ChangeLog README doc/nanorc.sample AUTHORS BUGS NEWS TODO
+ dohtml *.html
+ insinto /etc
+ newins doc/nanorc.sample nanorc
+ fi
+
+ dodir /usr/bin
+ dosym /bin/nano /usr/bin/nano
+}
+
+pkg_postinst() {
+ einfo "More helpful info about nano, visit the GDP page:"
+ einfo "http://www.gentoo.org/doc/en/nano-basics-guide.xml"
+}