summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-30 04:21:26 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-30 04:21:26 +0000
commit33b3228d955dd0fc6f1b52fe967b1d35aca37128 (patch)
tree71ffd426507a078713a75150ff44d82620835285 /app-editors/nano
parentupdate (diff)
downloadgentoo-2-33b3228d955dd0fc6f1b52fe967b1d35aca37128.tar.gz
gentoo-2-33b3228d955dd0fc6f1b52fe967b1d35aca37128.tar.bz2
gentoo-2-33b3228d955dd0fc6f1b52fe967b1d35aca37128.zip
old
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'app-editors/nano')
-rw-r--r--app-editors/nano/files/1.3.5-nomac.patch14
-rw-r--r--app-editors/nano/files/digest-nano-1.2.41
-rw-r--r--app-editors/nano/files/digest-nano-1.3.51
-rw-r--r--app-editors/nano/files/nano-1.3.5-break_line.patch11
-rw-r--r--app-editors/nano/nano-1.2.4.ebuild58
-rw-r--r--app-editors/nano/nano-1.3.5.ebuild70
6 files changed, 0 insertions, 155 deletions
diff --git a/app-editors/nano/files/1.3.5-nomac.patch b/app-editors/nano/files/1.3.5-nomac.patch
deleted file mode 100644
index 9404ecf3e1d1..000000000000
--- a/app-editors/nano/files/1.3.5-nomac.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- 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.2.4 b/app-editors/nano/files/digest-nano-1.2.4
deleted file mode 100644
index 0abb955c9511..000000000000
--- a/app-editors/nano/files/digest-nano-1.2.4
+++ /dev/null
@@ -1 +0,0 @@
-MD5 2c513310ec5e8b63abaecaf48670ac7a nano-1.2.4.tar.gz 914302
diff --git a/app-editors/nano/files/digest-nano-1.3.5 b/app-editors/nano/files/digest-nano-1.3.5
deleted file mode 100644
index 23eee3162c2e..000000000000
--- a/app-editors/nano/files/digest-nano-1.3.5
+++ /dev/null
@@ -1 +0,0 @@
-MD5 0009f25766b582ef94956faf194876c8 nano-1.3.5.tar.gz 961179
diff --git a/app-editors/nano/files/nano-1.3.5-break_line.patch b/app-editors/nano/files/nano-1.3.5-break_line.patch
deleted file mode 100644
index d1eb373bcb09..000000000000
--- a/app-editors/nano/files/nano-1.3.5-break_line.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- src/nano.c.orig 2004-11-27 12:47:32.196155971 -0800
-+++ src/nano.c 2004-11-27 12:47:47.815508571 -0800
-@@ -2399,7 +2399,7 @@
- * such space, and force is TRUE, then we find the first space. Anyway,
- * we then take the last space in that group of spaces. The terminating
- * '\0' counts as a space. */
--int break_line(const char *line, ssize_t goal, bool force)
-+ssize_t break_line(const char *line, ssize_t goal, bool force)
- {
- ssize_t space_loc = -1;
- /* Current tentative return value. Index of the last space we
diff --git a/app-editors/nano/nano-1.2.4.ebuild b/app-editors/nano/nano-1.2.4.ebuild
deleted file mode 100644
index d91ca7a7d495..000000000000
--- a/app-editors/nano/nano-1.2.4.ebuild
+++ /dev/null
@@ -1,58 +0,0 @@
-# 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.2.4.ebuild,v 1.3 2005/01/01 13:31:57 eradicator 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.2/${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 ncurses"
-
-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
-}
diff --git a/app-editors/nano/nano-1.3.5.ebuild b/app-editors/nano/nano-1.3.5.ebuild
deleted file mode 100644
index 184666c724e2..000000000000
--- a/app-editors/nano/nano-1.3.5.ebuild
+++ /dev/null
@@ -1,70 +0,0 @@
-# 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.5.ebuild,v 1.4 2005/01/16 10:58:47 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
- epatch ${FILESDIR}/${P}-break_line.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"
-}