aboutsummaryrefslogtreecommitdiff
path: root/misc/nn-insight/Makefile
blob: 2b3dcac735d865aacde4c71917fc13ef863534d1 (plain) (blame)
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
32
33
34
35
PORTNAME=	nn-insight
DISTVERSION=	1.0.7
PORTREVISION=	10
CATEGORIES=	misc # machine-learning

MAINTAINER=	yuri@FreeBSD.org
COMMENT=	Neural network visualization software
WWW=		https://github.com/yurivict/nn-insight

LICENSE=	BSD3CLAUSE
LICENSE_FILE=	${WRKSRC}/LICENSE

BUILD_DEPENDS=	avir>0:graphics/avir \
		${LOCALBASE}/include/exprtk.hpp:math/exprtk \
		flatc:devel/flatbuffers \
		half>0:math/half \
		nlohmann-json>0:devel/nlohmann-json \
		png++>0:graphics/png++
LIB_DEPENDS=	libcgraph.so:graphics/graphviz \
		libpng.so:graphics/png \
		libQCustomPlot-qt5.so:graphics/qcustomplot@qt5 \
		libtcmalloc.so:devel/google-perftools

USES=		compiler:c++17-lang cmake pkgconfig qt:5
USE_QT=		core gui svg widgets buildtools:build qmake:build

USE_GITHUB=	yes
GH_ACCOUNT=	yurivict

PLIST_FILES=	bin/nn-insight \
		libexec/nn-insight/tf-lite-plugin.so

PORTSCOUT=	limit:^.*[1-9]\. # prevent hashes

.include <bsd.port.mk>