git: 4188836f1d3e - main - misc/lsix: new port had been added (+)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 26 May 2023 08:56:47 UTC
The branch main has been updated by danfe:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4188836f1d3e9460375a37f9f6d9abf507c59430
commit 4188836f1d3e9460375a37f9f6d9abf507c59430
Author: Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2023-05-26 08:55:12 +0000
Commit: Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2023-05-26 08:55:12 +0000
misc/lsix: new port had been added (+)
This small program is like ls(1), but for images: it shows
their thumbnails in the terminal using DEC SIXEL graphics.
---
misc/Makefile | 1 +
misc/lsix/Makefile | 32 ++++++++++++++++++++++++++++++++
misc/lsix/distinfo | 3 +++
misc/lsix/pkg-descr | 3 +++
4 files changed, 39 insertions(+)
diff --git a/misc/Makefile b/misc/Makefile
index 16f377651edf..8c05866b6585 100644
--- a/misc/Makefile
+++ b/misc/Makefile
@@ -246,6 +246,7 @@
SUBDIR += localedata
SUBDIR += logsurfer
SUBDIR += lscolors
+ SUBDIR += lsix
SUBDIR += lv
SUBDIR += lxde-common
SUBDIR += lxi-tools
diff --git a/misc/lsix/Makefile b/misc/lsix/Makefile
new file mode 100644
index 000000000000..389957f1828c
--- /dev/null
+++ b/misc/lsix/Makefile
@@ -0,0 +1,32 @@
+PORTNAME= lsix
+PORTVERSION= 1.8
+CATEGORIES= misc
+
+MAINTAINER= danfe@FreeBSD.org
+COMMENT= List files with thumbnails using Sixel graphics
+WWW= https://github.com/hackerb9/lsix
+
+LICENSE= GPLv3+ MIT
+LICENSE_COMB= dual
+
+RUN_DEPENDS= bash:shells/bash
+
+USES= magick:run
+USE_GITHUB= yes
+GH_ACCOUNT= hackerb9
+
+NO_BUILD= yes
+
+PLIST_FILES= bin/${PORTNAME}
+PORTDOCS= *
+
+OPTIONS_DEFINE= DOCS
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${CP} -a ${WRKSRC}/README.md* ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/misc/lsix/distinfo b/misc/lsix/distinfo
new file mode 100644
index 000000000000..f4cd038bdffa
--- /dev/null
+++ b/misc/lsix/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1629436537
+SHA256 (hackerb9-lsix-1.8_GH0.tar.gz) = f19b0456abb72e203fa20edeb568883d4fe9c0e9555c6752644f313a6811f98e
+SIZE (hackerb9-lsix-1.8_GH0.tar.gz) = 554423
diff --git a/misc/lsix/pkg-descr b/misc/lsix/pkg-descr
new file mode 100644
index 000000000000..db213a90c78e
--- /dev/null
+++ b/misc/lsix/pkg-descr
@@ -0,0 +1,3 @@
+This program is like ls(1), but for images: it shows thumbnails in
+terminal using DEC SIXEL graphics. It uses ImageMagick, so pretty
+much any image format will be supported.