pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Absolute paths fixed in ranger man page. TODO file added to py-ranger directory.



Module Name:	pkgsrc-wip
Committed By:	nahra <nahra%unseen.is@localhost>
Pushed By:	nahra
Date:		Thu Nov 3 22:20:29 2016 +0000
Changeset:	caefefeca8c10e1123854437c9b3b10dd3047ae8

Modified Files:
	py-ranger/Makefile
Added Files:
	py-ranger/TODO

Log Message:
Absolute paths fixed in ranger man page.
TODO file added to py-ranger directory.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=caefefeca8c10e1123854437c9b3b10dd3047ae8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-ranger/Makefile | 11 ++++++++---
 py-ranger/TODO     | 17 +++++++++++++++++
 2 files changed, 25 insertions(+), 3 deletions(-)

diffs:
diff --git a/py-ranger/Makefile b/py-ranger/Makefile
index fc7d2cf..d1e7534 100644
--- a/py-ranger/Makefile
+++ b/py-ranger/Makefile
@@ -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
index 0000000..9cc6b78
--- /dev/null
+++ b/py-ranger/TODO
@@ -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)"
+


Home | Main Index | Thread Index | Old Index