Files
haikuports/app-editors/nano/nano-4.3.recipe
2019-08-23 14:59:20 +03:00

70 lines
1.4 KiB
Bash

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-2019 Free Software Foundation, Inc."
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="https://www.nano-editor.org/dist/v4/nano-$portVersion.tar.xz"
CHECKSUM_SHA256="00d3ad1a287a85b4bf83e5f06cedd0a9f880413682bebd52b4b1e2af8cfc0d81"
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:libintl
lib:libncurses
lib:libz
"
BUILD_REQUIRES="
haiku_devel
devel:libiconv
devel:libintl
devel:libncurses
devel:libz
"
BUILD_PREREQUIRES="
cmd:autoreconf
cmd:gcc
cmd:groff
cmd:ld
cmd:libtoolize
cmd:make
cmd:msgfmt
cmd:msgmerge
cmd:pkg_config
cmd:xgettext
"
BUILD()
{
autoreconf
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}
TEST()
{
make check
}