Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

9
textproc/rubber/DESCR Normal file
View File

@@ -0,0 +1,9 @@
Rubber is a building system for LaTeX documents.
It is based on a routine that runs just as many compilations as necessary. The
module system provides a great flexibility that virtually allows support for
any package with no user intervention, as well as pre- and post-processing of
the document. The standard modules currently provide support for bibtex,
dvips, dvipdfm, pdftex, makeindex. A good number of standard packages are
supported, including graphics/graphicx (with automatic conversion between
various formats and Metapost compilation).

31
textproc/rubber/Makefile Normal file
View File

@@ -0,0 +1,31 @@
# $NetBSD: Makefile,v 1.26 2012/10/25 06:56:55 asau Exp $
#
DISTNAME= rubber-1.1
PKGREVISION= 5
CATEGORIES= textproc
MASTER_SITES= http://ebeffara.free.fr/pub/
MAINTAINER= tonio@NetBSD.org
HOMEPAGE= https://launchpad.net/rubber
COMMENT= Automated system for building LaTeX documents
DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
USE_TOOLS+= makeinfo
USE_PKGLOCALEDIR= yes
HAS_CONFIGURE= yes
INFO_FILES= yes
TEXINFO_REQD= 4.6
CONFIGURE_ARGS+= --python=${PYTHONBIN:Q}
CONFIGURE_ARGS+= --prefix=${PREFIX:Q}
CONFIGURE_ARGS+= --datadir=${PREFIX:Q}/share
CONFIGURE_ARGS+= --mandir=${PREFIX:Q}/${PKGMANDIR:Q}
CONFIGURE_ARGS+= --infodir=${PREFIX:Q}/${PKGINFODIR:Q}
PLIST_SUBST+= RUBBERVERSUFFIX=${PKGVERSION_NOREV}
PLIST_SUBST+= PYVERSSUFFIX=${PYVERSSUFFIX}
.include "../../lang/python/application.mk"
.include "../../mk/bsd.pkg.mk"

95
textproc/rubber/PLIST Normal file
View File

@@ -0,0 +1,95 @@
@comment $NetBSD: PLIST,v 1.8 2010/03/12 10:30:04 tonio Exp $
bin/rubber
bin/rubber-info
bin/rubber-pipe
info/rubber.info
man/fr/man1/rubber-info.1
man/fr/man1/rubber-pipe.1
man/fr/man1/rubber.1
man/man1/rubber-info.1
man/man1/rubber-pipe.1
man/man1/rubber.1
share/rubber/modules/aleph.rub
share/rubber/modules/beamer.rub
share/rubber/modules/etex.rub
share/rubber/modules/hyperref.rub
share/rubber/modules/minitoc-hyper.rub
share/rubber/modules/ntheroem.rub
share/rubber/modules/omega.rub
share/rubber/modules/revtex4.rub
share/rubber/rubber-${RUBBERVERSUFFIX}-py${PYVERSSUFFIX}.egg-info
share/rubber/rubber/__init__.py
share/rubber/rubber/__init__.pyc
share/rubber/rubber/cmd_info.py
share/rubber/rubber/cmd_info.pyc
share/rubber/rubber/cmd_pipe.py
share/rubber/rubber/cmd_pipe.pyc
share/rubber/rubber/cmdline.py
share/rubber/rubber/cmdline.pyc
share/rubber/rubber/rules/__init__.py
share/rubber/rubber/rules/__init__.pyc
share/rubber/rubber/rules/cweb.py
share/rubber/rubber/rules/cweb.pyc
share/rubber/rubber/rules/eps_gz.py
share/rubber/rubber/rules/eps_gz.pyc
share/rubber/rubber/rules/fig2dev.py
share/rubber/rubber/rules/fig2dev.pyc
share/rubber/rubber/rules/latex/__init__.py
share/rubber/rubber/rules/latex/__init__.pyc
share/rubber/rubber/rules/latex/bibtex.py
share/rubber/rubber/rules/latex/bibtex.pyc
share/rubber/rubber/rules/latex/combine.py
share/rubber/rubber/rules/latex/combine.pyc
share/rubber/rubber/rules/latex/dvipdfm.py
share/rubber/rubber/rules/latex/dvipdfm.pyc
share/rubber/rubber/rules/latex/dvips.py
share/rubber/rubber/rules/latex/dvips.pyc
share/rubber/rubber/rules/latex/epsfig.py
share/rubber/rubber/rules/latex/epsfig.pyc
share/rubber/rubber/rules/latex/expand.py
share/rubber/rubber/rules/latex/expand.pyc
share/rubber/rubber/rules/latex/graphics.py
share/rubber/rubber/rules/latex/graphics.pyc
share/rubber/rubber/rules/latex/graphicx.py
share/rubber/rubber/rules/latex/graphicx.pyc
share/rubber/rubber/rules/latex/gz.py
share/rubber/rubber/rules/latex/gz.pyc
share/rubber/rubber/rules/latex/import.py
share/rubber/rubber/rules/latex/import.pyc
share/rubber/rubber/rules/latex/index.py
share/rubber/rubber/rules/latex/index.pyc
share/rubber/rubber/rules/latex/listings.py
share/rubber/rubber/rules/latex/listings.pyc
share/rubber/rubber/rules/latex/makeidx.py
share/rubber/rubber/rules/latex/makeidx.pyc
share/rubber/rubber/rules/latex/minitoc.py
share/rubber/rubber/rules/latex/minitoc.pyc
share/rubber/rubber/rules/latex/moreverb.py
share/rubber/rubber/rules/latex/moreverb.pyc
share/rubber/rubber/rules/latex/multibib.py
share/rubber/rubber/rules/latex/multibib.pyc
share/rubber/rubber/rules/latex/natbib.py
share/rubber/rubber/rules/latex/natbib.pyc
share/rubber/rubber/rules/latex/pdftex.py
share/rubber/rubber/rules/latex/pdftex.pyc
share/rubber/rubber/rules/latex/ps2pdf.py
share/rubber/rubber/rules/latex/ps2pdf.pyc
share/rubber/rubber/rules/latex/verbatim.py
share/rubber/rubber/rules/latex/verbatim.pyc
share/rubber/rubber/rules/latex/vt100.py
share/rubber/rubber/rules/latex/vt100.pyc
share/rubber/rubber/rules/latex/vtex.py
share/rubber/rubber/rules/latex/vtex.pyc
share/rubber/rubber/rules/latex/xr.py
share/rubber/rubber/rules/latex/xr.pyc
share/rubber/rubber/rules/lhs2TeX.py
share/rubber/rubber/rules/lhs2TeX.pyc
share/rubber/rubber/rules/mpost.py
share/rubber/rubber/rules/mpost.pyc
share/rubber/rubber/rules/shell.py
share/rubber/rubber/rules/shell.pyc
share/rubber/rubber/util.py
share/rubber/rubber/util.pyc
share/rubber/rubber/version.py
share/rubber/rubber/version.pyc
share/rubber/rules.ini

9
textproc/rubber/distinfo Normal file
View File

@@ -0,0 +1,9 @@
$NetBSD: distinfo,v 1.7 2010/03/12 10:30:04 tonio Exp $
SHA1 (rubber-1.1.tar.gz) = c1693bb6f4534a72479a40cda68212879a761fea
RMD160 (rubber-1.1.tar.gz) = 7c44106210c64ab51b0b894ef03c3672c2fe298f
Size (rubber-1.1.tar.gz) = 83795 bytes
SHA1 (patch-aa) = 13063478ceac61e64375773084e824f5b4471f2d
SHA1 (patch-ab) = c08d45cd49a93a269f0ba80f5fd46d1a105c158d
SHA1 (patch-ac) = e3db85a2bd2ef942322eaf1a45497c5a0f9bb1d8
SHA1 (patch-ad) = 81f82de45e6be75ae62c4972c6b4d2392882239c

View File

@@ -0,0 +1,21 @@
$NetBSD: patch-aa,v 1.1.1.1 2005/01/16 17:58:02 cube Exp $
--- configure.orig 2004-03-17 14:27:24.000000000 +0100
+++ configure
@@ -65,6 +65,8 @@ done
### Check that we can install the program.
+# I'm telling you to use $python, _not_ to be "smart".
+if false; then
if test -z "$python"; then
for cmd in python2.2 python2 python; do
if which $cmd > /dev/null 2>&1; then
@@ -100,6 +102,7 @@ EOF
fi
python=`which $python`
+fi
$python setup.py check || exit 1

View File

@@ -0,0 +1,32 @@
$NetBSD: patch-ab,v 1.3 2006/06/01 09:09:52 tonio Exp $
--- src/rules/latex/graphics.py.orig 2006-06-01 10:54:11.000000000 +0200
+++ src/rules/latex/graphics.py
@@ -70,7 +70,7 @@ class Module (rubber.rules.latex.Module)
doc.add_hook("DeclareGraphicsExtensions", self.declareExtensions)
doc.add_hook("DeclareGraphicsRule", self.declareRule)
- self.prefixes = map(lambda x: join(x, ""), doc.env.path)
+ self.prefixes = []
self.files = []
# I take dvips as the default, but it is not portable.
@@ -130,7 +130,8 @@ class Module (rubber.rules.latex.Module)
return 0
return 1
- d = self.env.convert(name, suffixes=suffixes, prefixes=self.prefixes,
+ d = self.env.convert(name, suffixes=suffixes,
+ prefixes=self.prefixes+[join(x,"") for x in self.env.path],
check=check, pos=dict["pos"])
if d:
@@ -211,7 +212,7 @@ class Module (rubber.rules.latex.Module)
suffixes, and return either the complete path to the actual file or
None if the file is not found.
"""
- for prefix in self.prefixes:
+ for prefix in self.prefixes+[join(x,"") for x in self.env.path]:
test = prefix + name
if exists(test):
return test

View File

@@ -0,0 +1,27 @@
$NetBSD: patch-ac,v 1.2 2010/03/12 10:30:04 tonio Exp $
Add support for import
--- /dev/null 2006-06-01 10:55:34.000000000 +0200
+++ src/rules/latex/import.py
@@ -0,0 +1,20 @@
+"""
+Support for package 'import' in Rubber.
+"""
+
+from os.path import basename
+import re
+import rubber
+
+re_ipath = re.compile("{(?P<prefix>[^{}]*)}")
+class Module (rubber.rules.latex.Module):
+ def __init__ (self, doc, dict):
+ self.doc = doc
+ doc.add_hook("import", self.import_doc)
+
+ def import_doc (self, dict):
+ if not dict["arg"]:
+ return 0
+ self.doc.env.path.append(dict["arg"])
+ m = re_ipath.match(dict["line"])
+ self.doc.input_file(m.group("prefix") + ".tex")

View File

@@ -0,0 +1,16 @@
$NetBSD: patch-ad,v 1.1 2010/03/12 10:30:04 tonio Exp $
Enable destdir
--- setup.py.orig 2006-03-17 13:51:18.000000000 +0000
+++ setup.py
@@ -182,7 +182,8 @@ It will be installed in the following di
sys.argv = sys.argv + [
"--prefix", sub["prefix"],
"--install-lib", expand_vars(sub, sub["moddir"]),
- "--install-scripts", expand_vars(sub, sub["bindir"])]
+ "--install-scripts", expand_vars(sub, sub["bindir"]),
+ "--root", os.environ.get("DESTDIR","/")]
sys.argv[1] = "install"
do_setup()
else: