summaryrefslogtreecommitdiff
path: root/deskutils/terminal-image-viewer/Makefile
blob: 53917970ca260b33324709be9affcca3389064ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

PORTNAME=	terminal-image-viewer
DISTVERSIONPREFIX=	v
DISTVERSION=	1.1.0
CATEGORIES=	deskutils

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Display images in terminals using RGB ANSI codes & unicode characters

LICENSE=	APACHE20
LICENSE_FILE=	${WRKSRC}/../../../LICENSE

RUN_DEPENDS=	GraphicsMagick>0:graphics/GraphicsMagick

USES=		compiler:c++17-lang gmake
USE_GITHUB=	yes
GH_ACCOUNT=	stefanhaustein
GH_PROJECT=	TerminalImageViewer

MAKE_ARGS=	INSTALL_PROGRAM="${INSTALL_PROGRAM}"
WRKSRC_SUBDIR=	src/main/cpp

PLIST_FILES=	bin/tiv

.include <bsd.port.pre.mk>

.if ${CHOSEN_COMPILER_TYPE} == clang
EXTRA_PATCHES=	${FILESDIR}/extra-patch-Makefile
.endif

.include <bsd.port.post.mk>