summaryrefslogtreecommitdiff
path: root/print/texlive
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2009-04-13 02:20:14 +0000
committerminskim <minskim@pkgsrc.org>2009-04-13 02:20:14 +0000
commiteda5e349595a0b5dd7069ff2cecc3fc580fd0c97 (patch)
treeeb6f7d0826d991a9e3137ffbc006208279b8ac25 /print/texlive
parentb62e265091bf914c21181c58fb4590e0246a63c3 (diff)
downloadpkgsrc-eda5e349595a0b5dd7069ff2cecc3fc580fd0c97.tar.gz
Let texlive/module.mk recognize TEX_FORMAT_NAMES and
TEX_{,MIXED}MAPFILES, and automatically load required Makefile fragments.
Diffstat (limited to 'print/texlive')
-rw-r--r--print/texlive/module.mk17
1 files changed, 16 insertions, 1 deletions
diff --git a/print/texlive/module.mk b/print/texlive/module.mk
index f1491277104..668478fdec0 100644
--- a/print/texlive/module.mk
+++ b/print/texlive/module.mk
@@ -1,10 +1,19 @@
-# $NetBSD: module.mk,v 1.1 2009/04/13 00:03:26 minskim Exp $
+# $NetBSD: module.mk,v 1.2 2009/04/13 02:20:14 minskim Exp $
#
# This Makefile fragment is inteded to be included by packages that build
# TeX Live packages.
#
# Package-settable variables:
#
+# TEX_FORMAT_NAMES
+# See ../../print/texlive-tetex/format.mk.
+#
+# TEX_MAP_FILES
+# See ../../print/texlive-tetex/map.mk.
+#
+# TEX_MIXEDMAP_FILES
+# See ../../print/texlive-tetex/map.mk.
+#
# TEX_TEXMF_DIRS
# See ../../print/kpathsea/texmf.mk.
#
@@ -51,6 +60,12 @@ _texlive-install:
fi
.include "../../print/kpathsea/texmf.mk"
+.if !empty(TEX_FORMAT_NAMES)
+. include "../../print/texlive-tetex/format.mk"
+.endif
+.if !empty(TEX_MAP_FILES) || !empty(TEX_MIXEDMAP_FILES)
+. include "../../print/texlive-tetex/map.mk"
+.endif
post-extract: _texlive-set-permission
do-install: _texlive-install