From 149ec22f50d369c613b6f58813ee1b9b6150d62d Mon Sep 17 00:00:00 2001 From: fbrosson Date: Mon, 12 Nov 2018 21:31:22 +0000 Subject: [PATCH] nano: bring back version 2.9.8 for x86_gcc2. --- app-editors/nano/nano-2.9.8.recipe | 62 +++++++++++++++++++ ...{nano-3.1.patchset => nano-2.9.8.patchset} | 0 2 files changed, 62 insertions(+) create mode 100644 app-editors/nano/nano-2.9.8.recipe rename app-editors/nano/patches/{nano-3.1.patchset => nano-2.9.8.patchset} (100%) diff --git a/app-editors/nano/nano-2.9.8.recipe b/app-editors/nano/nano-2.9.8.recipe new file mode 100644 index 000000000..4fa33f69c --- /dev/null +++ b/app-editors/nano/nano-2.9.8.recipe @@ -0,0 +1,62 @@ +SUMMARY="Pico clone with more functionality under the GPL license" +DESCRIPTION="nano is a simple text editor for Unix-like computing systems \ +or operating environments using a command line interface. It emulates the \ +Pico text editor, part of the Pine email client, and also provides additional \ +functionality. Features include: +- Customizable key bindings +- 'soft' line wrapping +- Full undo/redo support +- Pager support (reading from stdin) +- Warnings for un-writable files +- More syntax highlighting samples (Fortran, objC, OCaml, Makefiles)" +HOMEPAGE="https://www.nano-editor.org/" +COPYRIGHT="1999-2018 Free Software Foundation, Inc." +LICENSE="GNU GPL v3" +REVISION="2" +SOURCE_URI="https://www.nano-editor.org/dist/v2.9/nano-$portVersion.tar.gz" +CHECKSUM_SHA256="07192c320b74c1fb78437021e9affa6a9d55b806ee012de601902392eaa03601" +PATCHES="nano-$portVersion.patchset" + +ARCHITECTURES="x86_gcc2 x86 x86_64" + +PROVIDES=" + nano = $portVersion compat >= 2 + cmd:nano = $portVersion compat >= 2 + cmd:rnano = $portVersion compat >= 2 + " +REQUIRES=" + haiku + cmd:groff + lib:libncurses + " + +BUILD_REQUIRES=" + haiku_devel + devel:libncurses + " +BUILD_PREREQUIRES=" + cmd:autoreconf + cmd:gcc + cmd:groff + cmd:ld + cmd:libtoolize + cmd:make + cmd:pkg_config + " + +BUILD() +{ + autoreconf + runConfigure ./configure + make $jobArgs +} + +INSTALL() +{ + make install +} + +TEST() +{ + make check +} diff --git a/app-editors/nano/patches/nano-3.1.patchset b/app-editors/nano/patches/nano-2.9.8.patchset similarity index 100% rename from app-editors/nano/patches/nano-3.1.patchset rename to app-editors/nano/patches/nano-2.9.8.patchset