summaryrefslogtreecommitdiff
path: root/graphics/picat/Makefile
diff options
context:
space:
mode:
authorpin <pin@pkgsrc.org>2022-02-22 10:11:01 +0000
committerpin <pin@pkgsrc.org>2022-02-22 10:11:01 +0000
commit4564f71b7005801bd65a648ec2baa5502f468d0b (patch)
treef655a7c2394fab254a33ccb75fec75e20aae9d43 /graphics/picat/Makefile
parenta282ba9548467c8d484dc2d4e94dc7fd4e5e3f1d (diff)
downloadpkgsrc-4564f71b7005801bd65a648ec2baa5502f468d0b.tar.gz
graphics/picat: import package
picat - picture cat Picat converts images to sixel graphics, and outputs them to stdout. The tool achieves high quality output by making use of the libimagequant, https://pngquant.org/lib/ library for converting RGBA images to the sixel palette.
Diffstat (limited to 'graphics/picat/Makefile')
-rw-r--r--graphics/picat/Makefile21
1 files changed, 21 insertions, 0 deletions
diff --git a/graphics/picat/Makefile b/graphics/picat/Makefile
new file mode 100644
index 00000000000..794b2fcca1a
--- /dev/null
+++ b/graphics/picat/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1 2022/02/22 10:11:01 pin Exp $
+
+DISTNAME= picat-0.1.0
+CATEGORIES= graphics
+MASTER_SITES= ${MASTER_SITE_GITHUB:=SimonPersson/}
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= https://github.com/SimonPersson/picat/
+COMMENT= Converts images to sixel graphics and outputs them to stdout
+LICENSE= mit
+
+.include "cargo-depends.mk"
+
+INSTALLATION_DIRS= bin
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/target/release/picat \
+ ${DESTDIR}${PREFIX}/bin
+
+.include "../../lang/rust/cargo.mk"
+.include "../../mk/bsd.pkg.mk"