diff options
-rw-r--r-- | UPDATING | 17 | ||||
-rw-r--r-- | devel/tex-kpathsea/Makefile | 17 | ||||
-rw-r--r-- | devel/tex-kpathsea/pkg-plist | 8 | ||||
-rw-r--r-- | print/texlive-base/Makefile | 3 | ||||
-rw-r--r-- | print/texlive-base/files/patch-texk-texlive-tl_scripts-Makefile.in | 42 | ||||
-rw-r--r-- | print/texlive-base/pkg-plist | 10 |
6 files changed, 81 insertions, 16 deletions
@@ -5,6 +5,23 @@ they are unavoidable. You should get into the habit of checking this file for changes each time you update your ports collection, before attempting any port upgrades. +20141214: + AFFECTS: users of TeXLive + AUTHOR: hrs@FreeBSD.org + + Several scripts in print/texlive-base have been moved to + devel/tex-kpathsea. Upgrading them can fail because texlive-base + depends on tex-kpathsea, and the new tex-kpathsea tries to install + files which were installed by the old texlive-base. The following + error message indicates this situation: + + pkg-static: tex-kpathsea-6.2.0_1 conflicts with texlive-base-20140525_3 (installs files into the same place). Problematic file: /usr/local/bin/kpsewhere + + To solve this problem, remove both of tex-kpathsea and texlive-base first + and install the new versions: + + # pkg delete -f tex-kpathsea texlive-base + 20141209: AFFECTS: users of emulators/linux_base-f10 and emulators/linux_base-c6 AUTHOR: xmj@freebsd.org diff --git a/devel/tex-kpathsea/Makefile b/devel/tex-kpathsea/Makefile index 36857fb28e0d..dff13e61eeec 100644 --- a/devel/tex-kpathsea/Makefile +++ b/devel/tex-kpathsea/Makefile @@ -2,6 +2,7 @@ PORTNAME= kpathsea PORTVERSION= 6.2.0 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ftp://tug.org/historic/systems/texlive/2014/ PKGNAMEPREFIX= tex- @@ -16,10 +17,24 @@ USE_LDCONFIG= yes USE_TEX= yes EXTRACT_AFTER_ARGS= ${EXTRACT_FILES} EXTRACT_FILES= ${DISTNAME}/build-aux \ - ${DISTNAME}/texk/kpathsea + ${DISTNAME}/texk/kpathsea \ + ${DISTNAME}/texk/texlive/tl_scripts WRKSRC= ${WRKDIR}/${DISTNAME}/texk/kpathsea GNU_CONFIGURE= yes +INSTALL_TARGET= install-strip INFO= kpathsea +post-install: + cd ${WRKDIR}/${DISTNAME}/texk/texlive/tl_scripts && \ + for f in kpsetool kpsewhere; do \ + ${INSTALL_SCRIPT} $${f}.sh ${STAGEDIR}${PREFIX}/bin/$$f; \ + ${INSTALL_MAN} $${f}.1 \ + ${STAGEDIR}${MANPREFIX}/man/man1/$${f}.1; \ + done; \ + for l in kpsexpand kpsepath; do \ + ${LN} -sf kpsetool ${STAGEDIR}${PREFIX}/bin/$$l; \ + ${LN} -sf kpsetool.1 ${STAGEDIR}${MANPREFIX}/man/man1/$${l}.1; \ + done + .include <bsd.port.mk> diff --git a/devel/tex-kpathsea/pkg-plist b/devel/tex-kpathsea/pkg-plist index 4f8c221b264c..6ec34d859ce3 100644 --- a/devel/tex-kpathsea/pkg-plist +++ b/devel/tex-kpathsea/pkg-plist @@ -7,6 +7,10 @@ bin/mktexmf bin/mktexpk bin/mktextfm bin/texhash +bin/kpsewhere +bin/kpsetool +bin/kpsexpand +bin/kpsepath include/kpathsea/absolute.h include/kpathsea/c-auto.h include/kpathsea/c-ctype.h @@ -57,6 +61,10 @@ man/man1/kpseaccess.1.gz man/man1/kpsereadlink.1.gz man/man1/kpsestat.1.gz man/man1/kpsewhich.1.gz +man/man1/kpsepath.1.gz +man/man1/kpsetool.1.gz +man/man1/kpsewhere.1.gz +man/man1/kpsexpand.1.gz man/man1/mktexlsr.1.gz man/man1/mktexmf.1.gz man/man1/mktexpk.1.gz diff --git a/print/texlive-base/Makefile b/print/texlive-base/Makefile index c31b645a604e..39d5f2a3faf9 100644 --- a/print/texlive-base/Makefile +++ b/print/texlive-base/Makefile @@ -2,7 +2,7 @@ PORTNAME= texlive PORTVERSION= 20140525 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= print MASTER_SITES= ftp://tug.org/historic/systems/texlive/2014/ PKGNAMESUFFIX= -base @@ -114,6 +114,7 @@ CFLAGS+= -I${LOCALBASE}/include \ -I${LOCALBASE}/include/kpathsea \ -I${LOCALBASE}/include/ptexenc PLIST_SUB= INSTALL_DATA="${INSTALL_DATA}" +INSTALL_TARGET= install-strip SHEBANG_FILES= texk/texlive/linked_scripts/a2ping/a2ping.pl \ texk/texlive/linked_scripts/accfonts/mkt1font \ diff --git a/print/texlive-base/files/patch-texk-texlive-tl_scripts-Makefile.in b/print/texlive-base/files/patch-texk-texlive-tl_scripts-Makefile.in index 106356771edd..6824fff91322 100644 --- a/print/texlive-base/files/patch-texk-texlive-tl_scripts-Makefile.in +++ b/print/texlive-base/files/patch-texk-texlive-tl_scripts-Makefile.in @@ -1,5 +1,5 @@ ---- ./texk/texlive/tl_scripts/Makefile.in.orig 2013-12-26 00:37:50.000000000 +0900 -+++ ./texk/texlive/tl_scripts/Makefile.in 2014-08-20 23:57:06.000000000 +0900 +--- texk/texlive/tl_scripts/Makefile.in.orig 2013-12-26 00:37:50.000000000 +0900 ++++ texk/texlive/tl_scripts/Makefile.in 2014-12-15 00:41:48.000000000 +0900 @@ -121,10 +121,9 @@ || { echo " ( cd '$$dir' && rm -f" $$files ")"; \ $(am__cd) "$$dir" && rm -f $$files; }; \ @@ -13,7 +13,41 @@ SCRIPTS = $(dist_texconfig_SCRIPTS) $(dist_texmf_SCRIPTS) \ $(nodist_bin_SCRIPTS) AM_V_P = $(am__v_P_@AM_V@) -@@ -627,7 +626,7 @@ +@@ -253,8 +252,6 @@ + dvired \ + fmtutil \ + fontinst \ +- kpsetool \ +- kpsewhere \ + ps2frag \ + pslatex \ + rubibtex \ +@@ -283,8 +280,6 @@ + fmtutil.1 \ + fmtutil.cnf.5 \ + fontinst.1 \ +- kpsetool.1 \ +- kpsewhere.1 \ + ps2frag.1 \ + pslatex.1 \ + rubibtex.1 \ +@@ -296,14 +291,10 @@ + + bin_links = \ + allcm:allec \ +- fmtutil:mktexfmt \ +- kpsetool:kpsexpand \ +- kpsetool:kpsepath ++ fmtutil:mktexfmt + + man1_links = \ + fmtutil:fmtutil-sys \ +- kpsetool:kpsexpand \ +- kpsetool:kpsepath \ + fmtutil:mktexfmt \ + texconfig:texconfig-sys \ + updmap:updmap-sys +@@ -627,7 +618,7 @@ check: check-am all-am: Makefile $(SCRIPTS) $(MANS) $(DATA) all-local installdirs: @@ -22,7 +56,7 @@ test -z "$$dir" || $(MKDIR_P) "$$dir"; \ done install: install-am -@@ -681,8 +680,8 @@ +@@ -681,8 +672,8 @@ info-am: diff --git a/print/texlive-base/pkg-plist b/print/texlive-base/pkg-plist index 1158ef03d8c9..0d7efdff8594 100644 --- a/print/texlive-base/pkg-plist +++ b/print/texlive-base/pkg-plist @@ -99,10 +99,6 @@ bin/kanji-config-updmap bin/kanji-config-updmap-sys bin/kanji-fontmap-creator bin/komkindex -bin/kpsepath -bin/kpsetool -bin/kpsewhere -bin/kpsexpand bin/lacheck bin/latex-git-log bin/latex2man @@ -283,10 +279,6 @@ man/man1/fmtutil.1.gz man/man1/fontinst.1.gz man/man1/gsftopk.1.gz man/man1/hbf2gf.1.gz -man/man1/kpsepath.1.gz -man/man1/kpsetool.1.gz -man/man1/kpsewhere.1.gz -man/man1/kpsexpand.1.gz man/man1/lacheck.1.gz man/man1/mag.1.gz man/man1/makeindex.1.gz @@ -471,8 +463,6 @@ man/man5/updmap.cfg.5.gz %%TEXMFDISTDIR%%/scripts/texlive/fmtutil-sys.sh %%TEXMFDISTDIR%%/scripts/texlive/fmtutil.sh %%TEXMFDISTDIR%%/scripts/texlive/fontinst.sh -%%TEXMFDISTDIR%%/scripts/texlive/kpsetool.sh -%%TEXMFDISTDIR%%/scripts/texlive/kpsewhere.sh %%TEXMFDISTDIR%%/scripts/texlive/ps2frag.sh %%TEXMFDISTDIR%%/scripts/texlive/pslatex.sh %%TEXMFDISTDIR%%/scripts/texlive/rubibtex.sh |