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 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: <