mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-05 11:35:01 +00:00
Add img2xterm, a program that displays images on 256 xterms using unicode
characters
This commit is contained in:
parent
661a658575
commit
cdad0b250b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=440446
@ -176,6 +176,7 @@
|
||||
SUBDIR += hotkeys
|
||||
SUBDIR += hulgalugha
|
||||
SUBDIR += imerge
|
||||
SUBDIR += img2xterm
|
||||
SUBDIR += ini_file_manager
|
||||
SUBDIR += inplace
|
||||
SUBDIR += ipa_conv
|
||||
|
26
misc/img2xterm/Makefile
Normal file
26
misc/img2xterm/Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= img2xterm
|
||||
PORTVERSION= 1.0.0
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= misc
|
||||
|
||||
MAINTAINER= arved@FreeBSD.org
|
||||
COMMENT= Display images on 256 color xterms
|
||||
|
||||
LICENSE= MIT
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
LIB_DEPENDS= libMagickWand-6.so:graphics/ImageMagick
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= kfei
|
||||
USES= gmake ncurses
|
||||
PLIST_FILES= bin/img2xterm
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/img2xterm ${STAGEDIR}${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.post.mk>
|
3
misc/img2xterm/distinfo
Normal file
3
misc/img2xterm/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
TIMESTAMP = 1494253434
|
||||
SHA256 (kfei-img2xterm-v1.0.0_GH0.tar.gz) = 9c8ef6133f8dd75f556392db4f365272816b553606d2ebd502ab666634c4c93c
|
||||
SIZE (kfei-img2xterm-v1.0.0_GH0.tar.gz) = 6186
|
22
misc/img2xterm/files/patch-Makefile
Normal file
22
misc/img2xterm/files/patch-Makefile
Normal file
@ -0,0 +1,22 @@
|
||||
--- Makefile.orig 2017-05-08 16:25:31.094039000 +0200
|
||||
+++ Makefile 2017-05-08 16:25:49.406674000 +0200
|
||||
@@ -1,19 +1,3 @@
|
||||
-PREFIX = /usr/local
|
||||
-INSTALL = install
|
||||
-LN = ln -fs
|
||||
-
|
||||
-ifeq ($(shell sh -c 'which gcc>/dev/null 2>/dev/null && echo y'), y)
|
||||
- CC = gcc
|
||||
- CFLAGS = -O2 -Wall
|
||||
- LDFLAGS = -s
|
||||
-endif
|
||||
-
|
||||
-ifeq ($(shell sh -c 'uname'), Darwin)
|
||||
- CC = clang
|
||||
- CFLAGS = -O2 -Wall
|
||||
- LDFLAGS =
|
||||
-endif
|
||||
-
|
||||
ifeq ($(shell sh -c 'which ncurses5-config>/dev/null 2>/dev/null && echo y'), y)
|
||||
DEFS =
|
||||
CFLAGS += $(shell ncurses5-config --cflags)
|
3
misc/img2xterm/pkg-descr
Normal file
3
misc/img2xterm/pkg-descr
Normal file
@ -0,0 +1,3 @@
|
||||
Display images in terminal
|
||||
|
||||
WWW: https://github.com/kfei/img2xterm
|
Loading…
x
Reference in New Issue
Block a user