From b1b4b46b7cf2197ec3cefa2ae7642172fdb3badb Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Tue, 25 Jul 2017 17:26:08 +0200 Subject: [PATCH] nano: add recipe for version 2.8.6. --- app-editors/nano/nano-2.8.6.recipe | 56 ++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 app-editors/nano/nano-2.8.6.recipe diff --git a/app-editors/nano/nano-2.8.6.recipe b/app-editors/nano/nano-2.8.6.recipe new file mode 100644 index 000000000..d2ecffe8d --- /dev/null +++ b/app-editors/nano/nano-2.8.6.recipe @@ -0,0 +1,56 @@ +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="http://www.nano-editor.org/" +COPYRIGHT="1999-2017 Free Software Foundation, Inc." +LICENSE="GNU GPL v3" +REVISION="1" +SOURCE_URI="http://www.nano-editor.org/dist/v2.8/nano-$portVersion.tar.gz" +CHECKSUM_SHA256="3725aa145880223b2c4d0b3fa08220e1633f2d341917f49d028e067fc12cce49" + +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 +}