1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/japanese/jtex209-both/files/ntt-makefile
Satoshi Asami 1f0164aa5b Japanese tex/latex. Builds both NTT and ASCII (no, not the American
character code, this one is a Japanese publisher) versions.  Many
files from this port (including the Makefile, hence the "?=" in
DISTNAME) are used for jtex209-ntt an jtex209-ascii ports.

Submitted by:	mita@jp.FreeBSD.org
1996-11-11 08:42:48 +00:00

37 lines
1.3 KiB
Plaintext

# Makefile for compilation of NTT jTeX-1.52 only.
all:
@(cd jtex-1.52; make all)
@(cd jtex1.7/jtex/BibTeX; make all)
install:
@(cd jtex-1.52; make install)
@(cd jtex1.7/jtex/BibTeX; make install)
@rm -f /usr/local/bin/jlatex /usr/local/bin/jtex
@rm -f /usr/local/share/tex/nformats/jlatex.fmt /usr/local/share/tex/nformats/jtex.fmt
@ln -sf /usr/local/bin/njlatex /usr/local/bin/jlatex
@ln -sf /usr/local/bin/njtex /usr/local/bin/jtex
@ln -sf /usr/local/share/tex/nformats/njlatex.fmt /usr/local/share/tex/nformats/jlatex.fmt
@ln -sf /usr/local/share/tex/nformats/njtex.fmt /usr/local/share/tex/nformats/jtex.fmt
@touch /usr/local/share/tex/NTT
reinstall:
@( \
cd jtex-1.52 ;\
cp JTeXfonts/dnpfonts/mincho/tfm/* /usr/local/share/tex/jfonts/mincho/ ;\
cp JTeXfonts/dnpfonts/gothic/tfm/* /usr/local/share/tex/jfonts/gothic/ ;\
cp JLaTeX/sty/* /usr/local/share/tex/ninputs/ \
)
@cp jtex1.7/macros/* /usr/local/share/tex/inputs
@( \
cd /usr/local/share/tex/ ; \
tar xzf ${DISTDIR}/tfm-files.tar.Z ; \
mv tfm-files/min* jfonts/jfms/; \
mv tfm-files/nmin* jfonts/jfms/; \
mv tfm-files/goth* jfonts/jfms/; \
mv tfm-files/ngoth* jfonts/jfms/; \
mv tfm-files/* fonts/ ; \
rmdir tfm-files ; \
cd fonts ; \
tar xzf ${FILESDIR}/tfm-add.tar.gz ; \
)