summaryrefslogtreecommitdiff
path: root/print
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2009-04-15 05:02:47 +0000
committerminskim <minskim@pkgsrc.org>2009-04-15 05:02:47 +0000
commit112edeaf80d2b7ceaf3079cffbb9f1d950a206da (patch)
tree477998560bd95e0f03847a02aed11c0ab40bc04e /print
parent4196592d55d3e5eceda73e104b5c2340d693da23 (diff)
downloadpkgsrc-112edeaf80d2b7ceaf3079cffbb9f1d950a206da.tar.gz
Let texlive/module.mk recognize TEX_HYPHEN_* and include corresponding
Makefile fragments.
Diffstat (limited to 'print')
-rw-r--r--print/texlive/module.mk19
1 files changed, 16 insertions, 3 deletions
diff --git a/print/texlive/module.mk b/print/texlive/module.mk
index 668478fdec0..701fbd8d2f0 100644
--- a/print/texlive/module.mk
+++ b/print/texlive/module.mk
@@ -1,4 +1,4 @@
-# $NetBSD: module.mk,v 1.2 2009/04/13 02:20:14 minskim Exp $
+# $NetBSD: module.mk,v 1.3 2009/04/15 05:02:47 minskim Exp $
#
# This Makefile fragment is inteded to be included by packages that build
# TeX Live packages.
@@ -8,6 +8,12 @@
# TEX_FORMAT_NAMES
# See ../../print/texlive-tetex/format.mk.
#
+# TEX_HYPHEN_DAT
+# See ../../print/texlive-tetex/hyphen.mk.
+#
+# TEX_HYPHEN_DEF
+# See ../../print/texlive-tetex/hyphen.mk.
+#
# TEX_MAP_FILES
# See ../../print/texlive-tetex/map.mk.
#
@@ -41,8 +47,12 @@ _texlive-set-permission:
.for _pat in ${TEXLIVE_IGNORE_PATTERNS}
${RM} -rf ${WRKSRC}/${_pat}
.endfor
- ${FIND} ${WRKSRC}/texmf* -type d -exec ${CHMOD} ${PKGDIRMODE} {} \;
- ${FIND} ${WRKSRC}/texmf* -type f -exec ${CHMOD} ${SHAREMODE} {} \;
+.for _texmf in texmf texmf-dist texmf-doc
+ if [ -d ${_texmf} ]; then \
+ ${FIND} ${WRKSRC}/${_texmf} -type d -exec ${CHMOD} ${PKGDIRMODE} {} \; ; \
+ ${FIND} ${WRKSRC}/${_texmf} -type f -exec ${CHMOD} ${SHAREMODE} {} \; ; \
+ fi
+.endfor
.PHONY: _texlive-install:
_texlive-install:
@@ -63,6 +73,9 @@ _texlive-install:
.if !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
.if !empty(TEX_MAP_FILES) || !empty(TEX_MIXEDMAP_FILES)
. include "../../print/texlive-tetex/map.mk"
.endif