summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorminskim <minskim>2009-08-03 23:45:46 +0000
committerminskim <minskim>2009-08-03 23:45:46 +0000
commit397bcd60af7d422056d9ffdad88d9369cfb2f0dc (patch)
tree9f0ccf7671355b7fe5819f5500dac51e39428c4d /print
parent8a6fc960710798f32f66e8637414d32f433f4b72 (diff)
downloadpkgsrc-397bcd60af7d422056d9ffdad88d9369cfb2f0dc.tar.gz
Import tex-listings-1.4 as print/tex-listings.
Typeset programs (programming code) within LaTeX. The source code is read directly by TeX. Keywords, comments and strings can be typeset using different styles (default is bold for keywords, italic for comments and no special style for strings). Includes support for hyperref. To use, simply \usepackage{listings}, identify the language with \lstset{language=Python}, then employ the \begin{lstlisting} ... \end{lstlisting} environment or the \lstinputlisting{filename.py} command. Short (in-line) listings are also available, using either \lstinline|...| or | ... | (after defining the | token with the \lstMakeShortInline command).
Diffstat (limited to 'print')
-rw-r--r--print/tex-listings/DESCR10
-rw-r--r--print/tex-listings/Makefile19
-rw-r--r--print/tex-listings/PLIST8
-rw-r--r--print/tex-listings/distinfo5
4 files changed, 42 insertions, 0 deletions
diff --git a/print/tex-listings/DESCR b/print/tex-listings/DESCR
new file mode 100644
index 00000000000..ddca997f816
--- /dev/null
+++ b/print/tex-listings/DESCR
@@ -0,0 +1,10 @@
+Typeset programs (programming code) within LaTeX. The source code is
+read directly by TeX. Keywords, comments and strings can be typeset
+using different styles (default is bold for keywords, italic for
+comments and no special style for strings). Includes support for
+hyperref. To use, simply \usepackage{listings}, identify the language
+with \lstset{language=Python}, then employ the \begin{lstlisting} ...
+\end{lstlisting} environment or the \lstinputlisting{filename.py}
+command. Short (in-line) listings are also available, using either
+\lstinline|...| or | ... | (after defining the | token with the
+\lstMakeShortInline command).
diff --git a/print/tex-listings/Makefile b/print/tex-listings/Makefile
new file mode 100644
index 00000000000..bb857ebdea8
--- /dev/null
+++ b/print/tex-listings/Makefile
@@ -0,0 +1,19 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/08/03 23:45:46 minskim Exp $
+# TeX Live Revision 8662
+
+DISTNAME= listings
+PKGNAME= tex-${DISTNAME}-1.4
+
+MAINTAINER= minskim@NetBSD.org
+COMMENT= Typeset source code listings using LaTeX
+
+CONFLICTS+= teTeX-texmf<=3.0nb20
+DEPENDS+= tex-algorithms-[0-9]*:../../print/tex-algorithms
+DEPENDS+= tex-fancyvrb-[0-9]*:../../print/tex-fancyvrb
+DEPENDS+= tex-graphics-[0-9]*:../../print/tex-graphics
+DEPENDS+= tex-hyperref-[0-9]*:../../print/tex-hyperref
+DEPENDS+= tex-latex-[0-9]*:../../print/tex-latex
+DEPENDS+= tex-ltxmisc-[0-9]*:../../print/tex-ltxmisc
+
+.include "../../print/texlive/module.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/print/tex-listings/PLIST b/print/tex-listings/PLIST
new file mode 100644
index 00000000000..b2175434f84
--- /dev/null
+++ b/print/tex-listings/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/08/03 23:45:46 minskim Exp $
+share/texmf-dist/tex/latex/listings/listings.cfg
+share/texmf-dist/tex/latex/listings/listings.sty
+share/texmf-dist/tex/latex/listings/lstdoc.sty
+share/texmf-dist/tex/latex/listings/lstlang1.sty
+share/texmf-dist/tex/latex/listings/lstlang2.sty
+share/texmf-dist/tex/latex/listings/lstlang3.sty
+share/texmf-dist/tex/latex/listings/lstmisc.sty
diff --git a/print/tex-listings/distinfo b/print/tex-listings/distinfo
new file mode 100644
index 00000000000..17d0c48da12
--- /dev/null
+++ b/print/tex-listings/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/08/03 23:45:46 minskim Exp $
+
+SHA1 (tex-listings-1.4/listings.tar.lzma) = 3c6afa9a0a502748167d7c96a2ab2739b8221406
+RMD160 (tex-listings-1.4/listings.tar.lzma) = 01259320f455ce7a048d5610eb299dd023b7f47c
+Size (tex-listings-1.4/listings.tar.lzma) = 113014 bytes