Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Sep 2021 09:46:18 GMT
From:      Gleb Popov <arrowd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: fdc69aab7cc5 - main - devel/purescript-language-server: + Add a port.
Message-ID:  <202109200946.18K9kIi7067818@gitrepo.freebsd.org>

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

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

commit fdc69aab7cc5316cb40a98ec0d8e5df4594df74b
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2021-09-20 09:44:43 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2021-09-20 09:46:13 +0000

    devel/purescript-language-server: + Add a port.
    
    This is a Node-based implementation of LSP for the PureScript programming
    language.
---
 devel/Makefile                             |  1 +
 devel/purescript-language-server/Makefile  | 24 ++++++++++++++++++++++++
 devel/purescript-language-server/distinfo  |  3 +++
 devel/purescript-language-server/pkg-descr |  6 ++++++
 4 files changed, 34 insertions(+)

diff --git a/devel/Makefile b/devel/Makefile
index 2d2040ef26f4..02b4ec54487c 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -4064,6 +4064,7 @@
     SUBDIR += ptmalloc2
     SUBDIR += ptypes
     SUBDIR += publib
+    SUBDIR += purescript-language-server
     SUBDIR += pushmi
     SUBDIR += py-Automat
     SUBDIR += py-BTrees
diff --git a/devel/purescript-language-server/Makefile b/devel/purescript-language-server/Makefile
new file mode 100644
index 000000000000..6cb2821a3676
--- /dev/null
+++ b/devel/purescript-language-server/Makefile
@@ -0,0 +1,24 @@
+PORTNAME=	purescript-language-server
+PORTVERSION=	0.15.6
+CATEGORIES=	devel textproc
+MASTER_SITES=	https://github.com/nwolverson/${PORTNAME}/releases/download/v${PORTVERSION}/
+DISTNAME=	${PORTNAME}.js
+EXTRACT_SUFX=
+EXTRACT_ONLY=
+
+MAINTAINER=	haskell@FreeBSD.org
+COMMENT=	LSP provider implementation for PureScript language
+
+LICENSE=	MIT
+
+RUN_DEPENDS=	node:www/node
+
+NO_BUILD=	yes
+NO_ARCH=	yes
+
+PLIST_FILES=	bin/${DISTNAME}
+
+do-install:
+	${INSTALL_SCRIPT} ${DISTDIR}/${DISTNAME} ${STAGEDIR}${PREFIX}/bin/
+
+.include <bsd.port.mk>
diff --git a/devel/purescript-language-server/distinfo b/devel/purescript-language-server/distinfo
new file mode 100644
index 000000000000..676de0a16dd1
--- /dev/null
+++ b/devel/purescript-language-server/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1632127644
+SHA256 (purescript-language-server.js) = b3b677891a3118aec9b59699cf61840a73b54ea02e91d5cbe0ea63ff18085167
+SIZE (purescript-language-server.js) = 498429
diff --git a/devel/purescript-language-server/pkg-descr b/devel/purescript-language-server/pkg-descr
new file mode 100644
index 000000000000..7a7953fceda3
--- /dev/null
+++ b/devel/purescript-language-server/pkg-descr
@@ -0,0 +1,6 @@
+PureScript language server is an implementation of the LSP protocol for
+PureScript programming language. It is a Node application features type
+information, a formatting provider, code autocompletion and other common LSP
+features.
+
+WWW: https://github.com/nwolverson/purescript-language-server/



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