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