aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2023-05-26 08:55:12 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2023-05-26 08:55:12 +0000
commit4188836f1d3e9460375a37f9f6d9abf507c59430 (patch)
tree89b1874a10dc6ac67c4eaaebe78e8b5b125e2a0d
parentc5e7ca8dcf013e44a12fd6faa9a563d230efd4de (diff)
downloadports-4188836f1d3e9460375a37f9f6d9abf507c59430.tar.gz
ports-4188836f1d3e9460375a37f9f6d9abf507c59430.zip
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.
-rw-r--r--misc/Makefile1
-rw-r--r--misc/lsix/Makefile32
-rw-r--r--misc/lsix/distinfo3
-rw-r--r--misc/lsix/pkg-descr3
4 files changed, 39 insertions, 0 deletions
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.