mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-08 06:48:28 +00:00
38 lines
972 B
Makefile
38 lines
972 B
Makefile
PORTNAME= nn-insight
|
|
DISTVERSION= 1.0.7
|
|
PORTREVISION= 11
|
|
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
|
|
|
|
.include <bsd.port.mk>
|