mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 13:38:52 +02:00
63 lines
1.3 KiB
Bash
63 lines
1.3 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-2018 Free Software Foundation, Inc."
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="3"
|
|
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
|
|
}
|