pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/texlive Let texlive/module.mk recognize TEX_HYPH...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5f866f93d80c
branches:  trunk
changeset: 557405:5f866f93d80c
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Apr 15 05:02:47 2009 +0000

description:
Let texlive/module.mk recognize TEX_HYPHEN_* and include corresponding
Makefile fragments.

diffstat:

 print/texlive/module.mk |  19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)

diffs (47 lines):

diff -r 4fa44bb398ce -r 5f866f93d80c print/texlive/module.mk
--- a/print/texlive/module.mk   Wed Apr 15 05:01:28 2009 +0000
+++ b/print/texlive/module.mk   Wed Apr 15 05:02:47 2009 +0000
@@ -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 @@
 .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 @@
 .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



Home | Main Index | Thread Index | Old Index