mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
70 lines
1.8 KiB
Bash
70 lines
1.8 KiB
Bash
SUMMARY="Pico clone with more functionality under the GPL license"
|
|
DESCRIPTION="nano is a simple text editor for Unix-like computing systems \
|
|
using a command line interface. It closely emulates the Pico text editor, \
|
|
part of the Pine email client, while providing additional functionality. \
|
|
Features include:
|
|
- Full undo/redo support
|
|
- Syntax highlighting
|
|
- Customizable key bindings
|
|
- 'Soft' line wrapping
|
|
- Line numbers
|
|
- Pager support (reading from stdin)
|
|
- Warnings for unwritable files
|
|
- Localization"
|
|
HOMEPAGE="https://www.nano-editor.org/"
|
|
COPYRIGHT="1999-2022 Free Software Foundation, Inc."
|
|
LICENSE="GNU GPL v3"
|
|
REVISION="1"
|
|
SOURCE_URI="https://www.nano-editor.org/dist/v8/nano-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256="76f0dcb248f2e2f1251d4ecd20fd30fb400a360a3a37c6c340e0a52c2d1cdedf"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
commandSuffix=$secondaryArchSuffix
|
|
commandBinDir=$binDir
|
|
if [ "$targetArchitecture" = x86_gcc2 ]; then
|
|
commandSuffix=
|
|
commandBinDir=$prefix/bin
|
|
fi
|
|
|
|
PROVIDES="
|
|
nano$secondaryArchSuffix = $portVersion compat >= 2
|
|
cmd:nano$commandSuffix = $portVersion compat >= 2
|
|
cmd:rnano$commandSuffix = $portVersion compat >= 2
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
lib:libintl$secondaryArchSuffix
|
|
lib:libncurses$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libiconv$secondaryArchSuffix
|
|
devel:libintl$secondaryArchSuffix
|
|
devel:libncurses$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:groff
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
runConfigure --omit-dirs binDir ./configure --bindir=$commandBinDir
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
}
|