diff options
author | minskim <minskim@pkgsrc.org> | 2009-01-08 22:09:34 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2009-01-08 22:09:34 +0000 |
commit | f30397ed2a95b5f946722c18a565303e1b09db93 (patch) | |
tree | 0c666384df33170f7fee2760fe9aafd08ccf5022 /print/teTeX3-bin/INSTALL | |
parent | d80f1f9d977b0d8c53e04157dc4573591722e3a2 (diff) | |
download | pkgsrc-f30397ed2a95b5f946722c18a565303e1b09db93.tar.gz |
Resolve conflicts between kpathsea and teTeX-{texmf,bin}.
With this change, texmf.cnf is handled properaly using CONF_FILES, and
tex-* packages can be shared by teTeX-3 and TeX Live 2008.
Bump PKGREVISION for teTeX-{texmf,bin}.
Diffstat (limited to 'print/teTeX3-bin/INSTALL')
-rw-r--r-- | print/teTeX3-bin/INSTALL | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/print/teTeX3-bin/INSTALL b/print/teTeX3-bin/INSTALL index 5fd5ce77c6b..a9685af9cc8 100644 --- a/print/teTeX3-bin/INSTALL +++ b/print/teTeX3-bin/INSTALL @@ -1,4 +1,4 @@ -# $NetBSD: INSTALL,v 1.8 2008/12/09 19:43:37 minskim Exp $ +# $NetBSD: INSTALL,v 1.9 2009/01/08 22:09:35 minskim Exp $ PATH="@PREFIX@"/bin:"${PATH}" export PATH @@ -43,10 +43,6 @@ TEXMF_VARDIR="@VARBASE@/lib/texmf" exitcode=0 case $ACTION in ADD) - # Create ls-R databases in all of the usual TeX directories. - ${TEST} ! -x ${PKG_PREFIX}/bin/mktexlsr || - ${PKG_PREFIX}/bin/mktexlsr - # Update teTeX installation to support different TeX formats. ${TEST} ! -x ${PKG_PREFIX}/bin/fmtutil-sys || ${PKG_PREFIX}/bin/fmtutil-sys --all @@ -59,14 +55,6 @@ ADD) ;; REMOVE) - # Remove the ls-R databases from the usual TeX directories - # generated by mktexlsr. - # - ${RM} -f ${TEXMF_DISTDATADIR}/ls-R - ${RM} -f ${TEXMF_DATADIR}/ls-R - ${RM} -f ${TEXMF_LOCALDATADIR}/ls-R - ${RM} -f ${TEXMF_VARDIR}/ls-R - # We inspect both the user-modified and distributed fmtutil.cnf # files because we want to ensure we remove bits corresponding # to both files. @@ -122,15 +110,22 @@ REMOVE) ${RM} -f ${TEXMF_VARDIR}/fonts/map/pdftex/updmap/pdftex_ndl14.map ${RM} -f ${TEXMF_VARDIR}/web2c/updmap.log + # Remove config files generated by +TEXCONFIG. + ${RM} -f @PKG_SYSCONFDIR@/dvips/config/config.ps + ${RM} -f @PKG_SYSCONFDIR@/xdvi/XDvi + # Remove stray directores. for dir in \ ${TEXMF_VARDIR}/web2c \ ${TEXMF_VARDIR}/fonts/map/dvipdfm/updmap \ ${TEXMF_VARDIR}/fonts/map/dvips/updmap \ - ${TEXMF_VARDIR}/fonts/map/pdftex/updmap + ${TEXMF_VARDIR}/fonts/map/pdftex/updmap \ + @PKG_SYSCONFDIR@/dvips/config \ + @PKG_SYSCONFDIR@/xdvi do ${RMDIR} -p "$dir" 2>/dev/null || ${TRUE} done + @MKTEXLSR@ ${TEXMF_VARDIR} @PKG_SYSCONFDIR@ ;; *) |