Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 May 2017 18:40:07 +0000 (UTC)
From:      Tilman Keskinoz <arved@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r440446 - in head/misc: . img2xterm img2xterm/files
Message-ID:  <201705081840.v48Ie7Ej078130@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: arved
Date: Mon May  8 18:40:07 2017
New Revision: 440446
URL: https://svnweb.freebsd.org/changeset/ports/440446

Log:
  Add img2xterm, a program that displays images on 256 xterms using unicode
  characters

Added:
  head/misc/img2xterm/
  head/misc/img2xterm/Makefile   (contents, props changed)
  head/misc/img2xterm/distinfo   (contents, props changed)
  head/misc/img2xterm/files/
  head/misc/img2xterm/files/patch-Makefile   (contents, props changed)
  head/misc/img2xterm/pkg-descr   (contents, props changed)
Modified:
  head/misc/Makefile

Modified: head/misc/Makefile
==============================================================================
--- head/misc/Makefile	Mon May  8 18:27:24 2017	(r440445)
+++ head/misc/Makefile	Mon May  8 18:40:07 2017	(r440446)
@@ -176,6 +176,7 @@
     SUBDIR += hotkeys
     SUBDIR += hulgalugha
     SUBDIR += imerge
+    SUBDIR += img2xterm
     SUBDIR += ini_file_manager
     SUBDIR += inplace
     SUBDIR += ipa_conv

Added: head/misc/img2xterm/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/img2xterm/Makefile	Mon May  8 18:40:07 2017	(r440446)
@@ -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>

Added: head/misc/img2xterm/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/img2xterm/distinfo	Mon May  8 18:40:07 2017	(r440446)
@@ -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

Added: head/misc/img2xterm/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/img2xterm/files/patch-Makefile	Mon May  8 18:40:07 2017	(r440446)
@@ -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)

Added: head/misc/img2xterm/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/misc/img2xterm/pkg-descr	Mon May  8 18:40:07 2017	(r440446)
@@ -0,0 +1,3 @@
+Display images in terminal
+
+WWW: https://github.com/kfei/img2xterm



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705081840.v48Ie7Ej078130>