aboutsummaryrefslogtreecommitdiffstats
path: root/print/texinfo
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1994-10-03 04:11:28 +0800
committerjkh <jkh@FreeBSD.org>1994-10-03 04:11:28 +0800
commit741c1d699ce96dc2f5ea64f794e2c8ed9014e285 (patch)
treec507299ba48e8105cd6d3197c51a76f6b783d120 /print/texinfo
parent1affcc7b8f7b60665a5d404a2348037e4937bd11 (diff)
downloadfreebsd-ports-gnome-741c1d699ce96dc2f5ea64f794e2c8ed9014e285.tar.gz
freebsd-ports-gnome-741c1d699ce96dc2f5ea64f794e2c8ed9014e285.tar.zst
freebsd-ports-gnome-741c1d699ce96dc2f5ea64f794e2c8ed9014e285.zip
This is for texinfo printing (not in /usr/src/gnu/usr.bin/texinfo).
Submitted by: jmz
Diffstat (limited to 'print/texinfo')
-rw-r--r--print/texinfo/Makefile39
-rw-r--r--print/texinfo/pkg-comment1
-rw-r--r--print/texinfo/pkg-descr15
-rw-r--r--print/texinfo/pkg-plist7
4 files changed, 62 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>
diff --git a/print/texinfo/pkg-comment b/print/texinfo/pkg-comment
new file mode 100644
index 000000000000..898a3598c826
--- /dev/null
+++ b/print/texinfo/pkg-comment
@@ -0,0 +1 @@
+texinfo: typeset Texinfo files for printing. Uses TeX.
diff --git a/print/texinfo/pkg-descr b/print/texinfo/pkg-descr
new file mode 100644
index 000000000000..8c40af0abb93
--- /dev/null
+++ b/print/texinfo/pkg-descr
@@ -0,0 +1,15 @@
+Texinfo is a documentation system that uses a single source file to
+produce both on-line information and printed output. This means that
+instead of writing two different documents, one for the on-line help
+or other on-line information and the other for a typeset manual or
+other printed work, you need write only one document. When the work
+is revised, you need revise only one document. You can read the
+on-line information, known as an "Info file", with an Info
+documentation-reading program. By convention, Texinfo source file
+names end with a `.texi' or `.texinfo' extension. Texinfo is
+described in the Texinfo Manual.
+You can write and format Texinfo files into Info files within GNU
+Emacs, and read them using the Emacs Info reader. If you do not have
+Emacs, you can format Texinfo files into Info files using `makeinfo'
+and read them using `info'. Use TeX, which is not included in this
+package, to typeset Texinfo files for printing.
diff --git a/print/texinfo/pkg-plist b/print/texinfo/pkg-plist
new file mode 100644
index 000000000000..93c0fc1422e7
--- /dev/null
+++ b/print/texinfo/pkg-plist
@@ -0,0 +1,7 @@
+@cd /usr/local
+@owner bin
+@mode 755
+bin/texinfo
+@mode 644
+lib/texmf/fonts/tfm/lcircle10.tfm
+lib/texmf/ini/texinfo.fmt