Files
2026-10-04 04:07:15 +00:00

39 lines
1020 B
Makefile

PORTNAME= nn-insight
DISTVERSION= 1.0.7
PORTREVISION= 17
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
CMAKE_ARGS+= -DENABLE_NATIVE_OPTIMIZATIONS:BOOL=OFF
CMAKE_ARGS+= -DCMAKE_POLICY_VERSION_MINIMUM=3.5
.include <bsd.port.mk>