summaryrefslogtreecommitdiff
path: root/print/texinfo/Makefile
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1994-10-02 20:11:28 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1994-10-02 20:11:28 +0000
commit4c2ca10b5ddd943cc1183691bc192741b5ad994e (patch)
treeb9c6048e6df157736c20a0020578c4f51742e3b8 /print/texinfo/Makefile
parentNN newsreader with NOV support (diff)
This is for texinfo printing (not in /usr/src/gnu/usr.bin/texinfo).
Submitted by: jmz
Notes
Notes: svn path=/head/; revision=157
Diffstat (limited to 'print/texinfo/Makefile')
-rw-r--r--print/texinfo/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/print/texinfo/Makefile b/print/texinfo/Makefile
new file mode 100644
index 000000000000..741d7af4574b
--- /dev/null
+++ b/print/texinfo/Makefile
@@ -0,0 +1,39 @@
+DISTFILES= texinfo.tex lcircle10.tfm
+DISTNAME= texinfo
+#other equivalent sites: ftp.shsu.edu ftp.dante.de
+MASTER_SITES= ftp://ftp.tex.ac.uk/tex-archive/macros/eplain/doc/ \
+ ftp://ftp.tex.ac.uk/tex-archive/fonts/latex/tfm/
+EXTRACT_ONLY=
+NO_WRKSUBDIR= yes
+
+PREFIX=/usr/local
+
+pre-fetch:
+ @if [ ! -x ${PREFIX}/bin/tex ]; then \
+ echo "You must have TeX installed";\
+ exit 1; \
+ fi;
+ @if [ ! -x ${PREFIX}/bin/initex ]; then \
+ echo "I can't find initex. Your TeX installation is incomplete";\
+ exit 1;\
+ fi
+
+pre-configure:
+ @cp ${DISTDIR}/texinfo.tex ${DISTDIR}/lcircle10.tfm ${WRKDIR}
+ @chmod +w ${WRKDIR}/*
+
+build: configure
+ @echo "===> Building for ${DISTNAME}"
+ @(cd ${WRKDIR}; initex '&tex texinfo @dump')
+
+install:
+ @echo "===> Installing for ${DISTNAME}"
+ @/usr/bin/install -c -m 644 ${WRKDIR}/texinfo.fmt \
+ ${PREFIX}/lib/texmf/ini/
+ @if [ ! -f ${PREFIX}/lib/texmf/fonts/tfm/lcircle10.tfm ]; then \
+ /usr/bin/install -c -m 644 ${WRKDIR}/lcircle10.tfm \
+ ${PREFIX}/lib/texmf/fonts/tfm/;\
+ fi
+ @(cd ${PREFIX}/bin/; rm -f texinfo; ln -s virtex texinfo)
+
+.include <bsd.port.mk>