summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpin <pin@pkgsrc.org>2021-07-03 10:05:54 +0000
committerpin <pin@pkgsrc.org>2021-07-03 10:05:54 +0000
commit353a0e0f11ea100dad2f2e17101b2d499217aba6 (patch)
treef7c0e3873ff0207f18d0d40ddbe5f6e7d25b638e
parentc274211a1242ba9186522be96ca72020f03fe64b (diff)
downloadpkgsrc-353a0e0f11ea100dad2f2e17101b2d499217aba6.tar.gz
graphics/lsix: import package
Like ls, but for images. Shows thumbnails in terminal using sixel graphics. Just typing lsix will show images in the current working directory. You can also specify filenames and, of course, use shell wild cards. Because lsix uses ImageMagick pretty much any image format will be supported. However, some may be slow to render (like PDF), so lsix doesn't show them unless you ask specifically.
-rw-r--r--graphics/lsix/DESCR7
-rw-r--r--graphics/lsix/Makefile23
-rw-r--r--graphics/lsix/PLIST2
-rw-r--r--graphics/lsix/distinfo6
4 files changed, 38 insertions, 0 deletions
diff --git a/graphics/lsix/DESCR b/graphics/lsix/DESCR
new file mode 100644
index 00000000000..087801d12de
--- /dev/null
+++ b/graphics/lsix/DESCR
@@ -0,0 +1,7 @@
+Like ls, but for images. Shows thumbnails in terminal using sixel graphics.
+
+Just typing lsix will show images in the current working directory.
+You can also specify filenames and, of course, use shell wild cards.
+Because lsix uses ImageMagick pretty much any image format will be supported.
+However, some may be slow to render (like PDF), so lsix doesn't show them
+unless you ask specifically.
diff --git a/graphics/lsix/Makefile b/graphics/lsix/Makefile
new file mode 100644
index 00000000000..2e130ef899d
--- /dev/null
+++ b/graphics/lsix/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2021/07/03 10:05:54 pin Exp $
+
+DISTNAME= lsix-1.7.4
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_GITHUB:=hackerb9/}
+
+MAINTAINER= pin@NetBSD.org
+HOMEPAGE= https://github.com/hackerb9/lsix/
+COMMENT= Like ls, but for images
+LICENSE= gnu-gpl-v3
+
+USE_TOOLS+= bash:run
+USE_LANGUAGES= # none
+NO_BUILD= yes
+REPLACE_BASH+= lsix
+
+INSTALLATION_DIRS= bin
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/lsix ${DESTDIR}${PREFIX}/bin/lsix
+
+.include "../../graphics/ImageMagick/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/graphics/lsix/PLIST b/graphics/lsix/PLIST
new file mode 100644
index 00000000000..1c4cf9e1498
--- /dev/null
+++ b/graphics/lsix/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2021/07/03 10:05:54 pin Exp $
+bin/lsix
diff --git a/graphics/lsix/distinfo b/graphics/lsix/distinfo
new file mode 100644
index 00000000000..9cf02e2b4bc
--- /dev/null
+++ b/graphics/lsix/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2021/07/03 10:05:54 pin Exp $
+
+SHA1 (lsix-1.7.4.tar.gz) = 86c299dd840e74390dbb30bd478504e7ae9030f7
+RMD160 (lsix-1.7.4.tar.gz) = a27bac525e44836c41d8510470a655444b1cab29
+SHA512 (lsix-1.7.4.tar.gz) = 0915e8db57ce379440816b2b3944c883916242fd4f7d65ba8e3ed73e48cd15670b701c7cb7aa710bc8316db16e5147ceace62c8021a2b20d672a70590999ea15
+Size (lsix-1.7.4.tar.gz) = 554379 bytes