aboutsummaryrefslogtreecommitdiffstats
path: root/misc/haiku/nnn-master.recipe
diff options
context:
space:
mode:
Diffstat (limited to 'misc/haiku/nnn-master.recipe')
-rw-r--r--misc/haiku/nnn-master.recipe52
1 files changed, 52 insertions, 0 deletions
diff --git a/misc/haiku/nnn-master.recipe b/misc/haiku/nnn-master.recipe
new file mode 100644
index 0000000..7e2e463
--- /dev/null
+++ b/misc/haiku/nnn-master.recipe
@@ -0,0 +1,52 @@
+SUMMARY="The missing terminal file manager for X"
+DESCRIPTION="
+nnn is a full-featured terminal file manager. It's tiny and nearly 0-config with an incredible performance.
+
+nnn is also a du analyzer, an app launcher, a batch renamer and a file picker. The plugin repository has tons of plugins and documentation to extend the capabilities further. You can plug new functionality and play with a custom keybind instantly. There's an independent (neo)vim plugin.
+
+It runs smoothly on the Raspberry Pi, Termux on Android, Linux, macOS, BSD, Cygwin, WSL and works seamlessly with DEs and GUI utilities.
+
+Visit the Wiki for concepts, program usage, how-tos and troubleshooting.
+"
+HOMEPAGE="https://github.com/jarun/nnn"
+COPYRIGHT="2016-2019 Arun Prakash Jana"
+LICENSE="BSD (2-clause)"
+REVISION="1"
+SOURCE_URI="git://github.com/jarun/nnn.git"
+
+ARCHITECTURES="x86 x86_64"
+
+PROVIDES="
+ nnn = $portVersion
+ cmd:nnn = $portVersion
+ "
+REQUIRES="
+ haiku
+ lib:libncurses
+ lib:libreadline
+ "
+
+BUILD_REQUIRES="
+ haiku_devel
+ pkgconfig
+ devel:libncurses
+ devel:libreadline
+ "
+
+BUILD_PREREQUIRES="
+ cmd:make
+ cmd:gcc
+ cmd:g++
+ cmd:ld
+ cmd:install
+"
+
+BUILD()
+{
+ make -f misc/haiku/Makefile
+}
+
+INSTALL()
+{
+ make -f misc/haiku/Makefile PREFIX=$prefix MANPREFIX=$manDir install
+}