summaryrefslogtreecommitdiff
path: root/print/tex-texdoc
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2019-02-01 23:31:07 +0000
committermarkd <markd@pkgsrc.org>2019-02-01 23:31:07 +0000
commitaaef4b269dd9c977f5563b692a6d7afbd2b549f8 (patch)
tree6e231a63ee0c0d2199c23acc3909603723cec1c8 /print/tex-texdoc
parent42b4baf459b1f15ec2458ba7f881e77709313b3e (diff)
downloadpkgsrc-aaef4b269dd9c977f5563b692a6d7afbd2b549f8.tar.gz
tex-texdoc{,-doc}: update to 2018.47946 (3.0)
This is a big update for Texdoc since 2012! There are two big features in Texdoc 3.0. 1. New option parser Now, you can specify multiple options like: $ texdoc -vsl foo (this is equivalent to specifying "-v -s -l") Please note that the behavior of the short option "-d" have been changed. It *requires* an argument without "=", e.g.: $ texdoc -d score bar (this is equivalent to specifying "--debug=score") We added a new option "-D" as a short version of "--debug=all". Please see the help text for more details. 2. Fuzzy search When the normal search can't find any document in TeX Live, Texdoc will execute fuzzy search on the list of package names without user-interactions. The results of fuzzy search are shown by "info" message. (you can see that with the command line option "-v") The default allowance of Levenshtein distance is 5. You can change this default value by specifying "fuzzy_level" in your texdoc.cnf: fuzzy_level = 3 If "fuzzy_level" set to 0, the feature will be disabled. This update also contains several small bug fixes and improvements. One more thing (IMPORTANT for distributors): from v3.0, we won't include Data.tlpdb.lua (the pseudo cache file) in our repository. If your distribution do not ship the tlpdb, you have to pre-generate the pseudo cache file to make Texdoc workable.
Diffstat (limited to 'print/tex-texdoc')
-rw-r--r--print/tex-texdoc/Makefile11
-rw-r--r--print/tex-texdoc/PLIST7
-rw-r--r--print/tex-texdoc/distinfo10
-rw-r--r--print/tex-texdoc/options.mk24
4 files changed, 11 insertions, 41 deletions
diff --git a/print/tex-texdoc/Makefile b/print/tex-texdoc/Makefile
index 3fe01784e12..f101dc90566 100644
--- a/print/tex-texdoc/Makefile
+++ b/print/tex-texdoc/Makefile
@@ -1,20 +1,19 @@
-# $NetBSD: Makefile,v 1.10 2018/05/13 11:00:26 markd Exp $
+# $NetBSD: Makefile,v 1.11 2019/02/01 23:31:07 markd Exp $
DISTNAME= texdoc
-PKGNAME= tex-${DISTNAME}-2018
-TEXLIVE_REV= 47446
+PKGNAME= tex-${DISTNAME}-2018.47946
+TEXLIVE_REV= 47946
MAINTAINER= minskim@NetBSD.org
HOMEPAGE= http://ctan.org/pkg/texdoc
COMMENT= Documentation access for TeX distributions
-LICENSE= gnu-gpl-v3
+LICENSE= gnu-gpl-v2
REPLACE_TEXLUA= bin/texdoc
.include "../../print/texlive/package.mk"
-.include "options.mk"
-post-extract: extract-texdoctk
+post-extract:
${MKDIR} ${WRKSRC}/bin
${MV} ${WRKSRC}/texmf-dist/scripts/texdoc/texdoc.tlu \
${WRKSRC}/bin/texdoc
diff --git a/print/tex-texdoc/PLIST b/print/tex-texdoc/PLIST
index 79f889dd5b9..1e7bd95236c 100644
--- a/print/tex-texdoc/PLIST
+++ b/print/tex-texdoc/PLIST
@@ -1,7 +1,5 @@
-@comment $NetBSD: PLIST,v 1.4 2017/06/21 13:25:34 markd Exp $
+@comment $NetBSD: PLIST,v 1.5 2019/02/01 23:31:07 markd Exp $
bin/texdoc
-${PLIST.x11}bin/texdoctk
-share/texmf-dist/scripts/texdoc/Data.tlpdb.lua
share/texmf-dist/scripts/texdoc/alias.tlu
share/texmf-dist/scripts/texdoc/config.tlu
share/texmf-dist/scripts/texdoc/constants.tlu
@@ -12,6 +10,3 @@ share/texmf-dist/scripts/texdoc/search.tlu
share/texmf-dist/scripts/texdoc/texdoclib.tlu
share/texmf-dist/scripts/texdoc/view.tlu
share/texmf-dist/texdoc/texdoc.cnf
-share/texmf-dist/texdoctk/texdocrc-win32.defaults
-share/texmf-dist/texdoctk/texdocrc.defaults
-share/texmf-dist/texdoctk/texdoctk.dat
diff --git a/print/tex-texdoc/distinfo b/print/tex-texdoc/distinfo
index 51767c0631d..c6204dc146c 100644
--- a/print/tex-texdoc/distinfo
+++ b/print/tex-texdoc/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.6 2018/05/13 11:00:26 markd Exp $
+$NetBSD: distinfo,v 1.7 2019/02/01 23:31:07 markd Exp $
-SHA1 (tex-texdoc-47446/texdoc.tar.xz) = f24683197783a9daad576323b70b0235e366eca0
-RMD160 (tex-texdoc-47446/texdoc.tar.xz) = cccb763d59275c0f804b98536131a7c031cd2ff4
-SHA512 (tex-texdoc-47446/texdoc.tar.xz) = ae3d12565f4ae2c04dd3b45594594e926ca537460526a6069bf05fa2eb7c790f3fbb7fcf5fd617aa35557f6edf04cdceca607dec8b777bebb52db039ac6764cd
-Size (tex-texdoc-47446/texdoc.tar.xz) = 221440 bytes
+SHA1 (tex-texdoc-47946/texdoc.tar.xz) = 3b5f90f35256f7649cfca5a77cc957426f8f0d51
+RMD160 (tex-texdoc-47946/texdoc.tar.xz) = ae5daf97026faae30dd8555a3c80b135661c9ca8
+SHA512 (tex-texdoc-47946/texdoc.tar.xz) = c8e25291eb8928534f6d79f13bc35d6be7b207a27083d2d2bae4bb31f6a79cc8941f45f057472cf7c4298602452cee9b6f3f0264849d4daf6accffd73ed2edd7
+Size (tex-texdoc-47946/texdoc.tar.xz) = 25560 bytes
diff --git a/print/tex-texdoc/options.mk b/print/tex-texdoc/options.mk
deleted file mode 100644
index ba4fe9ee0f7..00000000000
--- a/print/tex-texdoc/options.mk
+++ /dev/null
@@ -1,24 +0,0 @@
-# $NetBSD: options.mk,v 1.2 2013/11/17 17:13:29 minskim Exp $
-
-PKG_OPTIONS_VAR= PKG_OPTIONS.tex-texdoc
-PKG_SUPPORTED_OPTIONS+= x11
-PKG_SUGGESTED_OPTIONS+= x11
-
-.include "../../mk/bsd.options.mk"
-
-PLIST_VARS+= x11
-.if !empty(PKG_OPTIONS:Mx11)
-DEPENDS+= p5-Tk-[0-9]*:../../x11/p5-Tk
-
-PLIST.x11= yes
-REPLACE_PERL= bin/texdoctk
-
-extract-texdoctk:
- ${MKDIR} ${WRKSRC}/bin
- ${MV} ${WRKSRC}/texmf-dist/scripts/texdoctk/texdoctk.pl \
- ${WRKSRC}/bin/texdoctk
- ${RMDIR} ${WRKSRC}/texmf-dist/scripts/texdoctk
-.else
-extract-texdoctk:
- ${RM} -rf ${WRKSRC}/texmf-dist/scripts/texdoctk
-.endif