diff options
author | sem <sem@FreeBSD.org> | 2005-06-06 18:59:26 +0800 |
---|---|---|
committer | sem <sem@FreeBSD.org> | 2005-06-06 18:59:26 +0800 |
commit | 1c2a81f93b599f60c8ff3655acfba556a863e6d2 (patch) | |
tree | 12415746ec9ec6b67cb70ec8696647f25bf6121a /russian/pscyr/files | |
parent | 98ffb308fac238a7fa6b146abb6864cb9b5c0d2b (diff) | |
download | freebsd-ports-gnome-1c2a81f93b599f60c8ff3655acfba556a863e6d2.tar.gz freebsd-ports-gnome-1c2a81f93b599f60c8ff3655acfba556a863e6d2.tar.zst freebsd-ports-gnome-1c2a81f93b599f60c8ff3655acfba556a863e6d2.zip |
- Follow the new teTeX structure
- perl -> USE_REINPLACE
PR: ports/77022
Submitted by: maintainer
Diffstat (limited to 'russian/pscyr/files')
-rw-r--r-- | russian/pscyr/files/patch-install.sh | 44 |
1 files changed, 30 insertions, 14 deletions
diff --git a/russian/pscyr/files/patch-install.sh b/russian/pscyr/files/patch-install.sh index 6eb4209fed8f..caae9729eeda 100644 --- a/russian/pscyr/files/patch-install.sh +++ b/russian/pscyr/files/patch-install.sh @@ -1,31 +1,47 @@ ---- install.sh Mon Mar 5 23:38:33 2001 -+++ install.sh Sat Jun 30 10:23:15 2001 -@@ -3,8 +3,10 @@ +--- install.sh.orig Fri Jun 22 14:20:56 2001 ++++ install.sh Wed Mar 23 17:45:52 2005 +@@ -3,27 +3,32 @@ # Before running the script, choose how you'll update the pscyr.map file # (see below). -TEXMF=`kpsewhich -expand-var='$TEXMFMAIN'` -mkdir -p $TEXMF/{tex/latex,fonts/tfm/public,fonts/vf/public,fonts/type1/public,fonts/afm/public,doc/fonts}/pscyr -+TEXMF=$1/share/texmf -+for idir in tex/latex fonts/tfm/public fonts/vf/public fonts/type1/public fonts/afm/public doc/fonts -+ do mkdir -p $TEXMF/$idir/pscyr +-mv dvips/base/* $TEXMF/dvips/base +-mv dvips/config/* $TEXMF/dvips/config +-mv tex/latex/pscyr/* $TEXMF/tex/latex/pscyr +-mv fonts/tfm/public/pscyr/* $TEXMF/fonts/tfm/public/pscyr +-mv fonts/vf/public/pscyr/* $TEXMF/fonts/vf/public/pscyr +-mv fonts/type1/public/pscyr/* $TEXMF/fonts/type1/public/pscyr +-mv fonts/afm/public/pscyr/* $TEXMF/fonts/afm/public/pscyr +-mv LICENSE doc/README.koi doc/PROBLEMS $TEXMF/doc/fonts/pscyr ++for idir in tex/latex fonts/tfm/public fonts/vf/public \ ++ fonts/type1/public fonts/afm/public \ ++ fonts/enc/dvips fonts/map/dvips fonts/map/dvipdfm doc/fonts ++ do mkdir -p ${TEXMFDIR}/$idir/pscyr +done - mv dvips/base/* $TEXMF/dvips/base - mv dvips/config/* $TEXMF/dvips/config - mv tex/latex/pscyr/* $TEXMF/tex/latex/pscyr -@@ -14,8 +16,8 @@ - mv fonts/afm/public/pscyr/* $TEXMF/fonts/afm/public/pscyr - mv LICENSE doc/README.koi $TEXMF/doc/fonts/pscyr -VARTEXFONTS=`kpsewhich -expand-var='$VARTEXFONTS'` -rm -f $VARTEXFONTS/pk/modeless/public/pscyr/* ++${BSD_INSTALL_DATA} dvips/base/t2a.enc ${TEXMFDIR}/fonts/enc/dvips/pscyr ++${BSD_INSTALL_DATA} dvips/config/pscyr.map ${TEXMFDIR}/fonts/map/dvips/pscyr ++${BSD_INSTALL_DATA} dvipdfm/base/pscyr2.map ${TEXMFDIR}/fonts/map/dvipdfm/pscyr ++${BSD_INSTALL_DATA} tex/latex/pscyr/* ${TEXMFDIR}/tex/latex/pscyr ++${BSD_INSTALL_DATA} fonts/tfm/public/pscyr/* ${TEXMFDIR}/fonts/tfm/public/pscyr ++${BSD_INSTALL_DATA} fonts/vf/public/pscyr/* ${TEXMFDIR}/fonts/vf/public/pscyr ++${BSD_INSTALL_DATA} fonts/type1/public/pscyr/* ${TEXMFDIR}/fonts/type1/public/pscyr ++${BSD_INSTALL_DATA} fonts/afm/public/pscyr/* ${TEXMFDIR}/fonts/afm/public/pscyr ++${BSD_INSTALL_DATA} LICENSE doc/README.koi doc/PROBLEMS ${TEXMFDIR}/doc/fonts/pscyr ++ +#VARTEXFONTS=`kpsewhich -expand-var='$VARTEXFONTS'` +#rm -f $VARTEXFONTS/pk/modeless/public/pscyr/* # Next, we need to update psfonts.map. The simplest (but not the best) # method is to uncomment the following two lines. A better solution is -@@ -25,5 +27,5 @@ - #cd $TEXMF/dvips/config + # to add the line "pscyr.map" to the extra_module section of updmap script + # and then run it. + # +-#cd $TEXMF/dvips/config ++#cd ${TEXMFDIR}/dvips/config #cat pscyr.map >> psfonts.map -mktexlsr |