aboutsummaryrefslogtreecommitdiffstats
path: root/misc/vifm
diff options
context:
space:
mode:
authorpetef <petef@FreeBSD.org>2002-08-11 10:37:27 +0800
committerpetef <petef@FreeBSD.org>2002-08-11 10:37:27 +0800
commit65647e56e283fdf63584a132a4f720c84ffd0018 (patch)
treead8904cc9d16aff7ccf13d952cef9acc343e1d39 /misc/vifm
parent166529674ae325a1de33a885b19b53015105a72f (diff)
downloadfreebsd-ports-gnome-65647e56e283fdf63584a132a4f720c84ffd0018.tar.gz
freebsd-ports-gnome-65647e56e283fdf63584a132a4f720c84ffd0018.tar.zst
freebsd-ports-gnome-65647e56e283fdf63584a132a4f720c84ffd0018.zip
Add vifm 0.1, ncurses based file manager with vi like keybindings.
PR: 41485 Submitted by: Stefan Walter <swalter@lettermax.de>
Diffstat (limited to 'misc/vifm')
-rw-r--r--misc/vifm/Makefile38
-rw-r--r--misc/vifm/distinfo1
-rw-r--r--misc/vifm/pkg-comment1
-rw-r--r--misc/vifm/pkg-descr13
-rw-r--r--misc/vifm/pkg-plist7
5 files changed, 60 insertions, 0 deletions
diff --git a/misc/vifm/Makefile b/misc/vifm/Makefile
new file mode 100644
index 000000000000..8d6c08d1b75f
--- /dev/null
+++ b/misc/vifm/Makefile
@@ -0,0 +1,38 @@
+# New ports collection makefile for: vifm
+# Date created: 09 August 2002
+# Whom: Stefan Walter <swalter@lettermax.de>
+#
+# $FreeBSD$
+#
+
+PORTNAME= vifm
+PORTVERSION= 0.1
+CATEGORIES= misc
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= vifm
+
+MAINTAINER= swalter@lettermax.de
+
+.if defined(WITH_VIFM_SCREEN)
+RUN_DEPENDS= screen:${PORTSDIR}/misc/screen
+.else
+pre-everything:
+ @${ECHO_CMD} "You can define WITH_VIFM_SCREEN to add screen as a dependency."
+.endif
+
+GNU_CONFIGURE= yes
+USE_GMAKE= yes
+USE_REINPLACE= yes
+
+.if defined(WITH_VIFM_SCREEN)
+pre-build:
+ @${REINPLACE_CMD} -e "s/cfg.use_screen = 0/cfg.use_screen = 1/" \
+ ${BUILD_WRKSRC}/src/config.c
+ @${REINPLACE_CMD} -e "s/USE_SCREEN=0/USE_SCREEN=1/" \
+ ${BUILD_WRKSRC}/src/vifmrc0.1
+.endif
+
+post-install:
+ @${STRIP_CMD} ${PREFIX}/bin/vifm
+
+.include <bsd.port.mk>
diff --git a/misc/vifm/distinfo b/misc/vifm/distinfo
new file mode 100644
index 000000000000..d216376cd230
--- /dev/null
+++ b/misc/vifm/distinfo
@@ -0,0 +1 @@
+MD5 (vifm-0.1.tar.gz) = ce8d8c8a1f94d3735c4a3bdef45520ce
diff --git a/misc/vifm/pkg-comment b/misc/vifm/pkg-comment
new file mode 100644
index 000000000000..753663f06fdb
--- /dev/null
+++ b/misc/vifm/pkg-comment
@@ -0,0 +1 @@
+Ncurses based file manager with vi like keybindings
diff --git a/misc/vifm/pkg-descr b/misc/vifm/pkg-descr
new file mode 100644
index 000000000000..e99da1aec85b
--- /dev/null
+++ b/misc/vifm/pkg-descr
@@ -0,0 +1,13 @@
+"Vifm is a ncurses based file manager with vi like keybindings. If you
+use vi, vifm gives you complete keyboard control over your files without
+having to learn a new set of commands."
+
+Features:
+ - two file list windows
+ - bookmarks
+ - user-defined association of file types/extensions with multiple
+ applications per extension
+ - visual mode for selecting files
+ - user-defined commands
+
+WWW: http://vifm.sourceforge.net/
diff --git a/misc/vifm/pkg-plist b/misc/vifm/pkg-plist
new file mode 100644
index 000000000000..b4831235ff4b
--- /dev/null
+++ b/misc/vifm/pkg-plist
@@ -0,0 +1,7 @@
+bin/pauseme
+bin/vifm
+share/vifm/vifm-0.1.help.txt
+share/vifm/vifm.txt
+share/vifm/vifm.vim
+share/vifm/vifmrc0.1
+@dirrm share/vifm