pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print Move files required to generate TeX hyphenation ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5c3e08743f1b
branches:  trunk
changeset: 626555:5c3e08743f1b
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Nov 15 06:08:51 2013 +0000

description:
Move files required to generate TeX hyphenation patterns from
texlive-tetex to tex-tetex. print/texlive-tetex will be removed in
TeX Live 2013.

diffstat:

 print/kpathsea/texmf.mk                         |   4 +-
 print/tex-tetex/files/hyphen-deinstall.tmpl     |  36 +++++++++++++++
 print/tex-tetex/files/hyphen-install.tmpl       |  59 +++++++++++++++++++++++++
 print/tex-tetex/hyphen.mk                       |  28 +++++++++++
 print/texlive-tetex/files/hyphen-deinstall.tmpl |  36 ---------------
 print/texlive-tetex/files/hyphen-install.tmpl   |  59 -------------------------
 print/texlive-tetex/hyphen.mk                   |  28 -----------
 7 files changed, 125 insertions(+), 125 deletions(-)

diffs (288 lines):

diff -r 1a232f8b2f11 -r 5c3e08743f1b print/kpathsea/texmf.mk
--- a/print/kpathsea/texmf.mk   Fri Nov 15 05:14:08 2013 +0000
+++ b/print/kpathsea/texmf.mk   Fri Nov 15 06:08:51 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: texmf.mk,v 1.6 2012/10/14 18:12:37 minskim Exp $
+# $NetBSD: texmf.mk,v 1.7 2013/11/15 06:08:51 minskim Exp $
 #
 # This Makefile fragment is intended to be included by packages that
 # install TeX packages.  It rebuilds the ls-R databases at
@@ -45,7 +45,7 @@
 .  include "../../print/tex-tetex/format.mk"
 .endif
 .if !empty(TEX_HYPHEN_DAT) || !empty(TEX_HYPHEN_DEF)
-.  include "../../print/texlive-tetex/hyphen.mk"
+.  include "../../print/tex-tetex/hyphen.mk"
 .endif
 .if !empty(TEX_KANJIMAP_FILES) || !empty(TEX_MAP_FILES) \
        || !empty(TEX_MIXEDMAP_FILES)
diff -r 1a232f8b2f11 -r 5c3e08743f1b print/tex-tetex/files/hyphen-deinstall.tmpl
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/tex-tetex/files/hyphen-deinstall.tmpl       Fri Nov 15 06:08:51 2013 +0000
@@ -0,0 +1,36 @@
+# $NetBSD: hyphen-deinstall.tmpl,v 1.1 2013/11/15 06:08:51 minskim Exp $
+#
+# Deinstall hyphenation patterns.
+#
+
+LANGUAGE_DAT=${PKG_SYSCONFBASE}/texmf/tex/generic/config/language.dat
+LANGUAGE_DEF=${PKG_SYSCONFBASE}/texmf/tex/generic/config/language.def
+LANGUAGE_LUA=${PKG_SYSCONFBASE}/texmf/tex/generic/config/language.dat.lua
+
+case ${STAGE} in
+DEINSTALL)
+       ${AWK} "\
+BEGIN { do_print=1; } \
+/^%%% BEGIN @PKGBASE@\$/ { do_print=0; } \
+{ if (do_print) print \$0; } \
+/^%%% END @PKGBASE@\$/ { do_print=1; }" ${LANGUAGE_DAT} > ${LANGUAGE_DAT}.tmp &&
+       ${MV} ${LANGUAGE_DAT}.tmp ${LANGUAGE_DAT}
+       @FMTUTIL_SYS@ --byhyphen ${LANGUAGE_DAT}
+       ${AWK} "\
+BEGIN { do_print=1; } \
+/^%%% BEGIN @PKGBASE@\$/ { do_print=0; } \
+{ if (do_print) print \$0; } \
+/^%%% END @PKGBASE@\$/ { do_print=1; }" ${LANGUAGE_DEF} > ${LANGUAGE_DEF}.tmp &&
+       ${MV} ${LANGUAGE_DEF}.tmp ${LANGUAGE_DEF}
+       @FMTUTIL_SYS@ --byhyphen ${LANGUAGE_DEF}
+       ${AWK} "\
+BEGIN { do_print=1; } \
+/^--- BEGIN @PKGBASE@\$/ { do_print=0; } \
+{ if (do_print) print \$0; } \
+/^--- END @PKGBASE@\$/ { do_print=1; }" ${LANGUAGE_LUA} > ${LANGUAGE_LUA}.tmp &&
+       ${MV} ${LANGUAGE_LUA}.tmp ${LANGUAGE_LUA}
+       @FMTUTIL_SYS@ --byhyphen ${LANGUAGE_LUA}
+       ;;
+*)
+       ;;
+esac
diff -r 1a232f8b2f11 -r 5c3e08743f1b print/tex-tetex/files/hyphen-install.tmpl
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/tex-tetex/files/hyphen-install.tmpl Fri Nov 15 06:08:51 2013 +0000
@@ -0,0 +1,59 @@
+# $NetBSD: hyphen-install.tmpl,v 1.1 2013/11/15 06:08:51 minskim Exp $
+#
+# Install hyphenation patterns.
+#
+
+LANGUAGE_DAT=${PKG_SYSCONFBASE}/texmf/tex/generic/config/language.dat
+LANGUAGE_DEF=${PKG_SYSCONFBASE}/texmf/tex/generic/config/language.def
+LANGUAGE_LUA=${PKG_SYSCONFBASE}/texmf/tex/generic/config/language.dat.lua
+
+case ${STAGE} in
+POST-INSTALL)
+       hyphen_dat="@HYPHEN_DAT@"
+       set -- dummy $hyphen_dat; shift;
+       ${ECHO} "%%% BEGIN @PKGBASE@" >> ${LANGUAGE_DAT}
+       while ${TEST} $# -gt 0; do
+           cmd="$1"; arg="$2"
+           shift; shift
+           if ${TEST} $cmd = "="; then
+               ${ECHO} "$cmd$arg" >> ${LANGUAGE_DAT}
+           else
+               ${ECHO} "$cmd $arg" >> ${LANGUAGE_DAT}
+           fi
+       done
+       ${ECHO} "%%% END @PKGBASE@" >> ${LANGUAGE_DAT}
+       @FMTUTIL_SYS@ --byhyphen ${LANGUAGE_DAT}
+       hyphen_def="@HYPHEN_DEF@"
+       ${AWK} "\
+BEGIN { f=\"${LANGUAGE_DEF}.tmp\"; } \
+/^%%% No changes/ { f=\"${LANGUAGE_DEF}.post\"; } \
+{ print>f; }" ${LANGUAGE_DEF} &&
+       set -- dummy $hyphen_def; shift;
+       ${ECHO} "%%% BEGIN @PKGBASE@" >> ${LANGUAGE_DEF}.tmp
+       for line in $hyphen_def ; do
+           ${ECHO} "${line}" >> ${LANGUAGE_DEF}.tmp
+       done
+       ${ECHO} "%%% END @PKGBASE@" >> ${LANGUAGE_DEF}.tmp
+       ${CAT} ${LANGUAGE_DEF}.post >> ${LANGUAGE_DEF}.tmp
+       ${RM} ${LANGUAGE_DEF}.post
+       ${MV} ${LANGUAGE_DEF}.tmp ${LANGUAGE_DEF}
+       @FMTUTIL_SYS@ --byhyphen ${LANGUAGE_DEF}
+       hyphen_lua="@HYPHEN_LUA@"
+       ${AWK} "\
+BEGIN { f=\"${LANGUAGE_LUA}.tmp\"; } \
+/^-- END of language/ { f=\"${LANGUAGE_LUA}.post\"; } \
+{ print>f; }" ${LANGUAGE_LUA} &&
+       set -- dummy $hyphen_lua; shift;
+       ${ECHO} "--- BEGIN @PKGBASE@" >> ${LANGUAGE_LUA}.tmp
+       for line in $hyphen_lua ; do
+           ${ECHO} "${line}" | ${SED} -e 'y/+/ /' -e 's/^\([a-z]\)/    \1/' -e 's/^/   /' >> ${LANGUAGE_LUA}.tmp
+       done
+       ${ECHO} "--- END @PKGBASE@" >> ${LANGUAGE_LUA}.tmp
+       ${CAT} ${LANGUAGE_LUA}.post >> ${LANGUAGE_LUA}.tmp
+       ${RM} ${LANGUAGE_LUA}.post
+       ${MV} ${LANGUAGE_LUA}.tmp ${LANGUAGE_LUA}
+       @FMTUTIL_SYS@ --byhyphen ${LANGUAGE_LUA}
+        ;;
+*)
+       ;;
+esac
diff -r 1a232f8b2f11 -r 5c3e08743f1b print/tex-tetex/hyphen.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/tex-tetex/hyphen.mk Fri Nov 15 06:08:51 2013 +0000
@@ -0,0 +1,28 @@
+# $NetBSD: hyphen.mk,v 1.1 2013/11/15 06:08:51 minskim Exp $
+#
+# This Makefile fragment is intended to be included by packages that
+# install TeX hyphenation pattens.  It updates format files at
+# (de)installation time.
+#
+# The following variable can be defined:
+#
+#    TEX_HYPHEN_DAT - A list of hyphenation entries for language.dat.
+#    TEX_HYPHEN_DEF - A list of hyphenation entries for language.def.
+#    TEX_HYPHEN_LUA - A list of hyphenation entries for language.dat.lua.
+#
+
+.if !defined(TEX_HYPHEN_MK)
+TEX_HYPHEN_MK=         # defined
+
+DEPENDS+=              tex-hyphen-base>=2010nb1:../../print/tex-hyphen-base
+DEPENDS+=              tex-tetex>=3.0.27774nb1:../../print/tex-tetex
+
+EVAL_PREFIX+=          TETEX_PREFIX=tex-tetex
+FILES_SUBST+=          FMTUTIL_SYS=${TETEX_PREFIX:Q}/bin/fmtutil-sys
+FILES_SUBST+=          HYPHEN_DAT=${TEX_HYPHEN_DAT:Q}
+FILES_SUBST+=          HYPHEN_DEF=${TEX_HYPHEN_DEF:Q}
+FILES_SUBST+=          HYPHEN_LUA=${TEX_HYPHEN_LUA:Q}
+INSTALL_TEMPLATES+=    ../../print/tex-tetex/files/hyphen-install.tmpl
+DEINSTALL_TEMPLATES+=  ../../print/tex-tetex/files/hyphen-deinstall.tmpl
+
+.endif # TEX_HYPHEN_MK
diff -r 1a232f8b2f11 -r 5c3e08743f1b print/texlive-tetex/files/hyphen-deinstall.tmpl
--- a/print/texlive-tetex/files/hyphen-deinstall.tmpl   Fri Nov 15 05:14:08 2013 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-# $NetBSD: hyphen-deinstall.tmpl,v 1.3 2010/11/07 17:22:24 minskim Exp $
-#
-# Deinstall hyphenation patterns.
-#
-
-LANGUAGE_DAT=${PKG_SYSCONFBASE}/texmf/tex/generic/config/language.dat
-LANGUAGE_DEF=${PKG_SYSCONFBASE}/texmf/tex/generic/config/language.def
-LANGUAGE_LUA=${PKG_SYSCONFBASE}/texmf/tex/generic/config/language.dat.lua
-
-case ${STAGE} in
-DEINSTALL)
-       ${AWK} "\
-BEGIN { do_print=1; } \
-/^%%% BEGIN @PKGBASE@\$/ { do_print=0; } \
-{ if (do_print) print \$0; } \
-/^%%% END @PKGBASE@\$/ { do_print=1; }" ${LANGUAGE_DAT} > ${LANGUAGE_DAT}.tmp &&
-       ${MV} ${LANGUAGE_DAT}.tmp ${LANGUAGE_DAT}
-       @FMTUTIL_SYS@ --byhyphen ${LANGUAGE_DAT}
-       ${AWK} "\
-BEGIN { do_print=1; } \
-/^%%% BEGIN @PKGBASE@\$/ { do_print=0; } \
-{ if (do_print) print \$0; } \
-/^%%% END @PKGBASE@\$/ { do_print=1; }" ${LANGUAGE_DEF} > ${LANGUAGE_DEF}.tmp &&
-       ${MV} ${LANGUAGE_DEF}.tmp ${LANGUAGE_DEF}
-       @FMTUTIL_SYS@ --byhyphen ${LANGUAGE_DEF}
-       ${AWK} "\
-BEGIN { do_print=1; } \
-/^--- BEGIN @PKGBASE@\$/ { do_print=0; } \
-{ if (do_print) print \$0; } \
-/^--- END @PKGBASE@\$/ { do_print=1; }" ${LANGUAGE_LUA} > ${LANGUAGE_LUA}.tmp &&
-       ${MV} ${LANGUAGE_LUA}.tmp ${LANGUAGE_LUA}
-       @FMTUTIL_SYS@ --byhyphen ${LANGUAGE_LUA}
-       ;;
-*)
-       ;;
-esac
diff -r 1a232f8b2f11 -r 5c3e08743f1b print/texlive-tetex/files/hyphen-install.tmpl
--- a/print/texlive-tetex/files/hyphen-install.tmpl     Fri Nov 15 05:14:08 2013 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,59 +0,0 @@
-# $NetBSD: hyphen-install.tmpl,v 1.4 2010/11/10 17:55:27 minskim Exp $
-#
-# Install hyphenation patterns.
-#
-
-LANGUAGE_DAT=${PKG_SYSCONFBASE}/texmf/tex/generic/config/language.dat
-LANGUAGE_DEF=${PKG_SYSCONFBASE}/texmf/tex/generic/config/language.def
-LANGUAGE_LUA=${PKG_SYSCONFBASE}/texmf/tex/generic/config/language.dat.lua
-
-case ${STAGE} in
-POST-INSTALL)
-       hyphen_dat="@HYPHEN_DAT@"
-       set -- dummy $hyphen_dat; shift;
-       ${ECHO} "%%% BEGIN @PKGBASE@" >> ${LANGUAGE_DAT}
-       while ${TEST} $# -gt 0; do
-           cmd="$1"; arg="$2"
-           shift; shift
-           if ${TEST} $cmd = "="; then
-               ${ECHO} "$cmd$arg" >> ${LANGUAGE_DAT}
-           else
-               ${ECHO} "$cmd $arg" >> ${LANGUAGE_DAT}
-           fi
-       done
-       ${ECHO} "%%% END @PKGBASE@" >> ${LANGUAGE_DAT}
-       @FMTUTIL_SYS@ --byhyphen ${LANGUAGE_DAT}
-       hyphen_def="@HYPHEN_DEF@"
-       ${AWK} "\
-BEGIN { f=\"${LANGUAGE_DEF}.tmp\"; } \
-/^%%% No changes/ { f=\"${LANGUAGE_DEF}.post\"; } \
-{ print>f; }" ${LANGUAGE_DEF} &&
-       set -- dummy $hyphen_def; shift;
-       ${ECHO} "%%% BEGIN @PKGBASE@" >> ${LANGUAGE_DEF}.tmp
-       for line in $hyphen_def ; do
-           ${ECHO} "${line}" >> ${LANGUAGE_DEF}.tmp
-       done
-       ${ECHO} "%%% END @PKGBASE@" >> ${LANGUAGE_DEF}.tmp
-       ${CAT} ${LANGUAGE_DEF}.post >> ${LANGUAGE_DEF}.tmp
-       ${RM} ${LANGUAGE_DEF}.post
-       ${MV} ${LANGUAGE_DEF}.tmp ${LANGUAGE_DEF}
-       @FMTUTIL_SYS@ --byhyphen ${LANGUAGE_DEF}
-       hyphen_lua="@HYPHEN_LUA@"
-       ${AWK} "\
-BEGIN { f=\"${LANGUAGE_LUA}.tmp\"; } \
-/^-- END of language/ { f=\"${LANGUAGE_LUA}.post\"; } \
-{ print>f; }" ${LANGUAGE_LUA} &&
-       set -- dummy $hyphen_lua; shift;
-       ${ECHO} "--- BEGIN @PKGBASE@" >> ${LANGUAGE_LUA}.tmp
-       for line in $hyphen_lua ; do
-           ${ECHO} "${line}" | ${SED} -e 'y/+/ /' -e 's/^\([a-z]\)/    \1/' -e 's/^/   /' >> ${LANGUAGE_LUA}.tmp
-       done
-       ${ECHO} "--- END @PKGBASE@" >> ${LANGUAGE_LUA}.tmp
-       ${CAT} ${LANGUAGE_LUA}.post >> ${LANGUAGE_LUA}.tmp
-       ${RM} ${LANGUAGE_LUA}.post
-       ${MV} ${LANGUAGE_LUA}.tmp ${LANGUAGE_LUA}
-       @FMTUTIL_SYS@ --byhyphen ${LANGUAGE_LUA}
-        ;;
-*)
-       ;;
-esac
diff -r 1a232f8b2f11 -r 5c3e08743f1b print/texlive-tetex/hyphen.mk
--- a/print/texlive-tetex/hyphen.mk     Fri Nov 15 05:14:08 2013 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-# $NetBSD: hyphen.mk,v 1.3 2010/11/08 00:25:51 minskim Exp $
-#
-# This Makefile fragment is intended to be included by packages that
-# install TeX hyphenation pattens.  It updates format files at
-# (de)installation time.
-#
-# The following variable can be defined:
-#
-#    TEX_HYPHEN_DAT - A list of hyphenation entries for language.dat.
-#    TEX_HYPHEN_DEF - A list of hyphenation entries for language.def.
-#    TEX_HYPHEN_LUA - A list of hyphenation entries for language.dat.lua.
-#
-
-.if !defined(TEX_HYPHEN_MK)
-TEX_HYPHEN_MK=         # defined
-
-DEPENDS+=              texlive-tetex>=2010:../../print/texlive-tetex
-DEPENDS+=              tex-hyphen-base>=2010nb1:../../print/tex-hyphen-base
-
-EVAL_PREFIX+=          TETEX_PREFIX=texlive-tetex
-FILES_SUBST+=          FMTUTIL_SYS=${TETEX_PREFIX:Q}/bin/fmtutil-sys
-FILES_SUBST+=          HYPHEN_DAT=${TEX_HYPHEN_DAT:Q}
-FILES_SUBST+=          HYPHEN_DEF=${TEX_HYPHEN_DEF:Q}
-FILES_SUBST+=          HYPHEN_LUA=${TEX_HYPHEN_LUA:Q}
-INSTALL_TEMPLATES+=    ../../print/texlive-tetex/files/hyphen-install.tmpl
-DEINSTALL_TEMPLATES+=  ../../print/texlive-tetex/files/hyphen-deinstall.tmpl
-
-.endif # TEX_HYPHEN_MK



Home | Main Index | Thread Index | Old Index