From a58002bb366a2d9c89895e8c2d216433d54b85d3 Mon Sep 17 00:00:00 2001 From: jwise Date: Wed, 10 Mar 1999 17:03:13 +0000 Subject: Initial import of lgrind-3.5, a document pretty-printer for LaTeX. --- print/lgrind/Makefile | 29 +++++++++++++++++++++++++++++ print/lgrind/patches/patch-aa | 20 ++++++++++++++++++++ print/lgrind/patches/patch-ab | 42 ++++++++++++++++++++++++++++++++++++++++++ print/lgrind/patches/patch-ac | 23 +++++++++++++++++++++++ print/lgrind/pkg/COMMENT | 1 + print/lgrind/pkg/DESCR | 3 +++ print/lgrind/pkg/PLIST | 8 ++++++++ 7 files changed, 126 insertions(+) create mode 100644 print/lgrind/Makefile create mode 100644 print/lgrind/patches/patch-aa create mode 100644 print/lgrind/patches/patch-ab create mode 100644 print/lgrind/patches/patch-ac create mode 100644 print/lgrind/pkg/COMMENT create mode 100644 print/lgrind/pkg/DESCR create mode 100644 print/lgrind/pkg/PLIST (limited to 'print/lgrind') diff --git a/print/lgrind/Makefile b/print/lgrind/Makefile new file mode 100644 index 00000000000..a74da6bb169 --- /dev/null +++ b/print/lgrind/Makefile @@ -0,0 +1,29 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/03/10 17:03:13 jwise Exp $ + +DISTNAME= lgrind +PKGNAME= lgrind-3.5 +CATEGORIES= print +MASTER_SITES= ${MASTER_SITE_LOCAL} +EXTRACT_SUFX= .tar.bz2 + +MAINTAINER= jwise@netbsd.org + +DEPENDS= teTeX-*:../../print/teTeX + +MIRROR_DISTFILE=no +WRKSRC= ${WRKDIR}/lgrind/source +NO_CONFIGURE= yes + +pre-build: + (cd ${WRKSRC}/.. ; ${PREFIX}/bin/latex lgrind.ins) + (cd ${WRKSRC}/.. ; ${PREFIX}/bin/latex lgrind.dtx) + ${MV} ${WRKSRC}/lgrind.1 ${WRKSRC}/lgrind.1.bak + ${MV} ${WRKSRC}/lgrindef.5 ${WRKSRC}/lgrindef.5.bak + ${SED} -e 's,@PREFIX@,${PREFIX},g' < ${WRKSRC}/lgrind.1.bak > ${WRKSRC}/lgrind.1 + ${SED} -e 's,@PREFIX@,${PREFIX},g' < ${WRKSRC}/lgrindef.5.bak > ${WRKSRC}/lgrindef.5 + +pre-install: + -mkdir ${PREFIX}/share/texmf/tex/latex/lgrind + -mkdir ${PREFIX}/share/texmf/doc/latex/lgrind + +.include <../../mk/bsd.pkg.mk> diff --git a/print/lgrind/patches/patch-aa b/print/lgrind/patches/patch-aa new file mode 100644 index 00000000000..3ba8cd8cbec --- /dev/null +++ b/print/lgrind/patches/patch-aa @@ -0,0 +1,20 @@ +$NetBSD: patch-aa,v 1.1.1.1 1999/03/10 17:03:13 jwise Exp $ +--- Makefile.orig Tue Aug 4 05:02:14 1998 ++++ Makefile Mon Mar 8 16:42:46 1999 +@@ -3,13 +3,13 @@ + # $Id: patch-aa,v 1.1.1.1 1999/03/10 17:03:13 jwise Exp $ + + # You will almost certainly want to change these +-BASEDIR=/usr/TeX +-DESTDIR=${BASEDIR}/bin ++BASEDIR=${PREFIX}/share ++DESTDIR=${PREFIX}/bin + #DEFSFILE=/home/mike/LGrind/lgrindef + DEFSFILE=${BASEDIR}/texmf/tex/latex/lgrind/lgrindef + TEXINPUTS=${BASEDIR}/texmf/tex/latex/lgrind + DOC=${BASEDIR}/texmf/doc/latex/lgrind +-MAN=${BASEDIR}/man ++MAN=${PREFIX}/man + + CC=gcc + INSTALL=install diff --git a/print/lgrind/patches/patch-ab b/print/lgrind/patches/patch-ab new file mode 100644 index 00000000000..9700f12657b --- /dev/null +++ b/print/lgrind/patches/patch-ab @@ -0,0 +1,42 @@ +$NetBSD: patch-ab,v 1.1.1.1 1999/03/10 17:03:13 jwise Exp $ +--- lgrind.1.orig Tue Mar 9 13:20:17 1999 ++++ lgrind.1 Tue Mar 9 13:21:38 1999 +@@ -43,7 +43,7 @@ + specifies text to go into the header. + .IP "\fB\-d\fP" + specifies the language definitions file (default is +-\fB/usr/TeX/texmf/tex/latex/lgrind/lgrindef\fP). ++\fB@PREFIX@/share/texmf/tex/latex/lgrind/lgrindef\fP). + .IP "\fB\-d!\fP" + same as above, but do it for now and the future. + .IP "\fB\-l\fP" +@@ -85,7 +85,7 @@ + headers and footers. + .PP + For a more detailed explanation of these commands, refer to +-\fC/usr/TeX/texmf/doc/latex/lgrind.dvi\fP. ++\fC@PREFIX@/share/texmf/doc/latex/lgrind.dvi\fP. + .PP + .SH "EMBEDDED PROGRAMS WITHIN A LaTeX FILE" + (From Jerry Leichter's notes.) +@@ -202,16 +202,16 @@ + Doing a \fIreally\fP good job would require defining some special fonts. + .PP + .SH FILES +-.IP "\fC/usr/TeX/bin/lgrind\fP" ++.IP "\fC@PREFIX@/bin/lgrind\fP" + Executable + .PP +-.IP "\fC/usr/TeX/texmf/doc/latex/lgrind/lgrind.dvi\fP" ++.IP "\fC@PREFIX@/share/texmf/doc/latex/lgrind/lgrind.dvi\fP" + Documentation + .PP +-.IP "\fC/usr/TeX/texmf/tex/latex/lgrind/lgrind.sty\fP" ++.IP "\fC@PREFIX@/share/texmf/tex/latex/lgrind/lgrind.sty\fP" + LaTeX style file + .PP +-.IP "\fC/usr/TeX/texmf/tex/latex/lgrind/lgrindef\fP" ++.IP "\fC@PREFIX@/share/texmf/tex/latex/lgrind/lgrindef\fP" + Language descriptions + .PP + .SH AUTHOR diff --git a/print/lgrind/patches/patch-ac b/print/lgrind/patches/patch-ac new file mode 100644 index 00000000000..cef928bf89a --- /dev/null +++ b/print/lgrind/patches/patch-ac @@ -0,0 +1,23 @@ +$NetBSD: patch-ac,v 1.1.1.1 1999/03/10 17:03:13 jwise Exp $ +--- lgrindef.5.orig Tue Mar 9 13:22:25 1999 ++++ lgrindef.5 Tue Mar 9 13:23:12 1999 +@@ -17,7 +17,7 @@ + This man page is not yet much outdated, but might be soon except somebody + asks me to work on it. Consider the LaTeX docs the real docs. + .SH SYNOPSIS +-.B /usr/TeX/texmf/tex/latex/lgrind/lgrindef ++.B @PREFIX@/share/texmf/tex/latex/lgrind/lgrindef + .SH DESCRIPTION + .IX "lgrindef file" "" "\fLlgrindef\fP \(em LGrind language definitions" + .B lgrindef +@@ -237,8 +237,8 @@ + .BR lgrind (1) + as `c' or `C', since case is not significant here. + .SH FILES +-.ta \w'/usr/TeX/texmf/tex/latex/lgrind/lgrindef 'u +-\fB/usr/TeX/texmf/tex/latex/lgrind/lgrindef\fR file containing terminal descriptions ++.ta \w'@PREFIX@/share/texmf/tex/latex/lgrind/lgrindef 'u ++\fB@PREFIX@/share/texmf/tex/latex/lgrind/lgrindef\fR file containing terminal descriptions + .SH "SEE ALSO" + .BR latex (1), + .BR lgrind (1), diff --git a/print/lgrind/pkg/COMMENT b/print/lgrind/pkg/COMMENT new file mode 100644 index 00000000000..3c697dba441 --- /dev/null +++ b/print/lgrind/pkg/COMMENT @@ -0,0 +1 @@ +A source pretty printer for LaTeX diff --git a/print/lgrind/pkg/DESCR b/print/lgrind/pkg/DESCR new file mode 100644 index 00000000000..106c7f27e08 --- /dev/null +++ b/print/lgrind/pkg/DESCR @@ -0,0 +1,3 @@ +The LGRIND package is a pretty printer for source code. It evolved from +vgrind, supported TeX (in the tgrind package), LaTeX, and now LaTeX2e, +in particular NFSS. diff --git a/print/lgrind/pkg/PLIST b/print/lgrind/pkg/PLIST new file mode 100644 index 00000000000..feea000b0dd --- /dev/null +++ b/print/lgrind/pkg/PLIST @@ -0,0 +1,8 @@ +bin/lgrind +share/texmf/tex/latex/lgrind/lgrindef +share/texmf/doc/latex/lgrind/lgrind.dvi +share/texmf/tex/latex/lgrind/lgrind.sty +man/man1/lgrind.1 +man/man5/lgrindef.5 +@dirrm share/texmf/tex/latex/lgrind +@dirrm share/texmf/doc/latex/lgrind -- cgit v1.2.3