aboutsummaryrefslogtreecommitdiff
path: root/print/teTeX-base
diff options
context:
space:
mode:
authorHiroki Sato <hrs@FreeBSD.org>2005-02-10 17:25:36 +0000
committerHiroki Sato <hrs@FreeBSD.org>2005-02-10 17:25:36 +0000
commite38510b0f64ac2bda90667e3e7bfb991ef5d9a8c (patch)
tree8756e0dde1aaba2c6c3ca93fe74d52557646b0bf /print/teTeX-base
parent71bad43f17174e28d825efe101311a81be692691 (diff)
downloadports-e38510b0f64ac2bda90667e3e7bfb991ef5d9a8c.tar.gz
ports-e38510b0f64ac2bda90667e3e7bfb991ef5d9a8c.zip
Notes
Diffstat (limited to 'print/teTeX-base')
-rw-r--r--print/teTeX-base/Makefile24
-rw-r--r--print/teTeX-base/pkg-plist28
2 files changed, 36 insertions, 16 deletions
diff --git a/print/teTeX-base/Makefile b/print/teTeX-base/Makefile
index 8e0592d9306c..9dee497846d9 100644
--- a/print/teTeX-base/Makefile
+++ b/print/teTeX-base/Makefile
@@ -7,7 +7,7 @@
PORTNAME= teTeX-base
PORTVERSION= 3.0
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= print
MASTER_SITES= ${MASTER_SITE_TEX_CTAN} \
ftp://ftp.ascii.co.jp/pub/TeX/ascii-ptex/dvips/:1
@@ -126,18 +126,36 @@ TEXMFDISTDIR= share/texmf-dist
TEXMFLOCALDIR= share/texmf-local
TEXMFLOCAL_LSR= ${LOCALBASE}/${TEXMFLOCALDIR}/ls-R
TEXMFVARDIR= share/texmf-var
-MKTEXLSR= ${LOCALBASE}/bin/mktexlsr
+MKTEXLSR= ${PREFIX}/bin/mktexlsr
+FMTUTIL_SYS= "${SETENV} PATH=${PATH}:${PREFIX}/bin TEXMFMAIN=${PREFIX}/${TEXMFDIR} ${PREFIX}/bin/fmtutil-sys"
+UPDMAP_SYS= "${SETENV} PATH=${PATH}:${PREFIX}/bin TEXMFMAIN=${PREFIX}/${TEXMFDIR} ${PREFIX}/bin/updmap-sys"
PLIST_SUB+= TEXMFDIR=${TEXMFDIR} \
TEXMFDISTDIR=${TEXMFDISTDIR} \
- TEXMFVARDIR=${TEXMFVARDIR}
+ TEXMFVARDIR=${TEXMFVARDIR} \
+ FMTUTIL_SYS=${FMTUTIL_SYS} \
+ UPDMAP_SYS=${UPDMAP_SYS}
PKGMESSAGE_SUB= TEXMFDIR=${TEXMFDIR} \
TEXMFDISTDIR=${TEXMFDISTDIR} \
PREFIX=${PREFIX}
+OLDCONFIG= web2c/texmf.cnf web2c/mktex.cnf web2c/fmtutil.cnf \
+ web2c/updmap.cfg \
+ xdvi/XDvi \
+ dvipdfm/config/config \
+ dvips/config/config.ps \
+ etex/plain/config/language.def \
+ tex/generic/config/language.dat \
+ tex/context/config/cont-usr.tex \
+ pdftex/config/pdftex.cfg
pre-install:
${SED} ${PKGMESSAGE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
< ${FILESDIR}/pkg-message.in > ${PKGMESSAGE}
+.for F in ${OLDCONFIG}
+ if [ -f ${PREFIX}/${TEXMFVARDIR}/${F} ]; then \
+ ${ECHO_CMD} "NOTICE: old config file ${F} has been removed.";\
+ fi
+.endfor
post-install:
${INSTALL_SCRIPT} ${WRKSRC}/utils/texinfo/util/texi2dvi ${PREFIX}/bin
diff --git a/print/teTeX-base/pkg-plist b/print/teTeX-base/pkg-plist
index bde3e760c040..d52956da040f 100644
--- a/print/teTeX-base/pkg-plist
+++ b/print/teTeX-base/pkg-plist
@@ -202,18 +202,21 @@ lib/libkpathsea.a
%%TEXMFDIR%%/texconfig/tcfmgr
%%TEXMFDIR%%/texconfig/tcfmgr.map
%%TEXMFDIR%%/release-tetex-src.txt
-%%TEXMFVARDIR%%/fonts/map/dvips/updmap/download35.map
-%%TEXMFVARDIR%%/fonts/map/dvips/updmap/builtin35.map
-%%TEXMFVARDIR%%/fonts/map/dvips/updmap/psfonts_t1.map
-%%TEXMFVARDIR%%/fonts/map/dvips/updmap/psfonts_pk.map
-%%TEXMFVARDIR%%/fonts/map/dvips/updmap/ps2pk.map
-%%TEXMFVARDIR%%/fonts/map/dvips/updmap/psfonts.map
-%%TEXMFVARDIR%%/fonts/map/pdftex/updmap/pdftex_dl14.map
-%%TEXMFVARDIR%%/fonts/map/pdftex/updmap/pdftex_ndl14.map
-%%TEXMFVARDIR%%/fonts/map/pdftex/updmap/pdftex.map
-%%TEXMFVARDIR%%/fonts/map/dvipdfm/updmap/dvipdfm_dl14.map
-%%TEXMFVARDIR%%/fonts/map/dvipdfm/updmap/dvipdfm_ndl14.map
-%%TEXMFVARDIR%%/fonts/map/dvipdfm/updmap/dvipdfm.map
+@exec %%UPDMAP_SYS%%
+@unexec rm -f %D/%%TEXMFVARDIR%%/fonts/map/dvips/updmap/download35.map
+@unexec rm -f %D/%%TEXMFVARDIR%%/fonts/map/dvips/updmap/builtin35.map
+@unexec rm -f %D/%%TEXMFVARDIR%%/fonts/map/dvips/updmap/psfonts_t1.map
+@unexec rm -f %D/%%TEXMFVARDIR%%/fonts/map/dvips/updmap/psfonts_pk.map
+@unexec rm -f %D/%%TEXMFVARDIR%%/fonts/map/dvips/updmap/ps2pk.map
+@unexec rm -f %D/%%TEXMFVARDIR%%/fonts/map/dvips/updmap/psfonts.map
+@unexec rm -f %D/%%TEXMFVARDIR%%/fonts/map/pdftex/updmap/pdftex_dl14.map
+@unexec rm -f %D/%%TEXMFVARDIR%%/fonts/map/pdftex/updmap/pdftex_ndl14.map
+@unexec rm -f %D/%%TEXMFVARDIR%%/fonts/map/pdftex/updmap/pdftex.map
+@unexec rm -f %D/%%TEXMFVARDIR%%/fonts/map/dvipdfm/updmap/dvipdfm_dl14.map
+@unexec rm -f %D/%%TEXMFVARDIR%%/fonts/map/dvipdfm/updmap/dvipdfm_ndl14.map
+@unexec rm -f %D/%%TEXMFVARDIR%%/fonts/map/dvipdfm/updmap/dvipdfm.map
+@unexec rm -f %D/%%TEXMFVARDIR%%/web2c/updmap.log
+@exec %%FMTUTIL_SYS%% --all
@unexec rm -f %D/%%TEXMFVARDIR%%/web2c/aleph.log
@unexec rm -f %D/%%TEXMFVARDIR%%/web2c/cont-en.log
@unexec rm -f %D/%%TEXMFVARDIR%%/web2c/etex.log
@@ -244,7 +247,6 @@ lib/libkpathsea.a
@unexec rm -f %D/%%TEXMFVARDIR%%/web2c/metafun.mem
@unexec rm -f %D/%%TEXMFVARDIR%%/web2c/mpost.mem
@unexec rm -f %D/%%TEXMFVARDIR%%/web2c/mf.base
-@unexec rm -f %D/%%TEXMFVARDIR%%/web2c/updmap.log
@dirrm include/kpathsea
@dirrm %%TEXMFDIR%%/texconfig/x
@dirrm %%TEXMFDIR%%/texconfig/v