1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

New port: math/darknet: Open source neural networks in C

This commit is contained in:
Yuri Victorovich 2019-10-06 18:25:19 +00:00
parent c8e1620689
commit bbc7901e66
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=513898
4 changed files with 45 additions and 0 deletions

View File

@ -196,6 +196,7 @@
SUBDIR += curv
SUBDIR += cvc3
SUBDIR += cvc4
SUBDIR += darknet
SUBDIR += dbcsr
SUBDIR += deal.ii
SUBDIR += diehard

37
math/darknet/Makefile Normal file
View File

@ -0,0 +1,37 @@
# $FreeBSD$
PORTNAME= darknet
DISTVERSIONPREFIX= v
DISTVERSION= 0.4-1614
DISTVERSIONSUFFIX= -gd703fb4e
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= Open source neural networks in C
LICENSE= PD
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= gmake
USE_GITHUB= yes
GH_ACCOUNT= pjreddie
GH_TAGNAME= 61c9d02
USE_LDCONFIG= yes
MAKE_ARGS= OPTS=-O3
BINARY_ALIAS= gcc=${CC} g++=${CXX}
PLIST_FILES= bin/darknet \
include/darknet.h \
lib/libdarknet.a \
lib/libdarknet.so
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/darknet ${STAGEDIR}${PREFIX}/bin
cd ${WRKSRC} && ${COPYTREE_SHARE} include ${STAGEDIR}${PREFIX}
${INSTALL_DATA} ${WRKSRC}/libdarknet.so ${STAGEDIR}${PREFIX}/lib
${INSTALL_DATA} ${WRKSRC}/libdarknet.a ${STAGEDIR}${PREFIX}/lib
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libdarknet.so
.include <bsd.port.mk>

3
math/darknet/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1570384516
SHA256 (pjreddie-darknet-v0.4-1614-gd703fb4e-61c9d02_GH0.tar.gz) = 36ddd0271b8fa7dbd96829834d491971c88165c89369cfbb4f47daad15c10759
SIZE (pjreddie-darknet-v0.4-1614-gd703fb4e-61c9d02_GH0.tar.gz) = 3341016

4
math/darknet/pkg-descr Normal file
View File

@ -0,0 +1,4 @@
Darknet is an open source neural network framework written in C and CUDA. It is
fast, easy to install, and supports CPU and GPU computation.
WWW: https://pjreddie.com/darknet/