Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Aug 2024 05:09:37 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 235f681183ca - main - devel/ollama-hpp: New port: Modern, Header-only C++ bindings for the Ollama API
Message-ID:  <202408210509.47L59b3F019839@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=235f681183cae1640042dfb6ab77cbe8b4159f46

commit 235f681183cae1640042dfb6ab77cbe8b4159f46
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-08-21 03:43:38 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-08-21 05:09:31 +0000

    devel/ollama-hpp: New port: Modern, Header-only C++ bindings for the Ollama API
---
 devel/Makefile             |  1 +
 devel/ollama-hpp/Makefile  | 24 ++++++++++++++++++++++++
 devel/ollama-hpp/distinfo  |  3 +++
 devel/ollama-hpp/pkg-descr |  4 ++++
 4 files changed, 32 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 2211b7a3aba2..fd23aff137af 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -1790,6 +1790,7 @@
     SUBDIR += ode
     SUBDIR += ois
     SUBDIR += okteta
+    SUBDIR += ollama-hpp
     SUBDIR += omake
     SUBDIR += omniORB
     SUBDIR += omnilinter
diff --git a/devel/ollama-hpp/Makefile b/devel/ollama-hpp/Makefile
new file mode 100644
index 000000000000..b334bf01b367
--- /dev/null
+++ b/devel/ollama-hpp/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	ollama-hpp
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.9.4
+CATEGORIES=	devel # machine learning
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Modern, Header-only C++ bindings for the Ollama API
+WWW=		https://github.com/kongaskristjan/fire-hpp
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USE_GITHUB=	yes
+GH_ACCOUNT=	jmont-dev
+
+NO_BUILD=	yes
+NO_ARCH=	yes
+
+PLIST_FILES=	include/ollama.hpp
+
+do-install:
+	${INSTALL_DATA} ${WRKSRC}/singleheader/ollama.hpp ${STAGEDIR}${PREFIX}/include
+
+.include <bsd.port.mk>
diff --git a/devel/ollama-hpp/distinfo b/devel/ollama-hpp/distinfo
new file mode 100644
index 000000000000..31508444bb42
--- /dev/null
+++ b/devel/ollama-hpp/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1724211616
+SHA256 (jmont-dev-ollama-hpp-v0.9.4_GH0.tar.gz) = 4c38dbf0713b9e3659c6247282f720a03883322e31126fe10e4976e036b20bd0
+SIZE (jmont-dev-ollama-hpp-v0.9.4_GH0.tar.gz) = 2968182
diff --git a/devel/ollama-hpp/pkg-descr b/devel/ollama-hpp/pkg-descr
new file mode 100644
index 000000000000..ab624c0a01f1
--- /dev/null
+++ b/devel/ollama-hpp/pkg-descr
@@ -0,0 +1,4 @@
+ollama-hpp is a modern, header-only C++11/14/20 bindings for the Ollama API.
+
+It allows to access the full power of local language models in C++ with just
+a few lines of code.



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