summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-22 06:22:30 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-22 06:22:30 +0000
commit88db67a13616e6b95b176bf1de63909078b61a61 (patch)
treec8c4526554d481ea6a63826674d0b51789ad85b1 /app-editors/nano
parentVersion bumped. (diff)
downloadgentoo-2-88db67a13616e6b95b176bf1de63909078b61a61.tar.gz
gentoo-2-88db67a13616e6b95b176bf1de63909078b61a61.tar.bz2
gentoo-2-88db67a13616e6b95b176bf1de63909078b61a61.zip
Version bump.
(Portage version: 2.0.51.19)
Diffstat (limited to 'app-editors/nano')
-rw-r--r--app-editors/nano/ChangeLog8
-rw-r--r--app-editors/nano/files/digest-nano-1.3.61
-rw-r--r--app-editors/nano/files/nano-1.3.6-nomac.patch22
-rw-r--r--app-editors/nano/nano-1.3.6.ebuild69
4 files changed, 99 insertions, 1 deletions
diff --git a/app-editors/nano/ChangeLog b/app-editors/nano/ChangeLog
index d9a1356eca26..87c1a8e928ca 100644
--- a/app-editors/nano/ChangeLog
+++ b/app-editors/nano/ChangeLog
@@ -1,6 +1,12 @@
# 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.68 2005/01/01 13:31:57 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.69 2005/03/22 06:22:30 vapier Exp $
+
+*nano-1.3.6 (22 Mar 2005)
+
+ 22 Mar 2005; Mike Frysinger <vapier@gentoo.org>
+ +files/nano-1.3.6-nomac.patch, +nano-1.3.6.ebuild:
+ Version bump.
28 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> :
Change encoding to UTF-8 for GLEP 31 compliance
diff --git a/app-editors/nano/files/digest-nano-1.3.6 b/app-editors/nano/files/digest-nano-1.3.6
new file mode 100644
index 000000000000..a57b7ec08c00
--- /dev/null
+++ b/app-editors/nano/files/digest-nano-1.3.6
@@ -0,0 +1 @@
+MD5 03f951ade0ab1a3de7bd2cfffb2baf51 nano-1.3.6.tar.gz 997375
diff --git a/app-editors/nano/files/nano-1.3.6-nomac.patch b/app-editors/nano/files/nano-1.3.6-nomac.patch
new file mode 100644
index 000000000000..bfa4e05a1b02
--- /dev/null
+++ b/app-editors/nano/files/nano-1.3.6-nomac.patch
@@ -0,0 +1,22 @@
+--- src/global.c.orig 2005-03-22 00:58:51.000000000 -0500
++++ src/global.c 2005-03-22 00:59:09.000000000 -0500
+@@ -349,7 +349,6 @@
+ #endif
+ #ifndef NANO_SMALL
+ const char *nano_dos_msg = N_("Write file out in DOS format");
+- const char *nano_mac_msg = N_("Write file out in Mac format");
+ #endif
+ const char *nano_append_msg = N_("Append to the current file");
+ const char *nano_prepend_msg = N_("Prepend to the current file");
+@@ -859,11 +858,6 @@
+ IFHELP(nano_dos_msg, TOGGLE_DOS_KEY), NANO_NO_KEY,
+ NANO_NO_KEY, NOVIEW, NULL);
+
+- /* Translators: try to keep this string under 16 characters long */
+- if (!ISSET(RESTRICTED))
+- sc_init_one(&writefile_list, NANO_NO_KEY, N_("Mac Format"),
+- IFHELP(nano_mac_msg, TOGGLE_MAC_KEY), NANO_NO_KEY,
+- NANO_NO_KEY, NOVIEW, NULL);
+ #endif
+
+ /* Translators: try to keep this string under 16 characters long */
diff --git a/app-editors/nano/nano-1.3.6.ebuild b/app-editors/nano/nano-1.3.6.ebuild
new file mode 100644
index 000000000000..4fb49fa2c6ce
--- /dev/null
+++ b/app-editors/nano/nano-1.3.6.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.6.ebuild,v 1.1 2005/03/22 06:22:30 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}"/${P}-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"
+}