wip/docviewer: import docviewer-0.2.0

Run the best available document viewer installed on the system.  Intended for
use mainly as a proxy application in browsers, email clients, etc. that work
with PDF attachments.  By configuring the applications to use docviewer instead
of a specific document viewer, you can avoid having to reconfigure multiple
applications when switching viewers.  Your viewer selection is configured in
one place.

WWW: https://github.com/outpaddling/docviewer
This commit is contained in:
Jason Bacon 2020-05-17 11:09:40 -05:00
parent 1366904129
commit 6a1d82c685
4 changed files with 39 additions and 0 deletions

8
docviewer/DESCR Normal file
View File

@ -0,0 +1,8 @@
Run the best available document viewer installed on the system. Intended for
use mainly as a proxy application in browsers, email clients, etc. that work
with PDF attachments. By configuring the applications to use docviewer instead
of a specific document viewer, you can avoid having to reconfigure multiple
applications when switching viewers. Your viewer selection is configured in
one place.
WWW: https://github.com/outpaddling/docviewer

22
docviewer/Makefile Normal file
View File

@ -0,0 +1,22 @@
# $NetBSD$
#
DISTNAME= docviewer-0.2.0
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=outpaddling/}
MAINTAINER= bacon@NetBSD.org
HOMEPAGE= http://acadix.biz/Ports/distfiles/
COMMENT= Generic command to automatically select a document viewer
LICENSE= 2-clause-bsd
USE_LANGUAGES= # none
NO_BUILD= yes
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/docviewer ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/docviewer.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"

3
docviewer/PLIST Normal file
View File

@ -0,0 +1,3 @@
@comment $NetBSD$
bin/docviewer
man/man1/docviewer.1

6
docviewer/distinfo Normal file
View File

@ -0,0 +1,6 @@
$NetBSD$
SHA1 (docviewer-0.2.0.tar.gz) = c7fc5f23d6b728cd641e36ebeea5116a533dfb42
RMD160 (docviewer-0.2.0.tar.gz) = 2c84b0f06800d9961676ccfb4065b957b4fe1698
SHA512 (docviewer-0.2.0.tar.gz) = 678f8196836c8c4099b8a36aca451f4da0063ed75726b57e0a50e5f82581dbbc3382d6d809f42c7fa860a1b9ab9410c2f99ab016a960da677f36267ca9842a89
Size (docviewer-0.2.0.tar.gz) = 2723 bytes