pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/texlive-tetex Import texlive-tetex-2008 as print...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/60cbc501a3a6
branches:  trunk
changeset: 553624:60cbc501a3a6
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon Jan 26 21:04:33 2009 +0000

description:
Import texlive-tetex-2008 as print/texlive-tetex.

This is a collection of scripts included in teTeX.  The development of
the original teTeX ceased in 2006, and these scripts are now
maintained in TeX Live.

diffstat:

 print/texlive-tetex/DEINSTALL                   |  34 +++++++++
 print/texlive-tetex/DESCR                       |   3 +
 print/texlive-tetex/INSTALL                     |   7 +
 print/texlive-tetex/Makefile                    |  60 ++++++++++++++++
 print/texlive-tetex/PLIST                       |  89 +++++++++++++++++++++++++
 print/texlive-tetex/distinfo                    |   7 +
 print/texlive-tetex/files/fmtutil.cnf           |  24 ++++++
 print/texlive-tetex/files/format-deinstall.tmpl |  41 +++++++++++
 print/texlive-tetex/files/format-install.tmpl   |  23 ++++++
 print/texlive-tetex/files/map-deinstall.tmpl    |  26 +++++++
 print/texlive-tetex/files/map-install.tmpl      |  22 ++++++
 print/texlive-tetex/files/updmap.cfg            |  89 +++++++++++++++++++++++++
 print/texlive-tetex/format.mk                   |  23 ++++++
 print/texlive-tetex/map.mk                      |  26 +++++++
 print/texlive-tetex/patches/patch-aa            |  44 ++++++++++++
 print/texlive-tetex/patches/patch-ab            |  20 +++++
 16 files changed, 538 insertions(+), 0 deletions(-)

diffs (truncated from 602 to 300 lines):

diff -r 52340632883a -r 60cbc501a3a6 print/texlive-tetex/DEINSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/texlive-tetex/DEINSTALL     Mon Jan 26 21:04:33 2009 +0000
@@ -0,0 +1,34 @@
+# $NetBSD: DEINSTALL,v 1.1.1.1 2009/01/26 21:04:33 minskim Exp $
+
+TEXMFSYSVAR="@VARBASE@/lib/texmf"
+
+case "${STAGE}" in
+DEINSTALL)
+       # Remove font map files generated by updmap-sys.  The list of
+       # files is taken from the updmap man page and matches the
+       # "output files" for updmap.
+       ${RM} -f ${TEXMFSYSVAR}/fonts/map/dvipdfm/updmap/dvipdfm.map
+       ${RM} -f ${TEXMFSYSVAR}/fonts/map/dvipdfm/updmap/dvipdfm_dl14.map
+       ${RM} -f ${TEXMFSYSVAR}/fonts/map/dvipdfm/updmap/dvipdfm_ndl14.map
+       ${RM} -f ${TEXMFSYSVAR}/fonts/map/dvips/updmap/builtin35.map
+       ${RM} -f ${TEXMFSYSVAR}/fonts/map/dvips/updmap/download35.map
+       ${RM} -f ${TEXMFSYSVAR}/fonts/map/dvips/updmap/ps2pk.map
+       ${RM} -f ${TEXMFSYSVAR}/fonts/map/dvips/updmap/psfonts.map
+       ${RM} -f ${TEXMFSYSVAR}/fonts/map/dvips/updmap/psfonts_pk.map
+       ${RM} -f ${TEXMFSYSVAR}/fonts/map/dvips/updmap/psfonts_t1.map
+       ${RM} -f ${TEXMFSYSVAR}/fonts/map/pdftex/updmap/pdftex.map
+       ${RM} -f ${TEXMFSYSVAR}/fonts/map/pdftex/updmap/pdftex_dl14.map
+       ${RM} -f ${TEXMFSYSVAR}/fonts/map/pdftex/updmap/pdftex_ndl14.map
+       ${RM} -f ${TEXMFSYSVAR}/web2c/updmap.log
+
+       # Remove stray directories.
+       for dir in \
+               ${TEXMFSYSVAR}/web2c \
+               ${TEXMFSYSVAR}/fonts/map/dvipdfm/updmap \
+               ${TEXMFSYSVAR}/fonts/map/dvips/updmap \
+               ${TEXMFSYSVAR}/fonts/map/pdftex/updmap
+       do
+               @RMDIR@ -p "$dir" 2>/dev/null || @TRUE@
+       done
+       ;;
+esac
diff -r 52340632883a -r 60cbc501a3a6 print/texlive-tetex/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/texlive-tetex/DESCR Mon Jan 26 21:04:33 2009 +0000
@@ -0,0 +1,3 @@
+This is a collection of scripts included in teTeX.  The development of
+the original teTeX ceased in 2006, and these scripts are now
+maintained in TeX Live.
diff -r 52340632883a -r 60cbc501a3a6 print/texlive-tetex/INSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/texlive-tetex/INSTALL       Mon Jan 26 21:04:33 2009 +0000
@@ -0,0 +1,7 @@
+# $NetBSD: INSTALL,v 1.1.1.1 2009/01/26 21:04:33 minskim Exp $
+
+case "${STAGE}" in
+POST-INSTALL)
+       @UPDMAP_SYS@
+       ;;
+esac
diff -r 52340632883a -r 60cbc501a3a6 print/texlive-tetex/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/texlive-tetex/Makefile      Mon Jan 26 21:04:33 2009 +0000
@@ -0,0 +1,60 @@
+# $NetBSD: Makefile,v 1.1.1.1 2009/01/26 21:04:33 minskim Exp $
+
+DISTNAME=      texlive-20080816-source
+PKGNAME=       texlive-tetex-2008
+CATEGORIES=    print
+MASTER_SITES=  ${MASTER_SITE_TEX_CTAN:=systems/texlive/Source/}
+EXTRACT_SUFX=  .tar.lzma
+
+MAINTAINER=    minskim%NetBSD.org@localhost
+HOMEPAGE=      http://www.tug.org/texlive/
+COMMENT=       Scripts included in teTeX
+
+CONFLICTS+=    teTeX-bin<=3.0nb22
+DEPENDS+=      dialog>=1.0:../../misc/dialog
+DEPENDS+=      tex-bin-tetex-[0-9]*:../../print/tex-bin-tetex
+
+EXTRACT_ELEMENTS=      ${DISTNAME}/texk/tetex \
+                       ${DISTNAME}/texk/make \
+                       ${DISTNAME}/texk/install.sh \
+                       ${DISTNAME}/texk/mkinstalldirs
+
+PKG_DESTDIR_SUPPORT=   user-destdir
+
+GNU_CONFIGURE= yes
+WRKSRC=                ${WRKDIR}/${DISTNAME}/texk/tetex
+
+PKG_SYSCONFSUBDIR=     texmf
+
+MAKE_DIRS+=    ${PKG_SYSCONFDIR}/web2c
+CONF_FILES+=   ${PREFIX}/share/texmf/web2c/fmtutil.cnf \
+               ${PKG_SYSCONFDIR}/web2c/fmtutil.cnf
+CONF_FILES+=   ${PREFIX}/share/texmf/web2c/updmap.cfg \
+               ${PKG_SYSCONFDIR}/web2c/updmap.cfg
+FILES_SUBST+=  UPDMAP_SYS=${PREFIX}/bin/updmap-sys
+
+FIND_PREFIX:=  DIALOG_PREFIX=dialog
+.include "../../mk/find-prefix.mk"
+
+SUBST_CLASSES+=                paths
+SUBST_MESSAGE.paths=   Setting a path to dialog.
+SUBST_STAGE.paths=     pre-configure
+SUBST_FILES.paths=     texconfig-dialog
+SUBST_SED.paths=       -e 's,@DIALOG_PREFIX@,${DIALOG_PREFIX},g'
+
+INSTALL_MAKE_FLAGS+=   prefix=${DESTDIR}${PREFIX} \
+                       mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
+
+TEX_TEXMF_DIRS+=       ${PKG_SYSCONFDIR}
+TEX_TEXMF_DIRS+=       ${PREFIX}/share/texmf
+
+.include "../../print/kpathsea/buildlink3.mk"
+.include "../../print/kpathsea/texmf.mk"
+
+post-install:
+.for f in fmtutil.cnf updmap.cfg
+       ${INSTALL_DATA} ${FILESDIR}/${f} \
+               ${DESTDIR}${PREFIX}/share/texmf/web2c
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff -r 52340632883a -r 60cbc501a3a6 print/texlive-tetex/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/texlive-tetex/PLIST Mon Jan 26 21:04:33 2009 +0000
@@ -0,0 +1,89 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2009/01/26 21:04:33 minskim Exp $
+bin/allcm
+bin/allec
+bin/allneeded
+bin/dvi2fax
+bin/dvired
+bin/fmtutil
+bin/fmtutil-sys
+bin/fontinst
+bin/kpsepath
+bin/kpsetool
+bin/kpsewhere
+bin/kpsexpand
+bin/mktexfmt
+bin/ps2frag
+bin/ps4pdf
+bin/pslatex
+bin/rubibtex
+bin/rumakeindex
+bin/texconfig
+bin/texconfig-dialog
+bin/texconfig-sys
+bin/texhash
+bin/texlinks
+bin/updmap
+bin/updmap-sys
+man/man1/allcm.1
+man/man1/allec.1
+man/man1/allneeded.1
+man/man1/ctxtools.1
+man/man1/dvi2fax.1
+man/man1/dvired.1
+man/man1/e2pall.1
+man/man1/epstopdf.1
+man/man1/fmtutil-sys.1
+man/man1/fmtutil.1
+man/man1/fontinst.1
+man/man1/kpsepath.1
+man/man1/kpsetool.1
+man/man1/kpsewhere.1
+man/man1/kpsexpand.1
+man/man1/makempy.1
+man/man1/mkjobtexmf.1
+man/man1/mkocp.1
+man/man1/mkofm.1
+man/man1/mktexfmt.1
+man/man1/mptopdf.1
+man/man1/ofm2opl.1
+man/man1/opl2ofm.1
+man/man1/otp2ocp.1
+man/man1/outocp.1
+man/man1/ovf2ovp.1
+man/man1/ovp2ovf.1
+man/man1/pdftools.1
+man/man1/ps2frag.1
+man/man1/pslatex.1
+man/man1/pstopdf.1
+man/man1/rubibtex.1
+man/man1/rumakeindex.1
+man/man1/texconfig-sys.1
+man/man1/texconfig.1
+man/man1/texdoctk.1
+man/man1/texexec.1
+man/man1/texfind.1
+man/man1/texfont.1
+man/man1/texhash.1
+man/man1/texlinks.1
+man/man1/texmfstart.1
+man/man1/textools.1
+man/man1/texutil.1
+man/man1/thumbpdf.1
+man/man1/ttf2afm.1
+man/man1/updmap-sys.1
+man/man1/updmap.1
+man/man5/fmtutil.cnf.5
+man/man5/updmap.cfg.5
+share/texmf/texconfig/README
+share/texmf/texconfig/g/generic
+share/texmf/texconfig/generic
+share/texmf/texconfig/tcfmgr
+share/texmf/texconfig/tcfmgr.map
+share/texmf/texconfig/v/vt100
+share/texmf/texconfig/x/xterm
+share/texmf/web2c/fmtutil.cnf
+share/texmf/web2c/updmap.cfg
+@dirrm share/texmf/texconfig/x
+@dirrm share/texmf/texconfig/v
+@dirrm share/texmf/texconfig/g
+@dirrm share/texmf/texconfig
diff -r 52340632883a -r 60cbc501a3a6 print/texlive-tetex/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/texlive-tetex/distinfo      Mon Jan 26 21:04:33 2009 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2009/01/26 21:04:33 minskim Exp $
+
+SHA1 (texlive-20080816-source.tar.lzma) = 730986c628bd658b5062face9e400f61203d6b8d
+RMD160 (texlive-20080816-source.tar.lzma) = 629784b111c0d4bc9fac9f9131f63203d6e1dd38
+Size (texlive-20080816-source.tar.lzma) = 23175835 bytes
+SHA1 (patch-aa) = 1149fc9a373825f52194f6c815ff24f412e84db5
+SHA1 (patch-ab) = c73c30b82530c57c0f832e2ddcf32697e2e50d04
diff -r 52340632883a -r 60cbc501a3a6 print/texlive-tetex/files/fmtutil.cnf
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/texlive-tetex/files/fmtutil.cnf     Mon Jan 26 21:04:33 2009 +0000
@@ -0,0 +1,24 @@
+# The format of the table is:
+#
+# format  engine  pattern-file  arguments
+#
+# The last "argument" must be the name of the file on which to run
+# the ini-engine (such as initex).  If the ini-engine is e-TeX, and the
+# e-TeX extensions should be enabled, the filename must be prefixed with
+# a * character.
+# 
+# fmtutil always passes the -ini option to the engine.
+# If no pattern-file is desired, use -.
+# Either spaces or tabs can be used as separators.
+# 
+# Other notes:
+# 1) tex and amstex just load hyphen.tex. No customization.
+#    You can have your own customized (via babel's hyphen.cfg)
+#    formats on top of plain by using "bplain.tex" instead of
+#    plain.tex (see e.g. bplain.ini file for bplain format).
+#
+# 2) etex-based formats load language.def, not language.dat.
+#
+# 3) The symbolic link to the right engines (e.g. bplain -> tex)
+#    is generated by the "texlinks" script.
+#
diff -r 52340632883a -r 60cbc501a3a6 print/texlive-tetex/files/format-deinstall.tmpl
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/texlive-tetex/files/format-deinstall.tmpl   Mon Jan 26 21:04:33 2009 +0000
@@ -0,0 +1,41 @@
+# $NetBSD: format-deinstall.tmpl,v 1.1.1.1 2009/01/26 21:04:33 minskim Exp $
+#
+# Delete format files.
+#
+
+FMTUTIL_CNF=${PKG_SYSCONFBASE}/texmf/web2c/fmtutil.cnf
+
+case ${STAGE} in
+DEINSTALL)
+       format_names="@FORMAT_NAMES@"
+       for f in $format_names ; do
+               @CAT@ @PREFIX@/share/texmf/fmtutil/format.$f.cnf |
+               @GREP@ "^[^#]" |
+               while read format engine junk; do
+                 ${GREP} -v "^${format}[[:space:]][[:space:]]*${engine}[[:space:]]" ${FMTUTIL_CNF} > \
+                       ${FMTUTIL_CNF}.tmp &&
+                 ${MV} ${FMTUTIL_CNF}.tmp ${FMTUTIL_CNF}
+                 case "$engine" in
+                   mpost)
+                     fmtfile="$format.mem"
+                     texengine=metapost
+                     ;;
+                   mf*)
+                     fmtfile="$format.base"
+                     texengine=metafont
+                     ;;
+                   *)
+                     fmtfile="$format.fmt"
+                     texengine=$engine
+                     ;;
+                 esac
+                       @RM@ -f @VARBASE@/lib/texmf/web2c/$texengine/$fmtfile
+                       @RM@ -f @VARBASE@/lib/texmf/web2c/$texengine/$format.log
+               done
+       done
+       @FIND@ -d @VARBASE@/lib/texmf -type d -empty -exec @RMDIR@ {} \;
+       @MKTEXLSR@ @VARBASE@/lib/texmf
+        ;;
+*)
+       ;;
+esac
diff -r 52340632883a -r 60cbc501a3a6 print/texlive-tetex/files/format-install.tmpl
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/texlive-tetex/files/format-install.tmpl     Mon Jan 26 21:04:33 2009 +0000



Home | Main Index | Thread Index | Old Index