summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-11-23 03:27:23 +0000
committerMike Frysinger <vapier@gentoo.org>2004-11-23 03:27:23 +0000
commit3cafbb6348a336ed4c829a066a69b91275db333e (patch)
tree178571f96a27e76e8ba4220571c8609c9f26a29d /app-editors/nano
parentAdded to ~sparc. (diff)
downloadhistorical-3cafbb6348a336ed4c829a066a69b91275db333e.tar.gz
historical-3cafbb6348a336ed4c829a066a69b91275db333e.tar.bz2
historical-3cafbb6348a336ed4c829a066a69b91275db333e.zip
Version bump.
Diffstat (limited to 'app-editors/nano')
-rw-r--r--app-editors/nano/ChangeLog8
-rw-r--r--app-editors/nano/Manifest11
-rw-r--r--app-editors/nano/files/1.3.5-nomac.patch14
-rw-r--r--app-editors/nano/files/digest-nano-1.3.51
-rw-r--r--app-editors/nano/nano-1.3.5.ebuild64
5 files changed, 93 insertions, 5 deletions
diff --git a/app-editors/nano/ChangeLog b/app-editors/nano/ChangeLog
index a5bb5918a426..0a6bacb72e7c 100644
--- a/app-editors/nano/ChangeLog
+++ b/app-editors/nano/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-editors/nano
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.64 2004/09/19 21:10:16 kloeri Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.65 2004/11/23 03:27:23 vapier Exp $
+
+*nano-1.3.5 (22 Nov 2004)
+
+ 22 Nov 2004; Mike Frysinger <vapier@gentoo.org> +files/1.3.5-nomac.patch,
+ +nano-1.3.5.ebuild:
+ Version bump.
19 Sep 2004; Bryan Østergaard,,, <kloeri@gentoo.org> nano-1.3.4.ebuild:
Stable on alpha.
diff --git a/app-editors/nano/Manifest b/app-editors/nano/Manifest
index e5e46fb189eb..e009c4e62db2 100644
--- a/app-editors/nano/Manifest
+++ b/app-editors/nano/Manifest
@@ -1,10 +1,13 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 7806c0229fd38ddfcff4b27656f1ef85 ChangeLog 7388
+MD5 7b006663d97ceabe27885831af978cb1 ChangeLog 7530
MD5 b297797b490f7c6ca8d5f40f2d6347cc metadata.xml 1015
MD5 285b5a2576ec35dc904ed4130a09d9d4 nano-1.2.4.ebuild 1397
+MD5 f1899587c13e29995c8fbbab689ccf7e nano-1.3.5.ebuild 1547
MD5 0ac854d97004e0da9c991d0eff90ba48 nano-1.3.4.ebuild 1572
+MD5 d8142b390b68a527e95d17d20be72c5e files/1.3.5-nomac.patch 545
+MD5 ddf5d8f69c2fef9a4f253ce9bcfbf767 files/digest-nano-1.3.5 62
MD5 bbdbc4c41e290e7658f6a6d06b3ac6f4 files/digest-nano-1.2.4 62
MD5 1dc6cc0231305e0268bd17287b429db2 files/nanorc-gentoo 1866
MD5 5a223e97f96e6952e3f345f4ae504772 files/nanorc-man 305
@@ -16,7 +19,7 @@ MD5 c3684059e73752ce1f114e768ecbaa2b files/1.3.4-nanobrack.patch 557
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.10 (GNU/Linux)
-iD8DBQFBmP+kHTu7gpaalycRAvOLAJ901sLmO6noDd6JW1f6sJjYGErICgCghFW6
-0AIo7S7JjwSncdknrPtRf/4=
-=cR6X
+iD8DBQFBoq5cHTu7gpaalycRAu7DAJ9KGTBI3CAZLC0jYKrkIwDhAlq7FgCcDU+3
+kqNGIwH/I+IFGpeV4szmMXg=
+=owQR
-----END PGP SIGNATURE-----
diff --git a/app-editors/nano/files/1.3.5-nomac.patch b/app-editors/nano/files/1.3.5-nomac.patch
new file mode 100644
index 000000000000..9404ecf3e1d1
--- /dev/null
+++ b/app-editors/nano/files/1.3.5-nomac.patch
@@ -0,0 +1,14 @@
+--- src/global.c.orig 2004-11-10 01:28:23.091315572 -0500
++++ src/global.c 2004-11-10 01:28:40.231186724 -0500
+@@ -836,11 +836,6 @@
+ IFHELP(nano_dos_msg, TOGGLE_DOS_KEY), NANO_NO_KEY,
+ NANO_NO_KEY, NOVIEW, 0);
+
+- /* 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, 0);
+ #endif
+
+ /* Translators: try to keep this string under 16 characters long */
diff --git a/app-editors/nano/files/digest-nano-1.3.5 b/app-editors/nano/files/digest-nano-1.3.5
new file mode 100644
index 000000000000..23eee3162c2e
--- /dev/null
+++ b/app-editors/nano/files/digest-nano-1.3.5
@@ -0,0 +1 @@
+MD5 0009f25766b582ef94956faf194876c8 nano-1.3.5.tar.gz 961179
diff --git a/app-editors/nano/nano-1.3.5.ebuild b/app-editors/nano/nano-1.3.5.ebuild
new file mode 100644
index 000000000000..861e5fd67cee
--- /dev/null
+++ b/app-editors/nano/nano-1.3.5.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-1.3.5.ebuild,v 1.1 2004/11/23 03:27:23 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 ~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}/${PV}-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
+}