use texmf-local as the other latex ports do
regen patches fix a format warning ok maintainer espie@
This commit is contained in:
parent
0346317c5f
commit
0bd4d4759d
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.11 2003/11/15 15:12:53 sturm Exp $
|
||||
# $OpenBSD: Makefile,v 1.12 2004/04/11 19:12:24 sturm Exp $
|
||||
|
||||
COMMENT= "LaTeX vgrind(1) look-alike"
|
||||
|
||||
@ -28,7 +28,7 @@ MASTER_SITES= ${MASTER_SITE_TEX_CTAN:=support/lgrind/}
|
||||
DIST_SUBDIR= ${DISTNAME}
|
||||
|
||||
MAKE_FLAGS= BASEDIR=${PREFIX} \
|
||||
DEFSFILE=${PREFIX}/share/texmf/tex/latex/lgrind/lgrindef \
|
||||
DEFSFILE=${TEXMF}/tex/latex/lgrind/lgrindef \
|
||||
VERSION=${VERSION} \
|
||||
CC='${CC}' CFLAGS='${CFLAGS}'
|
||||
FAKE_FLAGS= BASEDIR=${WRKINST}${PREFIX}
|
||||
@ -36,6 +36,8 @@ FAKE_FLAGS= BASEDIR=${WRKINST}${PREFIX}
|
||||
BUILD_DEPENDS= :teTeX_base-*:print/teTeX/base
|
||||
RUN_DEPENDS= ${BUILD_DEPENDS}
|
||||
|
||||
TEXMF= ${PREFIX}/share/texmf-local
|
||||
|
||||
post-build:
|
||||
cd ${WRKDIST} && latex lgrind.ins
|
||||
cd ${WRKDIST} && latex lgrind.dtx
|
||||
@ -44,10 +46,10 @@ post-build:
|
||||
NO_REGRESS= Yes
|
||||
|
||||
post-install:
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/texmf/tex/latex/lgrind
|
||||
${INSTALL_DATA} ${WRKDIST}/lgrindef ${PREFIX}/share/texmf/tex/latex/lgrind
|
||||
${INSTALL_DATA} ${WRKDIST}/lgrind.sty ${PREFIX}/share/texmf/tex/latex/lgrind
|
||||
${INSTALL_DATA_DIR} ${PREFIX}/share/texmf/doc/latex/lgrind
|
||||
${INSTALL_DATA} ${WRKDIST}/lgrind.dvi ${PREFIX}/share/texmf/doc/latex/lgrind
|
||||
${INSTALL_DATA_DIR} ${TEXMF}/tex/latex/lgrind
|
||||
${INSTALL_DATA} ${WRKDIST}/lgrindef ${TEXMF}/tex/latex/lgrind
|
||||
${INSTALL_DATA} ${WRKDIST}/lgrind.sty ${TEXMF}/tex/latex/lgrind
|
||||
${INSTALL_DATA_DIR} ${TEXMF}/doc/latex/lgrind
|
||||
${INSTALL_DATA} ${WRKDIST}/lgrind.dvi ${TEXMF}/doc/latex/lgrind
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,25 +1,25 @@
|
||||
$OpenBSD: patch-lgrind_1,v 1.1.1.1 2000/12/04 22:47:50 espie Exp $
|
||||
--- lgrind.1.orig Mon Dec 4 23:44:30 2000
|
||||
+++ lgrind.1 Mon Dec 4 23:45:10 2000
|
||||
@@ -43,7 +43,7 @@ change tab width (default 8).
|
||||
$OpenBSD: patch-lgrind_1,v 1.2 2004/04/11 19:12:24 sturm Exp $
|
||||
--- lgrind.1.orig 2004-04-11 20:38:29.000000000 +0200
|
||||
+++ lgrind.1 2004-04-11 20:38:29.000000000 +0200
|
||||
@@ -44,7 +44,7 @@ change tab width (default 8).
|
||||
specifies text to go into the header.
|
||||
.IP "\fB\-d\fP"
|
||||
specifies the language definitions file (default is
|
||||
-\fB/usr/lib/texmf/tex/latex/lgrind/lgrindef\fP).
|
||||
+\fB/usr/local/share/texmf/tex/latex/lgrind/lgrindef\fP).
|
||||
+\fB/usr/local/share/texmf-local/tex/latex/lgrind/lgrindef\fP).
|
||||
.IP "\fB\-d!\fP"
|
||||
same as above, but write patched executable.
|
||||
.IP "\fB\-l\fP"
|
||||
@@ -85,7 +85,7 @@ This uses Piet van Oostrum's \fCfancyhdr
|
||||
@@ -86,7 +86,7 @@ This uses Piet van Oostrum's \fCfancyhdr
|
||||
headers and footers.
|
||||
.PP
|
||||
For a more detailed explanation of these commands, refer to
|
||||
-\fC/usr/TeX/texmf/doc/latex/lgrind.dvi\fP.
|
||||
+\fC/usr/local/share/texmf/doc/latex/lgrind.dvi\fP.
|
||||
+\fC/usr/local/share/texmf-local/doc/latex/lgrind.dvi\fP.
|
||||
.PP
|
||||
.SH "EMBEDDED PROGRAMS WITHIN A LaTeX FILE"
|
||||
(From Jerry Leichter's notes.)
|
||||
@@ -197,16 +197,16 @@ that looks reasonable to me, though I ca
|
||||
@@ -198,16 +198,16 @@ that looks reasonable to me, though I ca
|
||||
Doing a \fIreally\fP good job would require defining some special fonts.
|
||||
.PP
|
||||
.SH FILES
|
||||
@ -28,15 +28,15 @@ $OpenBSD: patch-lgrind_1,v 1.1.1.1 2000/12/04 22:47:50 espie Exp $
|
||||
Executable
|
||||
.PP
|
||||
-.IP "\fC/usr/doc/lgrind/lgrind.dvi\fP"
|
||||
+.IP "\fC/usr/local/share/texmf/doc/latex/lgrind/lgrind.dvi\fP"
|
||||
+.IP "\fC/usr/local/share/texmf-local/doc/latex/lgrind/lgrind.dvi\fP"
|
||||
Documentation
|
||||
.PP
|
||||
-.IP "\fC/usr/lib/texmf/tex/latex/lgrind/lgrind.sty\fP"
|
||||
+.IP "\fC/usr/local/share/texmf/tex/latex/lgrind/lgrind.sty\fP"
|
||||
+.IP "\fC/usr/local/share/texmf-local/tex/latex/lgrind/lgrind.sty\fP"
|
||||
LaTeX style file
|
||||
.PP
|
||||
-.IP "\fC/usr/lib/texmf/tex/latex/lgrind/lgrindef\fP"
|
||||
+.IP "\fC/usr/local/share/texmf/tex/latex/lgrind/lgrindef\fP"
|
||||
+.IP "\fC/usr/local/share/texmf-local/tex/latex/lgrind/lgrindef\fP"
|
||||
Language descriptions
|
||||
.PP
|
||||
.SH AUTHORS
|
||||
|
13
textproc/lgrind/patches/patch-lgrind_c
Normal file
13
textproc/lgrind/patches/patch-lgrind_c
Normal file
@ -0,0 +1,13 @@
|
||||
$OpenBSD: patch-lgrind_c,v 1.1 2004/04/11 19:12:24 sturm Exp $
|
||||
--- lgrind.c.orig 2004-04-11 20:39:57.000000000 +0200
|
||||
+++ lgrind.c 2004-04-11 20:40:28.000000000 +0200
|
||||
@@ -516,7 +516,8 @@ int main(int argc, char **argv)
|
||||
printf("\\File{");
|
||||
putstr(fname);
|
||||
printf("}{%d}{%d}{%d}{%d:%02d}{%ld}\n", modtime.tm_year+1900, modtime.tm_mon+1,
|
||||
- modtime.tm_mday, modtime.tm_hour, modtime.tm_min, stbuf.st_size);
|
||||
+ modtime.tm_mday, modtime.tm_hour, modtime.tm_min,
|
||||
+ (long)stbuf.st_size);
|
||||
}
|
||||
|
||||
code = FALSE;
|
@ -1,7 +1,7 @@
|
||||
$OpenBSD: patch-lgrindef,v 1.1.1.1 2000/12/04 22:47:50 espie Exp $
|
||||
--- lgrindef.orig Mon Dec 4 23:16:25 2000
|
||||
+++ lgrindef Mon Dec 4 23:16:58 2000
|
||||
@@ -762,7 +762,6 @@ firstpreamble:\
|
||||
$OpenBSD: patch-lgrindef,v 1.2 2004/04/11 19:12:24 sturm Exp $
|
||||
--- lgrindef.orig 2004-04-11 20:38:29.000000000 +0200
|
||||
+++ lgrindef 2004-04-11 20:38:29.000000000 +0200
|
||||
@@ -823,7 +823,6 @@ firstpreamble:\
|
||||
\\documentclass[a4paper,twoside]{article}\n\
|
||||
\\usepackage[procnames,noindent]{lgrind}\n\
|
||||
\\usepackage{fancyhdr,a4wide}\n\
|
||||
@ -9,7 +9,7 @@ $OpenBSD: patch-lgrindef,v 1.1.1.1 2000/12/04 22:47:50 espie Exp $
|
||||
\\usepackage{makeidx}\n\
|
||||
\\pagestyle{fancy}\n\n\
|
||||
\\makeindex\n\n\
|
||||
@@ -771,7 +770,7 @@ firstpreamble:\
|
||||
@@ -832,7 +831,7 @@ firstpreamble:\
|
||||
# postamble to put at the very end of a stand-alone listing
|
||||
postamble:\
|
||||
\\printindex\n\
|
||||
|
@ -1,4 +1,4 @@
|
||||
$OpenBSD: patch-lgrindef_5,v 1.1.1.1 2000/12/04 22:47:50 espie Exp $
|
||||
$OpenBSD: patch-lgrindef_5,v 1.2 2004/04/11 19:12:24 sturm Exp $
|
||||
--- lgrindef.5.orig Mon Dec 4 23:45:28 2000
|
||||
+++ lgrindef.5 Mon Dec 4 23:45:46 2000
|
||||
@@ -237,8 +237,8 @@ Thus the C language could be specified t
|
||||
@ -7,8 +7,8 @@ $OpenBSD: patch-lgrindef_5,v 1.1.1.1 2000/12/04 22:47:50 espie Exp $
|
||||
.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'/usr/local/share/texmf/tex/latex/lgrind/lgrindef 'u
|
||||
+\fB/usr/local/share/texmf/tex/latex/lgrind/lgrindef\fR file containing terminal descriptions
|
||||
+.ta \w'/usr/local/share/texmf-local/tex/latex/lgrind/lgrindef 'u
|
||||
+\fB/usr/local/share/texmf-local/tex/latex/lgrind/lgrindef\fR file containing terminal descriptions
|
||||
.SH "SEE ALSO"
|
||||
.BR latex (1),
|
||||
.BR lgrind (1),
|
||||
|
@ -1,11 +1,16 @@
|
||||
@comment $OpenBSD: PLIST,v 1.1.1.1 2000/12/04 22:47:50 espie Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.2 2004/04/11 19:12:25 sturm Exp $
|
||||
bin/lgrind
|
||||
man/man1/lgrind.1
|
||||
man/man5/lgrindef.5
|
||||
share/texmf/tex/latex/lgrind/lgrindef
|
||||
share/texmf/doc/latex/lgrind/lgrind.dvi
|
||||
share/texmf/tex/latex/lgrind/lgrind.sty
|
||||
@dirrm share/texmf/tex/latex/lgrind
|
||||
@dirrm share/texmf/doc/latex/lgrind
|
||||
share/texmf-local/doc/latex/lgrind/lgrind.dvi
|
||||
share/texmf-local/tex/latex/lgrind/lgrind.sty
|
||||
share/texmf-local/tex/latex/lgrind/lgrindef
|
||||
@dirrm share/texmf-local/tex/latex/lgrind
|
||||
@dirrm share/texmf-local/tex/latex
|
||||
@dirrm share/texmf-local/tex
|
||||
@dirrm share/texmf-local/doc/latex/lgrind
|
||||
@dirrm share/texmf-local/doc/latex
|
||||
@dirrm share/texmf-local/doc
|
||||
@dirrm share/texmf-local
|
||||
@exec TEXMFMAIN=%D/share/texmf %D/bin/mktexlsr
|
||||
@unexec TEXMFMAIN=%D/share/texmf %D/bin/mktexlsr
|
||||
|
Loading…
Reference in New Issue
Block a user