# Created by: Emanuel Haupt <ehaupt@FreeBSD.org>
# $FreeBSD: head/graphics/icat/Makefile 466288 2018-04-03 08:54:58Z ehaupt $

PORTNAME=	icat
PORTVERSION=	0.5
DISTVERSIONPREFIX=	v
CATEGORIES=	graphics

MAINTAINER=	ehaupt@FreeBSD.org
COMMENT=	Displays images in 256-color capable terminals

LICENSE=	BSD2CLAUSE

LIB_DEPENDS=	libImlib2.so:graphics/imlib2

USES=		gmake dos2unix
USE_GITHUB=	yes
GH_ACCOUNT=	atextor

CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib

PLIST_FILES=	bin/icat

CONFLICTS=	sleuthkit-[0-9]*

do-install:
	${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>
