summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
Diffstat (limited to 'x11')
-rw-r--r--x11/Makefile1
-rw-r--r--x11/hyprls/Makefile30
-rw-r--r--x11/hyprls/distinfo7
-rw-r--r--x11/hyprls/pkg-descr8
4 files changed, 46 insertions, 0 deletions
diff --git a/x11/Makefile b/x11/Makefile
index c94c8c79b4e5..342b35b5eea1 100644
--- a/x11/Makefile
+++ b/x11/Makefile
@@ -134,6 +134,7 @@
SUBDIR += hypridle
SUBDIR += hyprland-qtutils
SUBDIR += hyprlock
+ SUBDIR += hyprls
SUBDIR += hyprpaper
SUBDIR += hyprpicker
SUBDIR += hyprviz
diff --git a/x11/hyprls/Makefile b/x11/hyprls/Makefile
new file mode 100644
index 000000000000..0bbe3f6d224e
--- /dev/null
+++ b/x11/hyprls/Makefile
@@ -0,0 +1,30 @@
+PORTNAME= hyprls
+DISTVERSIONPREFIX= v
+DISTVERSION= 0.8.0
+CATEGORIES= x11 wayland
+
+MAINTAINER= tagattie@FreeBSD.org
+COMMENT= LSP server for Hyprland config files
+WWW= https://gwen.works/hyprls
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+USES= go:modules
+
+USE_GITHUB= nodefault
+GH_TUPLE= hyprwm:hyprland-wiki:e0ea9da1f78890ead3233cc26e6f5fd3ffc91517:hyprland_wiki/hyprland-wiki
+
+GO_MODULE= github.com/hyprland-community/hyprls
+GO_TARGET= ./cmd/hyprls
+
+PLIST_FILES= bin/${PORTNAME}
+PORTDOCS= CONTRIBUTING.md README.md
+
+OPTIONS_DEFINE= DOCS
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_MAN} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
+
+.include <bsd.port.mk>
diff --git a/x11/hyprls/distinfo b/x11/hyprls/distinfo
new file mode 100644
index 000000000000..0d9487d6fd5e
--- /dev/null
+++ b/x11/hyprls/distinfo
@@ -0,0 +1,7 @@
+TIMESTAMP = 1754980071
+SHA256 (go/x11_hyprls/hyprls-v0.8.0/v0.8.0.mod) = 143097be73aea79fff95679f4a779a0ea6049dd01408d329ef35ce315dfc345d
+SIZE (go/x11_hyprls/hyprls-v0.8.0/v0.8.0.mod) = 903
+SHA256 (go/x11_hyprls/hyprls-v0.8.0/v0.8.0.zip) = 4f56e2291aa1e52a038db3e9c32eaaf3155734ecaff74c3b664decf11df6595b
+SIZE (go/x11_hyprls/hyprls-v0.8.0/v0.8.0.zip) = 1898699
+SHA256 (go/x11_hyprls/hyprls-v0.8.0/hyprwm-hyprland-wiki-e0ea9da1f78890ead3233cc26e6f5fd3ffc91517_GH0.tar.gz) = bb14bcd9574676deeb115c5aec521440b5c631472efc1bfb504641d26a5c46a6
+SIZE (go/x11_hyprls/hyprls-v0.8.0/hyprwm-hyprland-wiki-e0ea9da1f78890ead3233cc26e6f5fd3ffc91517_GH0.tar.gz) = 415554
diff --git a/x11/hyprls/pkg-descr b/x11/hyprls/pkg-descr
new file mode 100644
index 000000000000..469c997d8693
--- /dev/null
+++ b/x11/hyprls/pkg-descr
@@ -0,0 +1,8 @@
+An LSP server for Hyprland configuration files.
+
+Features:
+- Auto-complete
+- Hover
+- Go to definition
+- Color pickers
+- Document symbols