git: 440f10be936d - main - finance/lnd: New port: Lightning Network Daemon

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Mon, 11 Dec 2023 08:37:11 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=440f10be936ddbfdfd0158408604cc4926e7b493

commit 440f10be936ddbfdfd0158408604cc4926e7b493
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2023-12-11 08:36:32 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2023-12-11 08:37:01 +0000

    finance/lnd: New port: Lightning Network Daemon
---
 finance/Makefile      |  1 +
 finance/lnd/Makefile  | 22 ++++++++++++++++++++++
 finance/lnd/distinfo  |  5 +++++
 finance/lnd/pkg-descr |  3 +++
 4 files changed, 31 insertions(+)

diff --git a/finance/Makefile b/finance/Makefile
index f84962c710de..cd091675fff7 100644
--- a/finance/Makefile
+++ b/finance/Makefile
@@ -44,6 +44,7 @@
     SUBDIR += libbtc
     SUBDIR += libofx
     SUBDIR += libstocks
+    SUBDIR += lnd
     SUBDIR += moneymanagerex
     SUBDIR += myphpmoney
     SUBDIR += nextcloud-cospend
diff --git a/finance/lnd/Makefile b/finance/lnd/Makefile
new file mode 100644
index 000000000000..aadbaf6a0131
--- /dev/null
+++ b/finance/lnd/Makefile
@@ -0,0 +1,22 @@
+PORTNAME=	lnd
+DISTVERSIONPREFIX=	v
+DISTVERSION=	0.17.3-beta
+CATEGORIES=	finance
+
+MAINTAINER=	yuri@FreeBSD.org
+COMMENT=	Lightning Network Daemon
+WWW=		https://github.com/lightningnetwork/lnd
+
+LICENSE=	APACHE20
+LICENSE_FILE=	${WRKSRC}/LICENSE
+
+USES=		go:modules
+
+GO_MODULE=	github.com/lightningnetwork/lnd
+GO_TARGET=	./cmd/lnd \
+		./cmd/lncli
+
+PLIST_FILES=	bin/${PORTNAME} \
+		bin/lncli
+
+.include <bsd.port.mk>
diff --git a/finance/lnd/distinfo b/finance/lnd/distinfo
new file mode 100644
index 000000000000..4cb596dd15ee
--- /dev/null
+++ b/finance/lnd/distinfo
@@ -0,0 +1,5 @@
+TIMESTAMP = 1702280983
+SHA256 (go/finance_lnd/lnd-v0.17.3-beta/v0.17.3-beta.mod) = 4a234c48a43472f678d740d780fb6b85e4390612a6e169243b3b06bdafe5c3f7
+SIZE (go/finance_lnd/lnd-v0.17.3-beta/v0.17.3-beta.mod) = 10426
+SHA256 (go/finance_lnd/lnd-v0.17.3-beta/v0.17.3-beta.zip) = 304ff0fcee040c9439c078ee58e550c321c5c2828fc2d6e19e2b3f1d97486e0e
+SIZE (go/finance_lnd/lnd-v0.17.3-beta/v0.17.3-beta.zip) = 5083969
diff --git a/finance/lnd/pkg-descr b/finance/lnd/pkg-descr
new file mode 100644
index 000000000000..1aef78d5f35b
--- /dev/null
+++ b/finance/lnd/pkg-descr
@@ -0,0 +1,3 @@
+The Lightning Network Daemon (lnd) - is a complete implementation of a Lightning
+Network node. lnd has several pluggable back-end chain services including btcd
+(a full-node), bitcoind, and neutrino (a new experimental light client).