summaryrefslogtreecommitdiff
path: root/print/latex
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1994-10-12 03:00:12 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1994-10-12 03:00:12 +0000
commit29342fc00f921cf586b37ee1f757d5bface15a73 (patch)
tree0f0867646f2a833c9770086788998cea8a2b8d15 /print/latex
parentJean-Marc Zucconi's dviselect port. (diff)
Jean-Marc Zucconi's updates to these ports.
Submitted by: jmz
Notes
Notes: svn path=/head/; revision=217
Diffstat (limited to 'print/latex')
-rw-r--r--print/latex/Makefile14
-rw-r--r--print/latex/pkg-plist7
2 files changed, 12 insertions, 9 deletions
diff --git a/print/latex/Makefile b/print/latex/Makefile
index 8f6fd1b52692..8650982ca650 100644
--- a/print/latex/Makefile
+++ b/print/latex/Makefile
@@ -55,13 +55,15 @@ build: configure
install:
@echo "===> Installing for ${DISTNAME}"
@(/usr/bin/install -c -m 644 ${WRKSRC}/base/latex.fmt \
- /usr/local/lib/texmf/ini/)
- @(cd ${WRKSRC}/tfm; install -c -m 644 *.tfm /usr/local/lib/texmf/fonts/tfm)
- @(cd ${WRKSRC}/mf; install -c -m 644 *.mf /usr/local/lib/texmf/mf)
- @(cd ${WRKSRC}/base; install -c -m 644 latexbug.tex testpage.tex \
+ ${PREFIX}/lib/texmf/ini/)
+ @(cd ${WRKSRC}/tfm; install -c -m 644 *.tfm ${PREFIX}/lib/texmf/fonts/tfm)
+ @(cd ${WRKSRC}/mf; install -c -m 644 *.mf ${PREFIX}/lib/texmf/mf)
+ @(cd ${WRKSRC}/base; for f in latexbug.tex testpage.tex \
lablst.tex idx.tex nfssfont.tex small2e.tex sample2e.tex docstrip.tex \
- *.cls *.clo *.sty *.fd *.def *.cfg /usr/local/lib/texmf/tex)
- @(cd ${WRKSRC}/base; install -c -m 644 *.ist /usr/local/lib/texmf/tex)
+ *.cls *.clo *.sty *.fd *.def *.cfg ; do \
+ if [ -f $$f ]; then install -c -m 644 $$f ${PREFIX}/lib/texmf/tex; fi; done)
+ @mkdir -p ${PREFIX}/lib/texmf/makeindx;
+ @(cd ${WRKSRC}/base; install -c -m 644 *.ist ${PREFIX}/lib/texmf/makeindx)
.include <bsd.port.mk>
diff --git a/print/latex/pkg-plist b/print/latex/pkg-plist
index 95fc03b2e81c..e18266d39a14 100644
--- a/print/latex/pkg-plist
+++ b/print/latex/pkg-plist
@@ -1,4 +1,5 @@
-@cd /usr/local/lib/texmf
+@cd /usr/local
+@cd lib/texmf
@mode 644
@owner bin
fonts/tfm/cmbsy5.tfm
@@ -160,6 +161,6 @@ tex/latex209.def
tex/sfonts.def
tex/slides.def
tex/texsys.cfg
-tex/gglo.ist
-tex/gind.ist
ini/latex.fmt
+makeindx/gglo.ist
+makeindx/gind.ist