forked from Lainports/freebsd-ports
Changes: - Fixed file name arguments passed to sxiv and feh when using :flat - Fixed removal of empty directories when using :rename - Fixed free disk space display on Mac OS X - Fixed examples/vim_file_chooser to work with gvim too - Fixed some other rare crashes and bugs - Fixed downward mouse wheel scrolling - Fixed warning about regex splits being drawin in title bar since python3.5 - Really fixed S key binding not working when SHELL=fish - Improved doc/cheatsheet.svg - Added some entries to rifle.conf - Added key bindings pO and pP which work like po and pp but queue the operation in a first-in-first-out order. PR: 208734 Submitted by: Daniel Lin <linpct@gmail.com> (maintainer)
25 lines
704 B
Makefile
25 lines
704 B
Makefile
# Created by: Jin-Sih Lin <linpct@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= ranger
|
|
PORTVERSION= 1.7.2
|
|
CATEGORIES= sysutils python
|
|
MASTER_SITES= http://ranger.nongnu.org/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
MAINTAINER= linpct@gmail.com
|
|
COMMENT= Ranger is a file manager with VI key bindings
|
|
|
|
LICENSE= GPLv3
|
|
|
|
USES= python shebangfix
|
|
SHEBANG_FILES= doc/tools/convert_papermode_to_metadata.py
|
|
python_OLD_CMD= /bin/python
|
|
USE_PYTHON= autoplist distutils
|
|
NO_ARCH= yes
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|setuptools|distutils.core|; s|share/man/man|man/man|;s|share/doc|doc|' ${WRKSRC}/${PYSETUP}
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/ranger/ext/img_display.py
|
|
|
|
.include <bsd.port.mk>
|