freebsd-ports/deskutils/terminal-image-viewer/Makefile
Piotr Kubaj cb27f8abb7 deskutils/terminal-image-viewer: fix build on GCC architectures
-lstdc++fs is necessary for GCC:
/usr/local/bin/ld: tiv.cpp:(.text.startup+0x19cc): undefined reference to `std::experimental::filesystem::v1::__cxx11::directory_iterator::operator++()'
MFH:		2020Q3 (fix build blanket)
2020-08-19 10:37:47 +00:00

32 lines
689 B
Makefile

# $FreeBSD$
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>