Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F157181114
D42185.id128703.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D42185.id128703.diff
View Options
diff --git a/devel/Makefile b/devel/Makefile
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3862,6 +3862,7 @@
SUBDIR += pam_wrapper
SUBDIR += papi
SUBDIR += papilio-loader
+ SUBDIR += paq-nvim
SUBDIR += parallel-hashmap
SUBDIR += parol
SUBDIR += parol-ls
diff --git a/devel/paq-nvim/Makefile b/devel/paq-nvim/Makefile
new file mode 100644
--- /dev/null
+++ b/devel/paq-nvim/Makefile
@@ -0,0 +1,49 @@
+PORTNAME= paq-nvim
+DISTVERSIONPREFIX= v
+DISTVERSION= 1.1.0
+CATEGORIES= devel editors
+
+MAINTAINER= agh@riseup.net
+COMMENT= Minimal Neovim plugin manager
+WWW= https://github.com/savq/paq-nvim
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
+BUILD_DEPENDS= neovim>0:editors/neovim
+RUN_DEPENDS= git>0:devel/git \
+ neovim>0:editors/neovim
+
+USE_GITHUB= yes
+GH_ACCOUNT= savq
+GH_PROJECT= ${PORTNAME}
+
+DATADIR= ${PREFIX}/share/nvim/site/pack/${PORTNAME:S|-nvim||g}/start/${PORTNAME}
+
+NO_ARCH= yes
+SUB_FILES= pkg-message
+
+OPTIONS_DEFINE= DOCS
+OPTIONS_SUB= yes
+
+DOCS_DESC= Plugin and project documentation
+
+do-build:
+ (cd ${WRKSRC} && \
+ nvim -i NONE -u NONE -e --headless -c "helptags doc" -c "quit")
+
+do-install:
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+.for DATA in doc lua
+ (cd ${WRKSRC} && \
+ ${COPYTREE_SHARE} ${DATA} ${STAGEDIR}${DATADIR})
+.endfor
+
+post-install-DOCS-on:
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+.for DOC in CONTRIBUTING README
+ ${INSTALL_DATA} ${WRKSRC}/${DOC}.md \
+ ${STAGEDIR}${DOCSDIR}
+.endfor
+
+.include <bsd.port.mk>
diff --git a/devel/paq-nvim/distinfo b/devel/paq-nvim/distinfo
new file mode 100644
--- /dev/null
+++ b/devel/paq-nvim/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1697170112
+SHA256 (savq-paq-nvim-v1.1.0_GH0.tar.gz) = cb7c313d5e26644efcaec4141ffc14a7a03fec854c4a34e809c0d885a3326347
+SIZE (savq-paq-nvim-v1.1.0_GH0.tar.gz) = 12671
diff --git a/devel/paq-nvim/files/pkg-message.in b/devel/paq-nvim/files/pkg-message.in
new file mode 100644
--- /dev/null
+++ b/devel/paq-nvim/files/pkg-message.in
@@ -0,0 +1,27 @@
+[
+{ type: install
+ message: <<EOM
+Paq for Neovim is now installed. To get started with a minimal configuration,
+add the following to your Neovim Lua config:
+
+require "pckr" {}
+
+Or, start with declaring packages:
+
+require "pckr" {
+ "user_alice/project-bar.nvim",
+ "user_bob/project-foo.nvim",
+}
+
+Commands
+:PaqInstall - Install all packages listed in your configuration.
+:PaqUpdate - Update all packages already on your system.
+:PaqClean - Remove all packages that are not listed in your configuration.
+:PaqSync - Execute the three commands listed above.
+:PaqList - List managed packages.
+
+PaqUpdate may be required upon first usage. See :help mason-quickstart, or
+:help mason.nvim for more information.
+EOM
+}
+]
diff --git a/devel/paq-nvim/pkg-descr b/devel/paq-nvim/pkg-descr
new file mode 100644
--- /dev/null
+++ b/devel/paq-nvim/pkg-descr
@@ -0,0 +1,10 @@
+Paq is a minimal, simple to use packer manager for Neovim written in Lua. Paq
+is aimed for Neovim users who make use of Lua for their configuration language.
+Paq is written to make use of existing Neovim features, and to have a simple
+and familiar interface for declaring packages.
+
+Features:
+* Can install, update, and remove any package from a valid repository
+* Utilises git(1) to fetch packages from valid Git repositories
+* Supports asynchronous updates
+* Written in Lua, configured in Lua
diff --git a/devel/paq-nvim/pkg-plist b/devel/paq-nvim/pkg-plist
new file mode 100644
--- /dev/null
+++ b/devel/paq-nvim/pkg-plist
@@ -0,0 +1,5 @@
+%%DOCS%%%%DOCSDIR%%/CONTRIBUTING.md
+%%DOCS%%%%DOCSDIR%%/README.md
+%%DATADIR%%/doc/paq-nvim.txt
+%%DATADIR%%/doc/tags
+%%DATADIR%%/lua/paq.lua
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, May 20, 2:13 AM (1 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33335179
Default Alt Text
D42185.id128703.diff (3 KB)
Attached To
Mode
D42185: devel/paq-nvim: New Port, minimal Neovim package manager
Attached
Detach File
Event Timeline
Log In to Comment