pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print Make sure that ls-R databases are updated whenev...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d26b99eb5421
branches:  trunk
changeset: 570356:d26b99eb5421
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Jan 29 04:12:41 2010 +0000

description:
Make sure that ls-R databases are updated whenever format files are
installed/deinstalled.

diffstat:

 print/texlive-tetex/files/format-deinstall.tmpl |  3 ++-
 print/texlive-tetex/files/format-install.tmpl   |  3 ++-
 print/texlive-tetex/format.mk                   |  4 +---
 print/texlive/package.mk                        |  8 ++++----
 4 files changed, 9 insertions(+), 9 deletions(-)

diffs (77 lines):

diff -r 34426a9dee96 -r d26b99eb5421 print/texlive-tetex/files/format-deinstall.tmpl
--- a/print/texlive-tetex/files/format-deinstall.tmpl   Fri Jan 29 04:10:14 2010 +0000
+++ b/print/texlive-tetex/files/format-deinstall.tmpl   Fri Jan 29 04:12:41 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: format-deinstall.tmpl,v 1.4 2010/01/29 01:58:13 minskim Exp $
+# $NetBSD: format-deinstall.tmpl,v 1.5 2010/01/29 04:12:41 minskim Exp $
 #
 # Delete format files.
 #
@@ -63,6 +63,7 @@
                done
        done
        @FIND@ -d @VARBASE@/lib/texmf -type d -empty -exec @RMDIR@ {} \;
+       @MKTEXLSR@ @VARBASE@/lib/texmf
         ;;
 *)
        ;;
diff -r 34426a9dee96 -r d26b99eb5421 print/texlive-tetex/files/format-install.tmpl
--- a/print/texlive-tetex/files/format-install.tmpl     Fri Jan 29 04:10:14 2010 +0000
+++ b/print/texlive-tetex/files/format-install.tmpl     Fri Jan 29 04:12:41 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: format-install.tmpl,v 1.2 2010/01/29 01:58:13 minskim Exp $
+# $NetBSD: format-install.tmpl,v 1.3 2010/01/29 04:12:41 minskim Exp $
 #
 # Create format files.
 #
@@ -25,6 +25,7 @@
                        @FMTUTIL_SYS@ --byfmt $format
                done
        done
+       @MKTEXLSR@ @VARBASE@/lib/texmf
         ;;
 *)
        ;;
diff -r 34426a9dee96 -r d26b99eb5421 print/texlive-tetex/format.mk
--- a/print/texlive-tetex/format.mk     Fri Jan 29 04:10:14 2010 +0000
+++ b/print/texlive-tetex/format.mk     Fri Jan 29 04:12:41 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: format.mk,v 1.3 2010/01/29 01:58:13 minskim Exp $
+# $NetBSD: format.mk,v 1.4 2010/01/29 04:12:41 minskim Exp $
 #
 # This Makefile fragment is intended to be included by packages that
 # install TeX format files.  It creates format files at
@@ -16,8 +16,6 @@
 
 DEPENDS+=              texlive-tetex>=2008:../../print/texlive-tetex
 
-TEX_TEXMF_DIRS+=       ${VARBASE}/lib/texmf
-
 EVAL_PREFIX+=          TETEX_PREFIX=texlive-tetex
 FILES_SUBST+=          FMTUTIL_SYS=${TETEX_PREFIX:Q}/bin/fmtutil-sys
 FILES_SUBST+=          FORMAT_NAMES=${TEX_FORMAT_NAMES:Q}
diff -r 34426a9dee96 -r d26b99eb5421 print/texlive/package.mk
--- a/print/texlive/package.mk  Fri Jan 29 04:10:14 2010 +0000
+++ b/print/texlive/package.mk  Fri Jan 29 04:12:41 2010 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: package.mk,v 1.4 2010/01/29 01:58:13 minskim Exp $
+# $NetBSD: package.mk,v 1.5 2010/01/29 04:12:41 minskim Exp $
 #
 # This Makefile fragment is inteded to be included by packages that build
 # TeX Live packages.
@@ -121,12 +121,12 @@
                done; \
        fi
 
+.if empty(TEX_TEXMF_DIRS) || ${TEX_TEXMF_DIRS} != "none"
+.  include "../../print/kpathsea/texmf.mk"
+.endif
 .if !empty(TEX_FORMATS) || !empty(TEX_FORMAT_NAMES)
 .  include "../../print/texlive-tetex/format.mk"
 .endif
-.if empty(TEX_TEXMF_DIRS) || ${TEX_TEXMF_DIRS} != "none"
-.  include "../../print/kpathsea/texmf.mk"
-.endif
 .if !empty(TEX_HYPHEN_DAT) || !empty(TEX_HYPHEN_DEF)
 .  include "../../print/texlive-tetex/hyphen.mk"
 .endif



Home | Main Index | Thread Index | Old Index