summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--print/texlive-tetex/files/format-deinstall.tmpl3
-rw-r--r--print/texlive-tetex/files/format-install.tmpl3
-rw-r--r--print/texlive-tetex/format.mk4
-rw-r--r--print/texlive/package.mk8
4 files changed, 9 insertions, 9 deletions
diff --git a/print/texlive-tetex/files/format-deinstall.tmpl b/print/texlive-tetex/files/format-deinstall.tmpl
index 1e4a3532a9e..5fc6f6079fd 100644
--- a/print/texlive-tetex/files/format-deinstall.tmpl
+++ b/print/texlive-tetex/files/format-deinstall.tmpl
@@ -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 @@ DEINSTALL)
done
done
@FIND@ -d @VARBASE@/lib/texmf -type d -empty -exec @RMDIR@ {} \;
+ @MKTEXLSR@ @VARBASE@/lib/texmf
;;
*)
;;
diff --git a/print/texlive-tetex/files/format-install.tmpl b/print/texlive-tetex/files/format-install.tmpl
index fec5d3227dc..371df35fccb 100644
--- a/print/texlive-tetex/files/format-install.tmpl
+++ b/print/texlive-tetex/files/format-install.tmpl
@@ -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 @@ POST-INSTALL)
@FMTUTIL_SYS@ --byfmt $format
done
done
+ @MKTEXLSR@ @VARBASE@/lib/texmf
;;
*)
;;
diff --git a/print/texlive-tetex/format.mk b/print/texlive-tetex/format.mk
index a787fc0588b..01d70a6e5b8 100644
--- a/print/texlive-tetex/format.mk
+++ b/print/texlive-tetex/format.mk
@@ -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 @@ TEX_FORMAT_MK= # defined
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 --git a/print/texlive/package.mk b/print/texlive/package.mk
index 61f07f5d359..7eddc6e61ce 100644
--- a/print/texlive/package.mk
+++ b/print/texlive/package.mk
@@ -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 @@ _texlive-install:
done; \
fi
-.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_FORMATS) || !empty(TEX_FORMAT_NAMES)
+. include "../../print/texlive-tetex/format.mk"
+.endif
.if !empty(TEX_HYPHEN_DAT) || !empty(TEX_HYPHEN_DEF)
. include "../../print/texlive-tetex/hyphen.mk"
.endif