aboutsummaryrefslogtreecommitdiffstats
path: root/print/latex
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-10-12 11:00:12 +0800
committerjkh <jkh@FreeBSD.org>1994-10-12 11:00:12 +0800
commit093e0e09ba24c2152223559e2ff9f092094d99ab (patch)
treee9542416900900e2602393dd7f7174b8b946d5c7 /print/latex
parentd20a14b799a8e40cb963813292f6d00b01b8848a (diff)
downloadfreebsd-ports-gnome-093e0e09ba24c2152223559e2ff9f092094d99ab.tar.gz
freebsd-ports-gnome-093e0e09ba24c2152223559e2ff9f092094d99ab.tar.zst
freebsd-ports-gnome-093e0e09ba24c2152223559e2ff9f092094d99ab.zip
Jean-Marc Zucconi's updates to these ports.
Submitted by: jmz
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