import ports/sysutils/ranger, ok giovanni@
ranger is a file manager with VI key bindings. It provides a minimalistic yet nice curses interface with a view on the directory hierarchy. The secondary task of ranger is to psychically guess which program you want to use for opening particular files.
This commit is contained in:
parent
0ea148f52a
commit
a9c0b0d27e
32
sysutils/ranger/Makefile
Normal file
32
sysutils/ranger/Makefile
Normal file
@ -0,0 +1,32 @@
|
||||
# $OpenBSD: Makefile,v 1.1.1.1 2012/07/09 09:20:58 sthen Exp $
|
||||
|
||||
COMMENT = minimalistic console file manager
|
||||
|
||||
MODPY_EGG_VERSION = 1.5.4
|
||||
DISTNAME = ranger-${MODPY_EGG_VERSION}
|
||||
|
||||
CATEGORIES = sysutils
|
||||
|
||||
HOMEPAGE = http://www.nongnu.org/ranger/
|
||||
|
||||
MAINTAINER = Stuart Henderson <sthen@openbsd.org>
|
||||
|
||||
# GPLv3+
|
||||
PERMIT_PACKAGE_CDROM = Yes
|
||||
PERMIT_PACKAGE_FTP = Yes
|
||||
PERMIT_DISTFILES_CDROM = Yes
|
||||
PERMIT_DISTFILES_FTP = Yes
|
||||
|
||||
MASTER_SITES = ${HOMEPAGE}
|
||||
|
||||
MODULES = lang/python
|
||||
# libarchive (bsdtar) used as an alternative to atool; see scope.sh patch
|
||||
RUN_DEPENDS = archivers/libarchive \
|
||||
textproc/py-chardet
|
||||
|
||||
REGRESS_DEPENDS=devel/gmake
|
||||
|
||||
do-regress:
|
||||
cd ${WRKSRC}; PYTHON=${MODPY_BIN} gmake test
|
||||
|
||||
.include <bsd.port.mk>
|
5
sysutils/ranger/distinfo
Normal file
5
sysutils/ranger/distinfo
Normal file
@ -0,0 +1,5 @@
|
||||
MD5 (ranger-1.5.4.tar.gz) = H7xim3osfj5Glfshju1yQA==
|
||||
RMD160 (ranger-1.5.4.tar.gz) = FWDGbRCGrqUphpGIUi8i48W1PGU=
|
||||
SHA1 (ranger-1.5.4.tar.gz) = bPQlluGORe3PqpDoyWAZNPyu4Ec=
|
||||
SHA256 (ranger-1.5.4.tar.gz) = 5Yoj7Ywq4HWmaERsPhYka2nS83k074i8Rz5aVS+w2Y0=
|
||||
SIZE (ranger-1.5.4.tar.gz) = 126735
|
24
sysutils/ranger/patches/patch-ranger_data_scope_sh
Normal file
24
sysutils/ranger/patches/patch-ranger_data_scope_sh
Normal file
@ -0,0 +1,24 @@
|
||||
$OpenBSD: patch-ranger_data_scope_sh,v 1.1.1.1 2012/07/09 09:20:58 sthen Exp $
|
||||
|
||||
Meant to use atool (not ported yet), but bsdtar copes with many of these
|
||||
archives directly so use that instead.
|
||||
|
||||
--- ranger/data/scope.sh.orig Thu May 3 18:47:39 2012
|
||||
+++ ranger/data/scope.sh Mon Jul 9 00:06:14 2012
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/bin/bash
|
||||
+#!/bin/ksh
|
||||
# ranger supports enhanced previews. If the option "use_preview_script"
|
||||
# is set to True and this file exists, this script will be called and its
|
||||
# output is displayed in ranger. ANSI color codes are supported.
|
||||
@@ -38,8 +38,8 @@ case "$extension" in
|
||||
# Archive extensions:
|
||||
7z|a|ace|alz|arc|arj|bz|bz2|cab|cpio|deb|gz|jar|lha|lz|lzh|lzma|lzo|\
|
||||
rar|rpm|rz|t7z|tar|tbz|tbz2|tgz|tlz|txz|tZ|tzo|war|xpi|xz|Z|zip)
|
||||
- als "$path" | head -n $maxln
|
||||
- success && exit 0 || acat "$path" | head -n $maxln && exit 3
|
||||
+ bsdtar tf "$path" | head -n $maxln
|
||||
+ success && exit 0 || gzcat "$path" | head -n $maxln && exit 3
|
||||
exit 1;;
|
||||
# PDF documents:
|
||||
pdf)
|
12
sysutils/ranger/patches/patch-setup_py
Normal file
12
sysutils/ranger/patches/patch-setup_py
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-setup_py,v 1.1.1.1 2012/07/09 09:20:58 sthen Exp $
|
||||
--- setup.py.orig Mon Nov 7 13:24:07 2011
|
||||
+++ setup.py Mon Nov 7 13:24:17 2011
|
||||
@@ -28,7 +28,7 @@ if __name__ == '__main__':
|
||||
license=ranger.__license__,
|
||||
url='http://savannah.nongnu.org/projects/ranger',
|
||||
scripts=['ranger/data/ranger'],
|
||||
- data_files=[('share/man/man1', ['doc/ranger.1'])],
|
||||
+ data_files=[('man/man1', ['doc/ranger.1'])],
|
||||
package_data={'ranger': ['data/*', 'defaults/rc.conf']},
|
||||
packages=('ranger',
|
||||
'ranger.api',
|
4
sysutils/ranger/pkg/DESCR
Normal file
4
sysutils/ranger/pkg/DESCR
Normal file
@ -0,0 +1,4 @@
|
||||
ranger is a file manager with VI key bindings. It provides a
|
||||
minimalistic yet nice curses interface with a view on the directory
|
||||
hierarchy. The secondary task of ranger is to psychically guess
|
||||
which program you want to use for opening particular files.
|
155
sysutils/ranger/pkg/PLIST
Normal file
155
sysutils/ranger/pkg/PLIST
Normal file
@ -0,0 +1,155 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2012/07/09 09:20:58 sthen Exp $
|
||||
bin/ranger
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger-${MODPY_EGG_VERSION}-py${MODPY_VERSION}.egg-info
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/api/
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/api/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/api/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/api/apps.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/api/apps.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/api/commands.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/api/commands.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/api/options.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/api/options.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/colorschemes/
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/colorschemes/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/colorschemes/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/colorschemes/default.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/colorschemes/default.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/colorschemes/default88.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/colorschemes/default88.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/colorschemes/jungle.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/colorschemes/jungle.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/colorschemes/snow.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/colorschemes/snow.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/container/
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/container/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/container/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/container/bookmarks.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/container/bookmarks.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/container/history.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/container/history.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/container/settingobject.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/container/settingobject.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/container/tags.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/container/tags.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/core/
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/core/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/core/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/core/actions.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/core/actions.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/core/environment.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/core/environment.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/core/fm.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/core/fm.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/core/helper.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/core/helper.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/core/loader.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/core/loader.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/core/main.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/core/main.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/core/runner.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/core/runner.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/core/shared.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/core/shared.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/data/
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/data/mime.types
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/data/ranger
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/data/scope.sh
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/defaults/
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/defaults/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/defaults/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/defaults/apps.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/defaults/apps.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/defaults/commands.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/defaults/commands.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/defaults/options.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/defaults/options.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/defaults/rc.conf
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/accumulator.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/accumulator.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/cached_function.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/cached_function.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/curses_interrupt_handler.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/curses_interrupt_handler.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/direction.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/direction.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/get_executables.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/get_executables.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/human_readable.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/human_readable.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/iter_tools.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/iter_tools.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/keybinding_parser.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/keybinding_parser.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/lazy_property.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/lazy_property.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/mount_path.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/mount_path.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/next_available_filename.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/next_available_filename.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/openstruct.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/openstruct.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/relative_symlink.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/relative_symlink.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/shell_escape.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/shell_escape.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/signals.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/signals.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/spawn.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/spawn.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/widestring.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/ext/widestring.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/fsobject/
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/fsobject/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/fsobject/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/fsobject/directory.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/fsobject/directory.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/fsobject/file.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/fsobject/file.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/fsobject/fsobject.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/fsobject/fsobject.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/ansi.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/ansi.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/bar.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/bar.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/color.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/color.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/colorscheme.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/colorscheme.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/context.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/context.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/curses_shortcuts.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/curses_shortcuts.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/displayable.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/displayable.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/mouse_event.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/mouse_event.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/ui.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/ui.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/widgets/
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/widgets/__init__.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/widgets/__init__.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/widgets/browsercolumn.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/widgets/browsercolumn.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/widgets/browserview.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/widgets/browserview.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/widgets/console.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/widgets/console.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/widgets/pager.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/widgets/pager.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/widgets/statusbar.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/widgets/statusbar.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/widgets/taskview.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/widgets/taskview.pyc
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/widgets/titlebar.py
|
||||
lib/python${MODPY_VERSION}/site-packages/ranger/gui/widgets/titlebar.pyc
|
||||
@man man/man1/ranger.1
|
Loading…
Reference in New Issue
Block a user