summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-08-18 21:11:56 +0000
committerMike Frysinger <vapier@gentoo.org>2003-08-18 21:11:56 +0000
commitfd87db0ee970a2a570a434c634da13b3367b6463 (patch)
tree575e40d333c5019a8abff36761723a7318197b54 /app-editors/nano
parentVersion bump. Add ~ppc keyword. (diff)
downloadgentoo-2-fd87db0ee970a2a570a434c634da13b3367b6463.tar.gz
gentoo-2-fd87db0ee970a2a570a434c634da13b3367b6463.tar.bz2
gentoo-2-fd87db0ee970a2a570a434c634da13b3367b6463.zip
version bump + slang/debug options
Diffstat (limited to 'app-editors/nano')
-rw-r--r--app-editors/nano/ChangeLog8
-rw-r--r--app-editors/nano/files/digest-nano-1.2.21
-rw-r--r--app-editors/nano/nano-1.2.2.ebuild50
3 files changed, 58 insertions, 1 deletions
diff --git a/app-editors/nano/ChangeLog b/app-editors/nano/ChangeLog
index 05004c990ebb..b6cbaf03b80e 100644
--- a/app-editors/nano/ChangeLog
+++ b/app-editors/nano/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-editors/nano
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.30 2003/07/22 13:38:07 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/ChangeLog,v 1.31 2003/08/18 21:11:56 vapier Exp $
+
+*nano-1.2.2 (18 Aug 2003)
+
+ 18 Aug 2003; Mike Frysinger <vapier@gentoo.org> :
+ Add back in optional slang support + add in debug support.
+ Also fix symlink so it points at ../../bin/nano rather than /bin/nano.
*nano-1.2.1 (25 Apr 2003)
diff --git a/app-editors/nano/files/digest-nano-1.2.2 b/app-editors/nano/files/digest-nano-1.2.2
new file mode 100644
index 000000000000..599286b79ce9
--- /dev/null
+++ b/app-editors/nano/files/digest-nano-1.2.2
@@ -0,0 +1 @@
+MD5 1c2663caa7d1ca4377a4a2ab61787689 nano-1.2.2.tar.gz 889278
diff --git a/app-editors/nano/nano-1.2.2.ebuild b/app-editors/nano/nano-1.2.2.ebuild
new file mode 100644
index 000000000000..ddc089faa86f
--- /dev/null
+++ b/app-editors/nano/nano-1.2.2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-1.2.2.ebuild,v 1.1 2003/08/18 21:11:56 vapier Exp $
+
+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="~amd64 ~x86 ~ppc ~sparc ~alpha ~mips ~hppa ~arm"
+IUSE="nls build spell justify debug slang"
+
+DEPEND=">=sys-libs/ncurses-5.2
+ nls? ( sys-devel/gettext )
+ slang? ( sys-libs/slang )"
+PROVIDE="virtual/editor"
+
+S=${WORKDIR}/${MY_P}
+
+src_compile() {
+ use build && myconf="${myconf} --disable-wrapping-as-root"
+
+ econf \
+ --bindir=/bin \
+ --enable-color \
+ --enable-multibuffer \
+ --enable-nanorc \
+ `use_enable justify` \
+ `use_enable spell` \
+ `use_enable debug` \
+ `use_enable nls` \
+ `use_with slang` \
+ ${myconf} \
+ || die "configure failed"
+ emake || die
+}
+
+src_install() {
+ make DESTDIR=${D} install || die
+
+ use build \
+ && rm -rf ${D}/usr/share \
+ || dodoc ChangeLog README nanorc.sample AUTHORS BUGS NEWS TODO \
+ && dohtml *.html
+
+ dodir /usr/bin
+ dosym ../../bin/nano /usr/bin/nano
+}