From cd12d67dcd718de7d5d832a1aad10c3be3566b7a Mon Sep 17 00:00:00 2001 From: Jerome Duval Date: Mon, 20 Nov 2017 20:44:01 +0100 Subject: [PATCH] nano: add recipe for version 2.9.0. --- app-editors/nano/nano-2.9.0.recipe | 56 ++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 app-editors/nano/nano-2.9.0.recipe diff --git a/app-editors/nano/nano-2.9.0.recipe b/app-editors/nano/nano-2.9.0.recipe new file mode 100644 index 000000000..3161db603 --- /dev/null +++ b/app-editors/nano/nano-2.9.0.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.9/nano-$portVersion.tar.gz" +CHECKSUM_SHA256="220cdf0b29b3d2bcba66e7aaa5b27ed1f2bf53c44192d8e0e0328624da3dbebf" + +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 +}