Absolute paths fixed in ranger man page.
authornahra <nahra@unseen.is>
Thu, 3 Nov 2016 22:20:29 +0000 (22:20 +0000)
committernahra <nahra@unseen.is>
Thu, 3 Nov 2016 22:20:29 +0000 (22:20 +0000)
TODO file added to py-ranger directory.

py-ranger/Makefile
py-ranger/TODO [new file with mode: 0644]

index fc7d2cf654a9f518c5be2dd3401c6cd30b9db39c..d1e7534041da3c68a7ba6c952d3a711cbbc4ade7 100644 (file)
@@ -18,10 +18,17 @@ CHECK_PORTABILITY_SKIP+=    examples/rifle_sxiv.sh
 
 SUBST_CLASSES+=                install
 SUBST_STAGE.install=   pre-install
-SUBST_MESSAGE.install= correcting installation path
+SUBST_MESSAGE.install= Fixing installation path.
 SUBST_FILES.install=   ${WRKSRC}/setup.py
 SUBST_SED.install=     -e 's,share/man,man,g'
 
+SUBST_CLASSES+=                        fix-paths
+SUBST_STAGE.fix-paths=         pre-configure
+SUBST_MESSAGE.fix-paths=       Fixing absolute paths.
+SUBST_FILES.fix-paths=         ${WRKSRC}/doc/ranger.1
+SUBST_SED.fix-paths=           -e 's,/usr/share,/usr/pkg/share,g'
+SUBST_SED.fix-paths+=          -e 's,/usr/lib,/usr/pkg/libexec,g'
+
 REPLACE_PYTHON+=       .py     */*.py  */*/*.py        */*/*.py
 
 USE_LANGUAGES= # none
@@ -29,6 +36,4 @@ USE_LANGUAGES=        # none
 .include       "../../lang/python/distutils.mk"
 .include       "../../lang/python/application.mk"
 
-USE_LANGUAGES= # none
-
 .include "../../mk/bsd.pkg.mk"
diff --git a/py-ranger/TODO b/py-ranger/TODO
new file mode 100644 (file)
index 0000000..9cc6b78
--- /dev/null
@@ -0,0 +1,17 @@
+Add optional features:
+
+" The "file" program for determining file types
+The python module "chardet", in case of encoding detection problems
+"sudo" to use the "run as root"-feature
+w3m for the "w3mimgdisplay" program to preview images
+Optional, for enhanced file previews (with "scope.sh"):
+
+img2txt (from caca-utils) for ASCII-art image previews
+highlight or pygmentize for syntax highlighting of code
+atool, acat, bsdtar and/or unrar for previews of archives
+lynx, w3m or elinks for previews of html pages
+pdftotext for pdf previews
+transmission-show for viewing bit-torrent information
+mediainfo or exiftool for viewing information about media files
+odt2txt for OpenDocument text files (odt, ods, odp and sxw)"
+