pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
lesspipe: Import lesspipe-2.18 as wip/lesspipe
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Sun May 11 21:35:44 2025 +0200
Changeset: e59d2c6b9941576e070643cbda3369470411584c
Added Files:
lesspipe/DESCR
lesspipe/Makefile
lesspipe/PLIST
lesspipe/distinfo
Log Message:
lesspipe: Import lesspipe-2.18 as wip/lesspipe
lesspipe.sh is an input filter for the pager less as described in
less's man page. The script runs as a bash or zsh script and allows you
to view files with binary content, compressed files, archives and files
contained in archives. It supports many formats (both as plain and
compressed files using gzip, bzip2 and other pack programs).
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e59d2c6b9941576e070643cbda3369470411584c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
lesspipe/DESCR | 5 +++++
lesspipe/Makefile | 37 +++++++++++++++++++++++++++++++++++++
lesspipe/PLIST | 10 ++++++++++
lesspipe/distinfo | 5 +++++
4 files changed, 57 insertions(+)
diffs:
diff --git a/lesspipe/DESCR b/lesspipe/DESCR
new file mode 100644
index 0000000000..62ad42a164
--- /dev/null
+++ b/lesspipe/DESCR
@@ -0,0 +1,5 @@
+lesspipe.sh is an input filter for the pager less as described in
+less's man page. The script runs as a bash or zsh script and allows you
+to view files with binary content, compressed files, archives and files
+contained in archives. It supports many formats (both as plain and
+compressed files using gzip, bzip2 and other pack programs).
diff --git a/lesspipe/Makefile b/lesspipe/Makefile
new file mode 100644
index 0000000000..fc53adecda
--- /dev/null
+++ b/lesspipe/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD$
+
+DISTNAME= lesspipe-2.18
+CATEGORIES= misc
+MASTER_SITES= https://www-zeuthen.desy.de/~friebel/unix/less/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://www-zeuthen.desy.de/~friebel/unix/less/
+COMMENT= Displaying more with less
+LICENSE= gnu-gpl-v2
+
+USE_TOOLS+= bash:run perl:run
+
+REPLACE_BASH+= lesscomplete lesspipe.sh
+REPLACE_PERL+= archive_color code2color sxw2txt vimcolor
+
+USE_LANGUAGES= # none
+
+do-configure:
+ # nothing
+
+do-build:
+ # nothing
+
+do-install:
+ ${INSTALL_MAN_DIR} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/bash-completion
+ ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/zsh/site-functions
+ ${INSTALL_SCRIPT_DIR} ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/lesspipe.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/lesspipe.1
+ ${INSTALL_DATA} ${WRKSRC}/less_completion ${DESTDIR}${PREFIX}/share/bash-completion/less_completion
+ ${INSTALL_DATA} ${WRKSRC}/_less ${DESTDIR}${PREFIX}/share/zsh/site-functions
+.for f in archive_color code2color lesscomplete lesspipe.sh sxw2txt vimcolor
+ ${INSTALL_SCRIPT} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/bin/${i}
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/lesspipe/PLIST b/lesspipe/PLIST
new file mode 100644
index 0000000000..fccb338d32
--- /dev/null
+++ b/lesspipe/PLIST
@@ -0,0 +1,10 @@
+@comment $NetBSD$
+bin/archive_color
+bin/code2color
+bin/lesscomplete
+bin/lesspipe.sh
+bin/sxw2txt
+bin/vimcolor
+man/man1/lesspipe.1
+share/bash-completion/less_completion
+share/zsh/site-functions/_less
diff --git a/lesspipe/distinfo b/lesspipe/distinfo
new file mode 100644
index 0000000000..34214b5fb9
--- /dev/null
+++ b/lesspipe/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (lesspipe-2.18.tar.gz) = 0cab16be32d54e2928d399dcc8f64101c12db70565b3fcfa2eb59b4d0ba1f2a3
+SHA512 (lesspipe-2.18.tar.gz) = c1f966460090f8a4b1022eadb7380f0e5c56306fecad4ef39dd971683291105fca05bb8adeed9772e75fc417587b7e869e5b98725e46c6b69cdfe5c5f06b0003
+Size (lesspipe-2.18.tar.gz) = 175489 bytes
Home |
Main Index |
Thread Index |
Old Index