From owner-svn-ports-head@freebsd.org Mon Sep 28 20:16:02 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 29A6542ABE2; Mon, 28 Sep 2020 20:16:02 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C0YgQ0Nyfz3X9V; Mon, 28 Sep 2020 20:16:02 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E34BD233A3; Mon, 28 Sep 2020 20:16:01 +0000 (UTC) (envelope-from 0mp@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 08SKG1t8066898; Mon, 28 Sep 2020 20:16:01 GMT (envelope-from 0mp@FreeBSD.org) Received: (from 0mp@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 08SKG0Wn066893; Mon, 28 Sep 2020 20:16:00 GMT (envelope-from 0mp@FreeBSD.org) Message-Id: <202009282016.08SKG0Wn066893@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: 0mp set sender to 0mp@FreeBSD.org using -f From: Mateusz Piotrowski <0mp@FreeBSD.org> Date: Mon, 28 Sep 2020 20:16:00 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r550447 - in head/textproc: . wikiman X-SVN-Group: ports-head X-SVN-Commit-Author: 0mp X-SVN-Commit-Paths: in head/textproc: . wikiman X-SVN-Commit-Revision: 550447 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Sep 2020 20:16:02 -0000 Author: 0mp Date: Mon Sep 28 20:16:00 2020 New Revision: 550447 URL: https://svnweb.freebsd.org/changeset/ports/550447 Log: Add textproc/wikiman Wikiman is an offline search engine for manual pages, Arch Wiki, Gentoo Wiki and other documentation. Wikiman provides an easy interface for browsing documentation without the need to be exact and connected to the internet. This is achieved by utilizing full text search for wikis, partial name and description matching for man pages, and fuzzy filtering for search results. WWW: https://github.com/filiparag/wikiman PR: 249134 Submitted by: Filip Parag Added: head/textproc/wikiman/ head/textproc/wikiman/Makefile (contents, props changed) head/textproc/wikiman/distinfo (contents, props changed) head/textproc/wikiman/pkg-descr (contents, props changed) head/textproc/wikiman/pkg-plist (contents, props changed) Modified: head/textproc/Makefile Modified: head/textproc/Makefile ============================================================================== --- head/textproc/Makefile Mon Sep 28 20:15:10 2020 (r550446) +++ head/textproc/Makefile Mon Sep 28 20:16:00 2020 (r550447) @@ -1814,6 +1814,7 @@ SUBDIR += website SUBDIR += weka SUBDIR += wiggle + SUBDIR += wikiman SUBDIR += word2x SUBDIR += wordnet SUBDIR += words Added: head/textproc/wikiman/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/wikiman/Makefile Mon Sep 28 20:16:00 2020 (r550447) @@ -0,0 +1,67 @@ +# Created by: Filip Parag +# $FreeBSD$ + +PORTNAME= wikiman +DISTVERSION= 2.12.1 +CATEGORIES= textproc + +MAINTAINER= filip@parag.rs +COMMENT= Offline interactive documentation search + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= findutils>4:misc/findutils \ + fzf>0.2:textproc/fzf \ + gawk>5:lang/gawk \ + ripgrep>12:textproc/ripgrep \ + w3m>0.5:www/w3m + +USE_GITHUB= yes +GH_ACCOUNT= filiparag + +NO_ARCH= yes + +OPTIONS_DEFINE= BASH CONFIG DOCS FISH WDGTS ZSH +OPTIONS_DEFAULT= BASH CONFIG DOCS FISH WDGTS ZSH +OPTIONS_SUB= yes +CONFIG_DESC= Global configuration file +WDGTS_DESC= Shell keybind widgets +BASH_PLIST_FILES= etc/bash_completion.d/wikiman-completion.bash +FISH_PLIST_FILES= share/fish/completions/wikiman.fish +ZSH_PLIST_FILES= share/zsh/site-functions/_wikiman + +do-install: + ${INSTALL_SCRIPT} ${WRKSRC}/wikiman.sh ${STAGEDIR}${PREFIX}/bin/wikiman + + @${MKDIR} ${STAGEDIR}${DATADIR}/sources + (cd ${WRKSRC}/sources && ${COPYTREE_BIN} . ${STAGEDIR}${DATADIR}/sources) + + ${INSTALL_MAN} ${WRKSRC}/wikiman.1.man ${STAGEDIR}${MANPREFIX}/share/man/man1/wikiman.1 + +do-install-BASH-on: + @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d + ${INSTALL_DATA} ${WRKSRC}/completions/completions.bash \ + ${STAGEDIR}${PREFIX}/etc/bash_completion.d/wikiman-completion.bash + +do-install-CONFIG-on: + @${MKDIR} ${STAGEDIR}${PREFIX}/etc + ${INSTALL_DATA} ${WRKSRC}/wikiman.conf ${STAGEDIR}${PREFIX}/etc/wikiman.conf.sample + +do-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR} + +do-install-FISH-on: + @${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/completions + ${INSTALL_DATA} ${WRKSRC}/completions/completions.fish ${STAGEDIR}${PREFIX}/share/fish/completions/wikiman.fish + +do-install-WDGTS-on: + @${MKDIR} ${STAGEDIR}${DATADIR}/widgets + (cd ${WRKSRC}/widgets && ${COPYTREE_BIN} . ${STAGEDIR}${DATADIR}/widgets) + +do-install-ZSH-on: + @${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions + ${INSTALL_DATA} ${WRKSRC}/completions/completions.zsh ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_wikiman + +.include Added: head/textproc/wikiman/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/wikiman/distinfo Mon Sep 28 20:16:00 2020 (r550447) @@ -0,0 +1,3 @@ +TIMESTAMP = 1601299087 +SHA256 (filiparag-wikiman-2.12.1_GH0.tar.gz) = d22e6525c8702e36d94dabd596b59b4abe8ff45ed2a18c3f2c4fb0ca2c5814d5 +SIZE (filiparag-wikiman-2.12.1_GH0.tar.gz) = 1373487 Added: head/textproc/wikiman/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/wikiman/pkg-descr Mon Sep 28 20:16:00 2020 (r550447) @@ -0,0 +1,9 @@ +Wikiman is an offline search engine for manual pages, Arch Wiki, Gentoo Wiki and +other documentation. + +Wikiman provides an easy interface for browsing documentation without the need +to be exact and connected to the internet. This is achieved by utilizing full +text search for wikis, partial name and description matching for man pages, +and fuzzy filtering for search results. + +WWW: https://github.com/filiparag/wikiman Added: head/textproc/wikiman/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/textproc/wikiman/pkg-plist Mon Sep 28 20:16:00 2020 (r550447) @@ -0,0 +1,12 @@ +bin/wikiman +share/man/man1/wikiman.1.gz +%%DATADIR%%/sources/arch.sh +%%DATADIR%%/sources/fbsd.sh +%%DATADIR%%/sources/gentoo.sh +%%DATADIR%%/sources/man.sh +%%DATADIR%%/sources/tldr.sh +@sample %%CONFIG%%etc/wikiman.conf.sample +%%DOCS%%%%PORTDOCS%%%%DOCSDIR%%/README.md +%%WDGTS%%%%DATADIR%%/widgets/widget.bash +%%WDGTS%%%%DATADIR%%/widgets/widget.fish +%%WDGTS%%%%DATADIR%%/widgets/widget.zsh