Files
haikuports/app-editors/nano/nano-2.3.1.recipe
2014-01-05 04:12:45 -08:00

40 lines
1.1 KiB
Plaintext

SUMMARY="GNU 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/"
SRC_URI="http://ftpmirror.gnu.org/nano/nano-2.3.1.tar.gz"
CHECKSUM_MD5="af09f8828744b0ea0808d6c19a2b4bfd"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="sys-libs/ncurses >= 5.6
sys-apps/groff >= 1.20.1"
BUILD()
{
cd nano-2.3.1
COMMON_DOCS=`finddir B_COMMON_DOCUMENTATION_DIRECTORY`
./configure --prefix=`finddir B_COMMON_DIRECTORY` \
--datadir=`finddir B_COMMON_DATA_DIRECTORY` \
--infodir=$COMMON_DOCS/info \
--mandir=$COMMON_DOCS/man
make
}
INSTALL()
{
cd nano-2.3.1
make install
}
LICENSE="GNU GPL v3"
COPYRIGHT="1999-2011 Free Software Foundation, Inc. "