From 791f468c1409a18047971a556fc300f1ab08d675 Mon Sep 17 00:00:00 2001 From: minskim Date: Mon, 3 Aug 2009 23:45:46 +0000 Subject: [PATCH] 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). --- print/tex-listings/DESCR | 10 ++++++++++ print/tex-listings/Makefile | 19 +++++++++++++++++++ print/tex-listings/PLIST | 8 ++++++++ print/tex-listings/distinfo | 5 +++++ 4 files changed, 42 insertions(+) create mode 100644 print/tex-listings/DESCR create mode 100644 print/tex-listings/Makefile create mode 100644 print/tex-listings/PLIST create mode 100644 print/tex-listings/distinfo diff --git a/print/tex-listings/DESCR b/print/tex-listings/DESCR new file mode 100644 index 000000000000..ddca997f816c --- /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 000000000000..bb857ebdea81 --- /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 000000000000..b2175434f847 --- /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 000000000000..17d0c48da122 --- /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