Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Oct 2019 18:25:19 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r513898 - in head/math: . darknet
Message-ID:  <201910061825.x96IPJib047838@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sun Oct  6 18:25:19 2019
New Revision: 513898
URL: https://svnweb.freebsd.org/changeset/ports/513898

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

Added:
  head/math/darknet/
  head/math/darknet/Makefile   (contents, props changed)
  head/math/darknet/distinfo   (contents, props changed)
  head/math/darknet/pkg-descr   (contents, props changed)
Modified:
  head/math/Makefile

Modified: head/math/Makefile
==============================================================================
--- head/math/Makefile	Sun Oct  6 18:20:28 2019	(r513897)
+++ head/math/Makefile	Sun Oct  6 18:25:19 2019	(r513898)
@@ -196,6 +196,7 @@
     SUBDIR += curv
     SUBDIR += cvc3
     SUBDIR += cvc4
+    SUBDIR += darknet
     SUBDIR += dbcsr
     SUBDIR += deal.ii
     SUBDIR += diehard

Added: head/math/darknet/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/darknet/Makefile	Sun Oct  6 18:25:19 2019	(r513898)
@@ -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>

Added: head/math/darknet/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/darknet/distinfo	Sun Oct  6 18:25:19 2019	(r513898)
@@ -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

Added: head/math/darknet/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/darknet/pkg-descr	Sun Oct  6 18:25:19 2019	(r513898)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201910061825.x96IPJib047838>