summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-08-18 04:09:28 +0000
committerMike Frysinger <vapier@gentoo.org>2004-08-18 04:09:28 +0000
commit04ffd6d45e5e2e7f85f72e9b516d76e1bb6bc094 (patch)
tree676a788a09cd8c80d1b805647c12c05c5f6444b1 /app-editors
parentver bump (diff)
downloadhistorical-04ffd6d45e5e2e7f85f72e9b516d76e1bb6bc094.tar.gz
historical-04ffd6d45e5e2e7f85f72e9b516d76e1bb6bc094.tar.bz2
historical-04ffd6d45e5e2e7f85f72e9b516d76e1bb6bc094.zip
version bump
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/nano/Manifest27
-rw-r--r--app-editors/nano/files/1.3.4-nomac.patch11
-rw-r--r--app-editors/nano/files/digest-nano-1.3.41
-rw-r--r--app-editors/nano/nano-1.3.4.ebuild64
4 files changed, 96 insertions, 7 deletions
diff --git a/app-editors/nano/Manifest b/app-editors/nano/Manifest
index 5ced0b15425b..6f67486a8f11 100644
--- a/app-editors/nano/Manifest
+++ b/app-editors/nano/Manifest
@@ -1,19 +1,32 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
MD5 50c39f11f5d10a812242acccd842e3e5 ChangeLog 7013
MD5 b297797b490f7c6ca8d5f40f2d6347cc metadata.xml 1015
MD5 285b5a2576ec35dc904ed4130a09d9d4 nano-1.2.4.ebuild 1397
MD5 f84b986a9c5d94eca042432d72532575 nano-1.3.2-r1.ebuild 1632
MD5 833d96e7eabcf3ccab5e902aad581692 nano-1.3.3-r1.ebuild 1719
+MD5 a1d1a0c91be093a52f72d8a0aa676e87 nano-1.3.4.ebuild 1535
MD5 f4ea39140349611e991db4706e69e393 files/1.3-nanopermsfix.patch 556
-MD5 52fb99e2245a74eef08cdd6a00b5cf97 files/1.3.3-debug-printf-fix.patch 508
-MD5 b3cb388c0c523217fcf2e4b6dfe8bbd9 files/digest-nano-1.3.2-r1 62
+MD5 0726e5da362828bb5b1a73e5bd944849 files/1.3.2-nomac.patch 553
+MD5 740ee1dff171c4230019d04c3fcac1d3 files/1.3.2-wsconvert.patch 6900
+MD5 f7b62387fee9c47b2bf7b790642f4d34 files/1.3.3-ifdeffix.patch 455
+MD5 8cae7c25770d1934c483be3b58f2eae7 files/1.3.3-nomac.patch 550
+MD5 bfa78f95b6154fd47d2b021f60829456 files/1.3.3-ws-default-off.patch 352
MD5 bbdbc4c41e290e7658f6a6d06b3ac6f4 files/digest-nano-1.2.4 62
+MD5 b3cb388c0c523217fcf2e4b6dfe8bbd9 files/digest-nano-1.3.2-r1 62
MD5 41f48da10c4f45b989d2bcffe83b58fd files/digest-nano-1.3.3-r1 62
MD5 8e2826d298e32d2c2875170144d53b86 files/nanorc-gentoo 1824
MD5 5a223e97f96e6952e3f345f4ae504772 files/nanorc-man 305
MD5 061dd7ec0e2fef8722c1c46d2a09b327 files/nanorc-patch 258
MD5 9ecacdb9e41a6ddb3200113238ca4b2b files/nanorc-sh 646
-MD5 0726e5da362828bb5b1a73e5bd944849 files/1.3.2-nomac.patch 553
-MD5 740ee1dff171c4230019d04c3fcac1d3 files/1.3.2-wsconvert.patch 6900
-MD5 f7b62387fee9c47b2bf7b790642f4d34 files/1.3.3-ifdeffix.patch 455
-MD5 8cae7c25770d1934c483be3b58f2eae7 files/1.3.3-nomac.patch 550
-MD5 bfa78f95b6154fd47d2b021f60829456 files/1.3.3-ws-default-off.patch 352
+MD5 52fb99e2245a74eef08cdd6a00b5cf97 files/1.3.3-debug-printf-fix.patch 508
+MD5 95e2a2065a0c2ff580dcf645fba2de1e files/digest-nano-1.3.4 62
+MD5 4cf6c77ed7c28d94c8de44d8318176c3 files/1.3.4-nomac.patch 511
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.9.10 (GNU/Linux)
+
+iD8DBQFBItaEHTu7gpaalycRAhvwAJ4kpZ4EhHAhGTSqqVICFLs1m5xVLgCgsfTM
+nfKsUYV+UARx2axHHf9hrm0=
+=OcgQ
+-----END PGP SIGNATURE-----
diff --git a/app-editors/nano/files/1.3.4-nomac.patch b/app-editors/nano/files/1.3.4-nomac.patch
new file mode 100644
index 000000000000..99787f01a966
--- /dev/null
+++ b/app-editors/nano/files/1.3.4-nomac.patch
@@ -0,0 +1,11 @@
+--- src/global.c.orig 2004-08-18 00:00:51.573889920 -0400
++++ src/global.c 2004-08-18 00:00:54.842393032 -0400
+@@ -1043,8 +1043,6 @@
+ N_("No conversion from DOS/Mac format"), NO_CONVERT);
+ toggle_init_one(TOGGLE_DOS_KEY, N_("Writing file in DOS format"),
+ DOS_FILE);
+- toggle_init_one(TOGGLE_MAC_KEY, N_("Writing file in Mac format"),
+- MAC_FILE);
+ toggle_init_one(TOGGLE_BACKUP_KEY, N_("Backup files"), BACKUP_FILE);
+ }
+ toggle_init_one(TOGGLE_SMOOTH_KEY, N_("Smooth scrolling"), SMOOTHSCROLL);
diff --git a/app-editors/nano/files/digest-nano-1.3.4 b/app-editors/nano/files/digest-nano-1.3.4
new file mode 100644
index 000000000000..1929bb67fe45
--- /dev/null
+++ b/app-editors/nano/files/digest-nano-1.3.4
@@ -0,0 +1 @@
+MD5 c24028eade9f713009a18ab541564409 nano-1.3.4.tar.gz 961756
diff --git a/app-editors/nano/nano-1.3.4.ebuild b/app-editors/nano/nano-1.3.4.ebuild
new file mode 100644
index 000000000000..20ce001d2815
--- /dev/null
+++ b/app-editors/nano/nano-1.3.4.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.4.ebuild,v 1.1 2004/08/18 04:09:28 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 ~ppc64 ~s390 ~macos"
+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
+}