Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147863588
D42185.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.diff
View Options
diff --git a/devel/Makefile b/devel/Makefile
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -3868,6 +3868,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,50 @@
+PORTNAME= paq-nvim
+DISTVERSIONPREFIX= v
+DISTVERSION= 2.0.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
+
+PORTDOCS= CONTRIBUTING.md README.md
+
+OPTIONS_DEFINE= DOCS
+
+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
+
+do-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 = 1698568791
+SHA256 (savq-paq-nvim-v2.0.0_GH0.tar.gz) = de54c937a33d819fb7c12a11f8d01f966de86a2a6e98e4451e30b19b9516ea0d
+SIZE (savq-paq-nvim-v2.0.0_GH0.tar.gz) = 15645
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
+To get started with a minimal configuration,
+add the following Lua to your configuration:
+
+require "paq" {}
+
+Or, start with declaring packages:
+
+require "paq" {
+ "user_alice/ucl_all_things.nvim",
+ "user_bob/nvtree_all_things.nvim",
+}
+
+Plugin commands:
+:PaqClean - Remove all packages that are not listed in your configuration.
+:PaqInstall - Install all packages listed in your configuration.
+:PaqList - List managed packages.
+:PaqSync - Execute commands PaqInstall, PaqUpdate, and PaqClean.
+:PaqUpdate - Update all packages already on your system.
+
+Upon first usage, you will have to run PaqUpdate to populate your runtime, and
+again when the Port is updated. See :help paq 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 and
+is aimed for users who make use of Lua for their configuration language.
+It 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,3 @@
+%%DATADIR%%/doc/paq-nvim.txt
+%%DATADIR%%/doc/tags
+%%DATADIR%%/lua/paq.lua
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Mar 15, 6:45 AM (5 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
29705979
Default Alt Text
D42185.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